audioChannelPositionsToValidOrder

Reorders the channel positions in position from any order to the GStreamer channel order.

bool
audioChannelPositionsToValidOrder

Parameters

position gstaudio.types.AudioChannelPosition[]

The channel positions to reorder to.

Return Value

Type: bool

true if the channel positions are valid and reordering was successful.