Reorders data from the channel positions from to the channel
positions to. from and to must contain the same number of
positions and the same positions, only in a different order.
This function internally calls gst_audio_get_channel_reorder_map() and
gst_audio_reorder_channels_with_reorder_map(). It is more efficient to call
gst_audio_get_channel_reorder_map() once to retrieve the reorder map and
then call gst_audio_reorder_channels_with_reorder_map() with the same
reorder map until the channel positions change.
Note: this function assumes the audio data is in interleaved layout
Reorders
datafrom the channel positionsfromto the channel positionsto.fromandtomust contain the same number of positions and the same positions, only in a different order.This function internally calls
gst_audio_get_channel_reorder_map()andgst_audio_reorder_channels_with_reorder_map(). It is more efficient to callgst_audio_get_channel_reorder_map()once to retrieve the reorder map and then callgst_audio_reorder_channels_with_reorder_map()with the same reorder map until the channel positions change.Note: this function assumes the audio data is in interleaved layout