audioChannelPositionsToValidOrder

fnbool audioChannelPositionsToValidOrder(gstaudio.types.AudioChannelPosition[] position)

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

Parameters

positionThe channel positions to reorder to.

Returns

true if the channel positions are valid and reordering

was successful.