audioCheckValidChannelPositions

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.

bool
audioCheckValidChannelPositions

Parameters

position gstaudio.types.AudioChannelPosition[]

The GstAudioChannelPositions to check.

forceOrder bool

Only consider the GStreamer channel order.

Return Value

Type: bool

true if the channel positions are valid.