audio_channel_positions_to_mask


Description:

[ CCode ( cname = "gst_audio_channel_positions_to_mask" ) ]
public bool audio_channel_positions_to_mask (ChannelPosition[] position, bool force_order, out uint64 channel_mask)

Convert the position array of position.length channels to a bitmask.

If force_order is true it additionally checks if the channels are in the order required by GStreamer.

Parameters:

position

The ChannelPositions

force_order

Only consider the GStreamer channel order.

channel_mask

the output channel mask

channels

The number of channels.

Returns:

true if the channel positions are valid and could be converted.


Namespace: Gst.Audio