Function

GstAudio-1.0GstAudioaudio_check_valid_channel_positions

  • 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.

    Parameters

    • position: GstAudio.AudioChannelPosition[]

      The %GstAudioChannelPositions to check.

    • force_order: boolean

      Only consider the GStreamer channel order.

    Returns boolean

    true if the channel positions are valid.