Function

GstAudio-1.0GstAudioaudio_format_build_integer

  • Construct a GstAudio.AudioFormat with given parameters.

    Parameters

    • sign: boolean

      signed or unsigned format

    • endianness: number

      G_LITTLE_ENDIAN or G_BIG_ENDIAN

    • width: number

      amount of bits used per sample

    • depth: number

      amount of used bits in width

    Returns GstAudio.AudioFormat

    a GstAudio.AudioFormat or GST_AUDIO_FORMAT_UNKNOWN when no audio format exists with the given parameters.