[ CCode ( cname = "gst_audio_channel_positions_from_mask" ) ]
public bool audio_channel_positions_from_mask (uint64 channel_mask, ChannelPosition[] position)
Convert the position.length
present in channel_mask
to a position
array (which should have at
least position.length
entries ensured by caller).
If channel_mask
is set to 0, it is considered as 'not present' for purpose of conversion. A partially valid
channel_mask
with less bits set than the number of channels is considered valid.
channel_mask |
The input channel_mask |
position |
The ChannelPositions |
channels |
The number of channels |
|