Page 1 of 1

Supersource GetInverse

PostPosted: Sun Mar 26, 2017 2:22 am
by Ian Morrish
I have just implemented Supersource capability in c# but have one small issue.
GetInverse says "Argument 1 must be passed with the 'ref' keyword". SDK doesn't specify this (7.0.2). Every other get works fine using "out". Why does this one require "ref".

public int Inverse
{
get
{
superSource.GetInverse(out _inverse); //-- red error under _inverse
return _inverse;
}
set
{
superSource.SetInverse(value);
}
}

Re: Supersource GetInverse

PostPosted: Thu Mar 30, 2017 1:08 am
by Waqqas Sharif
Hello Ian,

Thank you for reporting the inconsistency in the Blackmagic Switchers SDK.

This inconsistency has been confirmed and will be addressed in the future release of the Blackmagic Switchers SDK.

Regards
Waqqas

Re: Supersource GetInverse

PostPosted: Sat May 27, 2017 8:19 am
by Ian Morrish
Thanks, looks like these were fixed in 7.1
- IBMDSwitcherTransitionDVEParameters
Direction of mask parameter in GetFillInputAvailabilityMask and GetCutInputAvailabilityMask methods is now correctly marked as out.

- IBMDSwitcherSuperSourceBox
Direction of the mask parameter in GetInputAvailabilityMask method is now correctly declared as out.

- IBMDSwitcherInputSuperSource
Direction of the mask parameter in GetCutInputAvailabilityMask and GetFillInputAvailabilityMask methods is now correctly declared as out.
Direction of the inverse parameter in GetInverse method is now correctly declared as out.

- IBMDSwitcherDownstreamKey
Direction of the inverse parameter in GetInverse method is now correctly declared as out.