Function

GstAudio-1.0GstAudioaudio_channel_positions_to_mask

  • Convert the position array of channels channels to a bitmask.

    If force_order is true it additionally checks if the channels are in the order required by GStreamer.

    Parameters

    Returns [boolean, number]

    true if the channel positions are valid and could be converted.