Function

GstAudio-1.0GstAudioaudio_reorder_channels_with_reorder_mapSince 1.26

  • Reorders data with the given reorder_map.

    The reorder map can be retrieved for example with gst_audio_get_channel_reorder_map().

    Note: this function assumes the audio data is in interleaved layout

    Parameters

    • data: string | Uint8Array<ArrayBufferLike>

      The pointer to the memory.

    • bps: number

      The number of bytes per sample.

    • reorder_map: number[]

      The channel reorder map.

    Returns void

    1.26