audio_check_valid_channel_positions


Description:

[ CCode ( cname = "gst_audio_check_valid_channel_positions" ) ]
public bool audio_check_valid_channel_positions (ChannelPosition[] position, bool force_order)

Checks if position contains valid channel positions for position.length channels.

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

Parameters:

position

The ChannelPositions to check.

force_order

Only consider the GStreamer channel order.

channels

The number of channels.

Returns:

true if the channel positions are valid.


Namespace: Gst.Audio