audioCheckValidChannelPositions
fn
bool audioCheckValidChannelPositions(gstaudio.types.AudioChannelPosition[] position, bool forceOrder)Checks if position contains valid channel positions for channels channels. If force_order is true it additionally checks if the channels are in the order required by GStreamer.
Parameters
position | The GstAudioChannelPositions to check. |
forceOrder | Only consider the GStreamer channel order. |
Returns
true if the channel positions are valid.