<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:doc="http://www.gtk.org/introspection/doc/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="GLib" version="2.0"/>
  <include name="GModule" version="2.0"/>
  <include name="GObject" version="2.0"/>
  <include name="Gst" version="1.0"/>
  <include name="GstBase" version="1.0"/>
  <package name="gstreamer-audio-1.0"/>
  <c:include name="gst/audio/audio.h"/>
  <doc:format name="unknown"/>
  <namespace name="GstAudio"
             version="1.0"
             shared-library="libgstaudio-1.0-0.dll"
             c:identifier-prefixes="Gst"
             c:symbol-prefixes="gst">
    <function-macro name="AUDIO_AGGREGATOR"
                    c:identifier="GST_AUDIO_AGGREGATOR"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="163"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_AGGREGATOR_CLASS"
                    c:identifier="GST_AUDIO_AGGREGATOR_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="164"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_AGGREGATOR_CONVERT_PAD"
                    c:identifier="GST_AUDIO_AGGREGATOR_CONVERT_PAD"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="109"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_AGGREGATOR_CONVERT_PAD_CLASS"
                    c:identifier="GST_AUDIO_AGGREGATOR_CONVERT_PAD_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="110"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_AGGREGATOR_CONVERT_PAD_GET_CLASS"
                    c:identifier="GST_AUDIO_AGGREGATOR_CONVERT_PAD_GET_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="111"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_AGGREGATOR_GET_CLASS"
                    c:identifier="GST_AUDIO_AGGREGATOR_GET_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="165"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_AGGREGATOR_PAD"
                    c:identifier="GST_AUDIO_AGGREGATOR_PAD"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="46"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_AGGREGATOR_PAD_CLASS"
                    c:identifier="GST_AUDIO_AGGREGATOR_PAD_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="47"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_AGGREGATOR_PAD_GET_CLASS"
                    c:identifier="GST_AUDIO_AGGREGATOR_PAD_GET_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="48"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BASE_SINK"
                    c:identifier="GST_AUDIO_BASE_SINK"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                       line="61"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BASE_SINK_CAST"
                    c:identifier="GST_AUDIO_BASE_SINK_CAST"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                       line="62"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BASE_SINK_CLASS"
                    c:identifier="GST_AUDIO_BASE_SINK_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                       line="63"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BASE_SINK_CLOCK"
                    c:identifier="GST_AUDIO_BASE_SINK_CLOCK"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiobasesink.h"
           line="68">Get the #GstClock of @obj.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                       line="74"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesink.h"
               line="70">a #GstAudioBaseSink</doc>
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BASE_SINK_GET_CLASS"
                    c:identifier="GST_AUDIO_BASE_SINK_GET_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                       line="64"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BASE_SINK_PAD"
                    c:identifier="GST_AUDIO_BASE_SINK_PAD"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiobasesink.h"
           line="75">Get the sink #GstPad of @obj.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                       line="81"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesink.h"
               line="77">a #GstAudioBaseSink</doc>
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BASE_SRC"
                    c:identifier="GST_AUDIO_BASE_SRC"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiobasesrc.h"
                       line="39"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BASE_SRC_CAST"
                    c:identifier="GST_AUDIO_BASE_SRC_CAST"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiobasesrc.h"
                       line="40"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BASE_SRC_CLASS"
                    c:identifier="GST_AUDIO_BASE_SRC_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiobasesrc.h"
                       line="41"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BASE_SRC_CLOCK"
                    c:identifier="GST_AUDIO_BASE_SRC_CLOCK"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiobasesrc.h"
           line="46">Get the #GstClock of @obj.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiobasesrc.h"
                       line="52"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesrc.h"
               line="48">a #GstAudioBaseSrc</doc>
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BASE_SRC_GET_CLASS"
                    c:identifier="GST_AUDIO_BASE_SRC_GET_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiobasesrc.h"
                       line="42"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BASE_SRC_PAD"
                    c:identifier="GST_AUDIO_BASE_SRC_PAD"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiobasesrc.h"
           line="53">Get the source #GstPad of @obj.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiobasesrc.h"
                       line="59"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesrc.h"
               line="55">a #GstAudioBaseSrc</doc>
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BUFFER_BPF"
                    c:identifier="GST_AUDIO_BUFFER_BPF"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-buffer.h" line="93"/>
      <parameters>
        <parameter name="b">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BUFFER_BPS"
                    c:identifier="GST_AUDIO_BUFFER_BPS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-buffer.h" line="92"/>
      <parameters>
        <parameter name="b">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BUFFER_CHANNELS"
                    c:identifier="GST_AUDIO_BUFFER_CHANNELS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-buffer.h" line="85"/>
      <parameters>
        <parameter name="b">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BUFFER_DEPTH"
                    c:identifier="GST_AUDIO_BUFFER_DEPTH"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-buffer.h" line="90"/>
      <parameters>
        <parameter name="b">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BUFFER_FORMAT"
                    c:identifier="GST_AUDIO_BUFFER_FORMAT"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-buffer.h" line="84"/>
      <parameters>
        <parameter name="b">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BUFFER_LAYOUT"
                    c:identifier="GST_AUDIO_BUFFER_LAYOUT"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-buffer.h" line="86"/>
      <parameters>
        <parameter name="b">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BUFFER_N_PLANES"
                    c:identifier="GST_AUDIO_BUFFER_N_PLANES"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-buffer.h" line="96"/>
      <parameters>
        <parameter name="b">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BUFFER_N_SAMPLES"
                    c:identifier="GST_AUDIO_BUFFER_N_SAMPLES"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-buffer.h" line="95"/>
      <parameters>
        <parameter name="b">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BUFFER_PLANE_DATA"
                    c:identifier="GST_AUDIO_BUFFER_PLANE_DATA"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-buffer.h" line="97"/>
      <parameters>
        <parameter name="b">
        </parameter>
        <parameter name="p">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BUFFER_PLANE_SIZE"
                    c:identifier="GST_AUDIO_BUFFER_PLANE_SIZE"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-buffer.h"
                       line="100"/>
      <parameters>
        <parameter name="b">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BUFFER_RATE"
                    c:identifier="GST_AUDIO_BUFFER_RATE"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-buffer.h" line="87"/>
      <parameters>
        <parameter name="b">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BUFFER_SAMPLE_STRIDE"
                    c:identifier="GST_AUDIO_BUFFER_SAMPLE_STRIDE"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-buffer.h" line="91"/>
      <parameters>
        <parameter name="b">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_BUFFER_WIDTH"
                    c:identifier="GST_AUDIO_BUFFER_WIDTH"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-buffer.h" line="89"/>
      <parameters>
        <parameter name="b">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_CAPS_MAKE"
                    c:identifier="GST_AUDIO_CAPS_MAKE"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.h"
           line="442">Generic caps string for audio, for use in pad templates.</doc>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="433"/>
      <parameters>
        <parameter name="format">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.h"
               line="444">string format that describes the sample layout, as string
    (e.g. "S16LE", "S8", etc.)</doc>
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_CD_SRC"
                    c:identifier="GST_AUDIO_CD_SRC"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiocdsrc.h"
                       line="33"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_CD_SRC_CLASS"
                    c:identifier="GST_AUDIO_CD_SRC_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiocdsrc.h"
                       line="34"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_CD_SRC_GET_CLASS"
                    c:identifier="GST_AUDIO_CD_SRC_GET_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiocdsrc.h"
                       line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <constant name="AUDIO_CHANNELS_RANGE"
              value="(int) [ 1, max ]"
              c:type="GST_AUDIO_CHANNELS_RANGE">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.h"
           line="379">Maximum range of allowed channels, for use in template caps strings.</doc>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="384"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <function-macro name="AUDIO_CHANNEL_POSITION_MASK"
                    c:identifier="GST_AUDIO_CHANNEL_POSITION_MASK"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-channels.h"
                       line="154"/>
      <parameters>
        <parameter name="pos">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_CLOCK"
                    c:identifier="GST_AUDIO_CLOCK"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioclock.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_CLOCK_CAST"
                    c:identifier="GST_AUDIO_CLOCK_CAST"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioclock.h"
                       line="44"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_CLOCK_CLASS"
                    c:identifier="GST_AUDIO_CLOCK_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioclock.h"
                       line="38"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <constant name="AUDIO_CONVERTER_OPT_DITHER_METHOD"
              value="GstAudioConverter.dither-method"
              c:type="GST_AUDIO_CONVERTER_OPT_DITHER_METHOD">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-converter.h"
           line="49">#GstAudioDitherMethod, The dither method to use when
changing bit depth.
Default is #GST_AUDIO_DITHER_NONE.</doc>
      <source-position filename="gst-libs/gst/audio/audio-converter.h"
                       line="56"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="AUDIO_CONVERTER_OPT_DITHER_THRESHOLD"
              value="GstAudioConverter.dither-threshold"
              c:type="GST_AUDIO_CONVERTER_OPT_DITHER_THRESHOLD"
              version="1.22">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-converter.h"
           line="109">Threshold for the output bit depth at/below which to apply dithering.

Default is 20 bit.</doc>
      <source-position filename="gst-libs/gst/audio/audio-converter.h"
                       line="118"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="AUDIO_CONVERTER_OPT_MIX_MATRIX"
              value="GstAudioConverter.mix-matrix"
              c:type="GST_AUDIO_CONVERTER_OPT_MIX_MATRIX">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-converter.h"
           line="76">#GST_TYPE_LIST, The channel mapping matrix.

The matrix coefficients must be between -1 and 1: the number of rows is equal
to the number of output channels and the number of columns is equal to the
number of input channels.

## Example matrix generation code
To generate the matrix using code:

|[
GValue v = G_VALUE_INIT;
GValue v2 = G_VALUE_INIT;
GValue v3 = G_VALUE_INIT;

g_value_init (&amp;v2, GST_TYPE_ARRAY);
g_value_init (&amp;v3, G_TYPE_DOUBLE);
g_value_set_double (&amp;v3, 1);
gst_value_array_append_value (&amp;v2, &amp;v3);
g_value_unset (&amp;v3);
[ Repeat for as many double as your input channels - unset and reinit v3 ]
g_value_init (&amp;v, GST_TYPE_ARRAY);
gst_value_array_append_value (&amp;v, &amp;v2);
g_value_unset (&amp;v2);
[ Repeat for as many v2's as your output channels - unset and reinit v2]
g_object_set_property (G_OBJECT (audiomixmatrix), "matrix", &amp;v);
g_value_unset (&amp;v);
]|</doc>
      <source-position filename="gst-libs/gst/audio/audio-converter.h"
                       line="107"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="AUDIO_CONVERTER_OPT_NOISE_SHAPING_METHOD"
              value="GstAudioConverter.noise-shaping-method"
              c:type="GST_AUDIO_CONVERTER_OPT_NOISE_SHAPING_METHOD">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-converter.h"
           line="58">#GstAudioNoiseShapingMethod, The noise shaping method to use
to mask noise from quantization errors.
Default is #GST_AUDIO_NOISE_SHAPING_NONE.</doc>
      <source-position filename="gst-libs/gst/audio/audio-converter.h"
                       line="65"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="AUDIO_CONVERTER_OPT_QUANTIZATION"
              value="GstAudioConverter.quantization"
              c:type="GST_AUDIO_CONVERTER_OPT_QUANTIZATION">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-converter.h"
           line="67">#G_TYPE_UINT, The quantization amount. Components will be
quantized to multiples of this value.
Default is 1</doc>
      <source-position filename="gst-libs/gst/audio/audio-converter.h"
                       line="74"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="AUDIO_CONVERTER_OPT_RESAMPLER_METHOD"
              value="GstAudioConverter.resampler-method"
              c:type="GST_AUDIO_CONVERTER_OPT_RESAMPLER_METHOD">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-converter.h"
           line="40">#GstAudioResamplerMethod, The resampler method to use when
changing sample rates.
Default is #GST_AUDIO_RESAMPLER_METHOD_BLACKMAN_NUTTALL.</doc>
      <source-position filename="gst-libs/gst/audio/audio-converter.h"
                       line="47"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <function-macro name="AUDIO_DECODER"
                    c:identifier="GST_AUDIO_DECODER"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                       line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_DECODER_CAST"
                    c:identifier="GST_AUDIO_DECODER_CAST"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                       line="47"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_DECODER_CLASS"
                    c:identifier="GST_AUDIO_DECODER_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                       line="39"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_DECODER_ERROR"
                    c:identifier="GST_AUDIO_DECODER_ERROR"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiodecoder.h"
           line="113">Utility function that audio decoder elements can use in case they encountered
a data processing error that may be fatal for the current "data unit" but
need not prevent subsequent decoding.  Such errors are counted and if there
are too many, as configured in the context's max_errors, the pipeline will
post an error message and the application will be requested to stop further
media processing.  Otherwise, it is considered a "glitch" and only a warning
is logged. In either case, @ret is set to the proper value to
return to upstream/caller (indicating either GST_FLOW_ERROR or GST_FLOW_OK).</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                       line="133"/>
      <parameters>
        <parameter name="el">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.h"
               line="115">the base audio decoder element that generates the error</doc>
        </parameter>
        <parameter name="weight">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.h"
               line="116">element defined weight of the error, added to error count</doc>
        </parameter>
        <parameter name="domain">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.h"
               line="117">like CORE, LIBRARY, RESOURCE or STREAM (see #gstreamer-GstGError)</doc>
        </parameter>
        <parameter name="code">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.h"
               line="118">error code defined for that domain (see #gstreamer-GstGError)</doc>
        </parameter>
        <parameter name="text">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.h"
               line="119">the message to display (format string and args enclosed in
         parentheses)</doc>
        </parameter>
        <parameter name="debug">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.h"
               line="121">debugging information for the message (format string and args
         enclosed in parentheses)</doc>
        </parameter>
        <parameter name="ret">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.h"
               line="123">variable to receive return value</doc>
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_DECODER_GET_CLASS"
                    c:identifier="GST_AUDIO_DECODER_GET_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                       line="41"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_DECODER_INPUT_SEGMENT"
                    c:identifier="GST_AUDIO_DECODER_INPUT_SEGMENT"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiodecoder.h"
           line="83">Gives the input segment of the element.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                       line="88"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.h"
               line="85">audio decoder instance</doc>
        </parameter>
      </parameters>
    </function-macro>
    <constant name="AUDIO_DECODER_MAX_ERRORS"
              value="-1"
              c:type="GST_AUDIO_DECODER_MAX_ERRORS">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiodecoder.h"
           line="145">Default maximum number of errors tolerated before signaling error.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                       line="149"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <function-macro name="AUDIO_DECODER_OUTPUT_SEGMENT"
                    c:identifier="GST_AUDIO_DECODER_OUTPUT_SEGMENT"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiodecoder.h"
           line="91">Gives the output segment of the element.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                       line="96"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.h"
               line="93">audio decoder instance</doc>
        </parameter>
      </parameters>
    </function-macro>
    <constant name="AUDIO_DECODER_SINK_NAME"
              value="sink"
              c:type="GST_AUDIO_DECODER_SINK_NAME">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiodecoder.h"
           line="51">The name of the templates for the sink pad.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                       line="55"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <function-macro name="AUDIO_DECODER_SINK_PAD"
                    c:identifier="GST_AUDIO_DECODER_SINK_PAD"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiodecoder.h"
           line="72">Gives the pointer to the sink #GstPad object of the element.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                       line="77"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.h"
               line="74">base audio codec instance</doc>
        </parameter>
      </parameters>
    </function-macro>
    <constant name="AUDIO_DECODER_SRC_NAME"
              value="src"
              c:type="GST_AUDIO_DECODER_SRC_NAME">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiodecoder.h"
           line="57">The name of the templates for the source pad.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                       line="61"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <function-macro name="AUDIO_DECODER_SRC_PAD"
                    c:identifier="GST_AUDIO_DECODER_SRC_PAD"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiodecoder.h"
           line="64">Gives the pointer to the source #GstPad object of the element.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                       line="69"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.h"
               line="66">base audio codec instance</doc>
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_DECODER_STREAM_LOCK"
                    c:identifier="GST_AUDIO_DECODER_STREAM_LOCK"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                       line="79"/>
      <parameters>
        <parameter name="dec">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_DECODER_STREAM_UNLOCK"
                    c:identifier="GST_AUDIO_DECODER_STREAM_UNLOCK"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                       line="80"/>
      <parameters>
        <parameter name="dec">
        </parameter>
      </parameters>
    </function-macro>
    <constant name="AUDIO_DEF_CHANNELS"
              value="2"
              c:type="GST_AUDIO_DEF_CHANNELS">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.h"
           line="461">Standard number of channels used in consumer audio.</doc>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="450"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="AUDIO_DEF_FORMAT"
              value="S16LE"
              c:type="GST_AUDIO_DEF_FORMAT">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.h"
           line="467">Standard format used in consumer audio.</doc>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="456"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="AUDIO_DEF_RATE" value="44100" c:type="GST_AUDIO_DEF_RATE">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.h"
           line="455">Standard sampling rate used in consumer audio.</doc>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="444"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <function-macro name="AUDIO_ENCODER"
                    c:identifier="GST_AUDIO_ENCODER"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_ENCODER_CAST"
                    c:identifier="GST_AUDIO_ENCODER_CAST"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                       line="39"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_ENCODER_CLASS"
                    c:identifier="GST_AUDIO_ENCODER_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_ENCODER_GET_CLASS"
                    c:identifier="GST_AUDIO_ENCODER_GET_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_ENCODER_INPUT_SEGMENT"
                    c:identifier="GST_AUDIO_ENCODER_INPUT_SEGMENT"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioencoder.h"
           line="70">Gives the input segment of the element.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                       line="76"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioencoder.h"
               line="72">base parse instance</doc>
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_ENCODER_OUTPUT_SEGMENT"
                    c:identifier="GST_AUDIO_ENCODER_OUTPUT_SEGMENT"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioencoder.h"
           line="78">Gives the output segment of the element.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                       line="84"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioencoder.h"
               line="80">base parse instance</doc>
        </parameter>
      </parameters>
    </function-macro>
    <constant name="AUDIO_ENCODER_SINK_NAME"
              value="sink"
              c:type="GST_AUDIO_ENCODER_SINK_NAME">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioencoder.h"
           line="41">the name of the templates for the sink pad</doc>
      <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                       line="46"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <function-macro name="AUDIO_ENCODER_SINK_PAD"
                    c:identifier="GST_AUDIO_ENCODER_SINK_PAD"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioencoder.h"
           line="62">Gives the pointer to the sink #GstPad object of the element.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                       line="68"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioencoder.h"
               line="64">audio encoder instance</doc>
        </parameter>
      </parameters>
    </function-macro>
    <constant name="AUDIO_ENCODER_SRC_NAME"
              value="src"
              c:type="GST_AUDIO_ENCODER_SRC_NAME">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioencoder.h"
           line="47">the name of the templates for the source pad</doc>
      <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                       line="52"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <function-macro name="AUDIO_ENCODER_SRC_PAD"
                    c:identifier="GST_AUDIO_ENCODER_SRC_PAD"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioencoder.h"
           line="54">Gives the pointer to the source #GstPad object of the element.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                       line="60"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioencoder.h"
               line="56">audio encoder instance</doc>
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_ENCODER_STREAM_LOCK"
                    c:identifier="GST_AUDIO_ENCODER_STREAM_LOCK"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                       line="86"/>
      <parameters>
        <parameter name="enc">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_ENCODER_STREAM_UNLOCK"
                    c:identifier="GST_AUDIO_ENCODER_STREAM_UNLOCK"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                       line="87"/>
      <parameters>
        <parameter name="enc">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FILTER"
                    c:identifier="GST_AUDIO_FILTER"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiofilter.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FILTER_BPF"
                    c:identifier="GST_AUDIO_FILTER_BPF"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiofilter.h"
                       line="71"/>
      <parameters>
        <parameter name="filter">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FILTER_BPS"
                    c:identifier="GST_AUDIO_FILTER_BPS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiofilter.h"
                       line="72"/>
      <parameters>
        <parameter name="filter">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FILTER_CAST"
                    c:identifier="GST_AUDIO_FILTER_CAST"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiofilter.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FILTER_CHANNELS"
                    c:identifier="GST_AUDIO_FILTER_CHANNELS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiofilter.h"
                       line="70"/>
      <parameters>
        <parameter name="filter">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FILTER_CLASS"
                    c:identifier="GST_AUDIO_FILTER_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiofilter.h"
                       line="40"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FILTER_CLASS_CAST"
                    c:identifier="GST_AUDIO_FILTER_CLASS_CAST"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiofilter.h"
                       line="42"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FILTER_FORMAT"
                    c:identifier="GST_AUDIO_FILTER_FORMAT"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiofilter.h"
                       line="68"/>
      <parameters>
        <parameter name="filter">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FILTER_GET_CLASS"
                    c:identifier="GST_AUDIO_FILTER_GET_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiofilter.h"
                       line="44"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FILTER_INFO"
                    c:identifier="GST_AUDIO_FILTER_INFO"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiofilter.h"
                       line="66"/>
      <parameters>
        <parameter name="filter">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FILTER_RATE"
                    c:identifier="GST_AUDIO_FILTER_RATE"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiofilter.h"
                       line="69"/>
      <parameters>
        <parameter name="filter">
        </parameter>
      </parameters>
    </function-macro>
    <constant name="AUDIO_FORMATS_ALL"
              value="{ F64BE, F64LE, F32BE, F32LE, S32BE, S32LE, U32BE, U32LE, S24_32BE, S24_32LE, U24_32BE, U24_32LE, S24BE, S24LE, U24BE, U24LE, S20_32BE, S20_32LE, U20_32BE, U20_32LE, S20BE, S20LE, U20BE, U20LE, S18BE, S18LE, U18BE, U18LE, S16BE, S16LE, U16BE, U16LE, S8, U8 }"
              c:type="GST_AUDIO_FORMATS_ALL">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.h"
           line="406">List of all audio formats, for use in template caps strings.

Formats are sorted by decreasing "quality", using these criteria by priority:
  - depth
  - width
  - Float &gt; Signed &gt; Unsigned
  - native endianness preferred</doc>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="418"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <function-macro name="AUDIO_FORMAT_INFO_DEPTH"
                    c:identifier="GST_AUDIO_FORMAT_INFO_DEPTH"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="349"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FORMAT_INFO_ENDIANNESS"
                    c:identifier="GST_AUDIO_FORMAT_INFO_ENDIANNESS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="345"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FORMAT_INFO_FLAGS"
                    c:identifier="GST_AUDIO_FORMAT_INFO_FLAGS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="339"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FORMAT_INFO_FORMAT"
                    c:identifier="GST_AUDIO_FORMAT_INFO_FORMAT"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="337"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FORMAT_INFO_IS_BIG_ENDIAN"
                    c:identifier="GST_AUDIO_FORMAT_INFO_IS_BIG_ENDIAN"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="347"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FORMAT_INFO_IS_FLOAT"
                    c:identifier="GST_AUDIO_FORMAT_INFO_IS_FLOAT"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="342"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FORMAT_INFO_IS_INTEGER"
                    c:identifier="GST_AUDIO_FORMAT_INFO_IS_INTEGER"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="341"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FORMAT_INFO_IS_LITTLE_ENDIAN"
                    c:identifier="GST_AUDIO_FORMAT_INFO_IS_LITTLE_ENDIAN"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="346"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FORMAT_INFO_IS_SIGNED"
                    c:identifier="GST_AUDIO_FORMAT_INFO_IS_SIGNED"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="343"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FORMAT_INFO_IS_VALID_RAW"
                    c:identifier="GST_AUDIO_FORMAT_INFO_IS_VALID_RAW"
                    version="1.22"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.h"
           line="325">Tests that the given #GstAudioFormatInfo represents a valid un-encoded
format.</doc>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="333"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FORMAT_INFO_NAME"
                    c:identifier="GST_AUDIO_FORMAT_INFO_NAME"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="338"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FORMAT_INFO_WIDTH"
                    c:identifier="GST_AUDIO_FORMAT_INFO_WIDTH"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="348"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <constant name="AUDIO_FORMAT_LAST"
              value="36"
              c:type="GST_AUDIO_FORMAT_LAST"
              version="1.26">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.h"
           line="206">Number of audio formats in #GstAudioFormat.</doc>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="213"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <function-macro name="AUDIO_INFO_BPF"
                    c:identifier="GST_AUDIO_INFO_BPF"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="101"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_BPS"
                    c:identifier="GST_AUDIO_INFO_BPS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="85"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_CHANNELS"
                    c:identifier="GST_AUDIO_INFO_CHANNELS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="100"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_DEPTH"
                    c:identifier="GST_AUDIO_INFO_DEPTH"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="84"/>
      <parameters>
        <parameter name="i">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_ENDIANNESS"
                    c:identifier="GST_AUDIO_INFO_ENDIANNESS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="91"/>
      <parameters>
        <parameter name="i">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_FLAGS"
                    c:identifier="GST_AUDIO_INFO_FLAGS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="95"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_FORMAT"
                    c:identifier="GST_AUDIO_INFO_FORMAT"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="81"/>
      <parameters>
        <parameter name="i">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_IS_BIG_ENDIAN"
                    c:identifier="GST_AUDIO_INFO_IS_BIG_ENDIAN"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="93"/>
      <parameters>
        <parameter name="i">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_IS_FLOAT"
                    c:identifier="GST_AUDIO_INFO_IS_FLOAT"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="88"/>
      <parameters>
        <parameter name="i">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_IS_INTEGER"
                    c:identifier="GST_AUDIO_INFO_IS_INTEGER"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="87"/>
      <parameters>
        <parameter name="i">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_IS_LITTLE_ENDIAN"
                    c:identifier="GST_AUDIO_INFO_IS_LITTLE_ENDIAN"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="92"/>
      <parameters>
        <parameter name="i">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_IS_SIGNED"
                    c:identifier="GST_AUDIO_INFO_IS_SIGNED"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="89"/>
      <parameters>
        <parameter name="i">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_IS_UNPOSITIONED"
                    c:identifier="GST_AUDIO_INFO_IS_UNPOSITIONED"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="96"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_IS_VALID"
                    c:identifier="GST_AUDIO_INFO_IS_VALID"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="79"/>
      <parameters>
        <parameter name="i">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_LAYOUT"
                    c:identifier="GST_AUDIO_INFO_LAYOUT"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="97"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_NAME"
                    c:identifier="GST_AUDIO_INFO_NAME"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="82"/>
      <parameters>
        <parameter name="i">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_POSITION"
                    c:identifier="GST_AUDIO_INFO_POSITION"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="102"/>
      <parameters>
        <parameter name="info">
        </parameter>
        <parameter name="c">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_RATE"
                    c:identifier="GST_AUDIO_INFO_RATE"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="99"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_WIDTH"
                    c:identifier="GST_AUDIO_INFO_WIDTH"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="83"/>
      <parameters>
        <parameter name="i">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_NE"
                    c:identifier="GST_AUDIO_NE"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.h"
           line="386">Turns audio format string @s into the format string for native endianness.</doc>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="399"/>
      <parameters>
        <parameter name="s">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.h"
               line="388">format string without endianness marker</doc>
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_OE"
                    c:identifier="GST_AUDIO_OE"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.h"
           line="392">Turns audio format string @s into the format string for other endianness.</doc>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="400"/>
      <parameters>
        <parameter name="s">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.h"
               line="394">format string without endianness marker</doc>
        </parameter>
      </parameters>
    </function-macro>
    <constant name="AUDIO_RATE_RANGE"
              value="(int) [ 1, max ]"
              c:type="GST_AUDIO_RATE_RANGE">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.h"
           line="373">Maximum range of allowed sample rates, for use in template caps strings.</doc>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="378"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="AUDIO_RESAMPLER_OPT_CUBIC_B"
              value="GstAudioResampler.cubic-b"
              c:type="GST_AUDIO_RESAMPLER_OPT_CUBIC_B">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-resampler.h"
           line="58">G_TYPE_DOUBLE, B parameter of the cubic filter.
Values between 0.0 and 2.0 are accepted. 1.0 is the default.

Below are some values of popular filters:
                   B       C
Hermite           0.0     0.0
Spline            1.0     0.0
Catmull-Rom       0.0     1/2</doc>
      <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                       line="70"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="AUDIO_RESAMPLER_OPT_CUBIC_C"
              value="GstAudioResampler.cubic-c"
              c:type="GST_AUDIO_RESAMPLER_OPT_CUBIC_C">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-resampler.h"
           line="71">G_TYPE_DOUBLE, C parameter of the cubic filter.
Values between 0.0 and 2.0 are accepted. 0.0 is the default.

See #GST_AUDIO_RESAMPLER_OPT_CUBIC_B for some more common values</doc>
      <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                       line="79"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="AUDIO_RESAMPLER_OPT_CUTOFF"
              value="GstAudioResampler.cutoff"
              c:type="GST_AUDIO_RESAMPLER_OPT_CUTOFF">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-resampler.h"
           line="37">G_TYPE_DOUBLE, Cutoff parameter for the filter. 0.940 is the default.</doc>
      <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                       line="42"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="AUDIO_RESAMPLER_OPT_FILTER_INTERPOLATION"
              value="GstAudioResampler.filter-interpolation"
              c:type="GST_AUDIO_RESAMPLER_OPT_FILTER_INTERPOLATION">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-resampler.h"
           line="142">GST_TYPE_AUDIO_RESAMPLER_INTERPOLATION: how the filter coefficients should be
   interpolated.
GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_CUBIC is default.</doc>
      <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                       line="149"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="AUDIO_RESAMPLER_OPT_FILTER_MODE"
              value="GstAudioResampler.filter-mode"
              c:type="GST_AUDIO_RESAMPLER_OPT_FILTER_MODE">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-resampler.h"
           line="108">GST_TYPE_AUDIO_RESAMPLER_FILTER_MODE: how the filter tables should be
constructed.
GST_AUDIO_RESAMPLER_FILTER_MODE_AUTO is the default.</doc>
      <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                       line="115"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="AUDIO_RESAMPLER_OPT_FILTER_MODE_THRESHOLD"
              value="GstAudioResampler.filter-mode-threshold"
              c:type="GST_AUDIO_RESAMPLER_OPT_FILTER_MODE_THRESHOLD">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-resampler.h"
           line="116">G_TYPE_UINT: the amount of memory to use for full filter tables before
switching to interpolated filter tables.
1048576 is the default.</doc>
      <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                       line="123"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="AUDIO_RESAMPLER_OPT_FILTER_OVERSAMPLE"
              value="GstAudioResampler.filter-oversample"
              c:type="GST_AUDIO_RESAMPLER_OPT_FILTER_OVERSAMPLE">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-resampler.h"
           line="150">G_TYPE_UINT, oversampling to use when interpolating filters
8 is the default.</doc>
      <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                       line="156"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="AUDIO_RESAMPLER_OPT_MAX_PHASE_ERROR"
              value="GstAudioResampler.max-phase-error"
              c:type="GST_AUDIO_RESAMPLER_OPT_MAX_PHASE_ERROR">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-resampler.h"
           line="158">G_TYPE_DOUBLE: The maximum allowed phase error when switching sample
rates.
0.1 is the default.</doc>
      <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                       line="165"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="AUDIO_RESAMPLER_OPT_N_TAPS"
              value="GstAudioResampler.n-taps"
              c:type="GST_AUDIO_RESAMPLER_OPT_N_TAPS">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-resampler.h"
           line="81">G_TYPE_INT: the number of taps to use for the filter.
0 is the default and selects the taps automatically.</doc>
      <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                       line="87"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="AUDIO_RESAMPLER_OPT_STOP_ATTENUATION"
              value="GstAudioResampler.stop-attenutation"
              c:type="GST_AUDIO_RESAMPLER_OPT_STOP_ATTENUATION">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-resampler.h"
           line="43">G_TYPE_DOUBLE, stopband attenuation in decibels. The attenuation
after the stopband for the kaiser window. 85 dB is the default.</doc>
      <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                       line="49"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="AUDIO_RESAMPLER_OPT_TRANSITION_BANDWIDTH"
              value="GstAudioResampler.transition-bandwidth"
              c:type="GST_AUDIO_RESAMPLER_OPT_TRANSITION_BANDWIDTH">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-resampler.h"
           line="50">G_TYPE_DOUBLE, transition bandwidth. The width of the
transition band for the kaiser window. 0.087 is the default.</doc>
      <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                       line="56"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="AUDIO_RESAMPLER_QUALITY_DEFAULT"
              value="4"
              c:type="GST_AUDIO_RESAMPLER_QUALITY_DEFAULT">
      <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                       line="215"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="AUDIO_RESAMPLER_QUALITY_MAX"
              value="10"
              c:type="GST_AUDIO_RESAMPLER_QUALITY_MAX">
      <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                       line="214"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="AUDIO_RESAMPLER_QUALITY_MIN"
              value="0"
              c:type="GST_AUDIO_RESAMPLER_QUALITY_MIN">
      <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                       line="213"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <function-macro name="AUDIO_RING_BUFFER"
                    c:identifier="GST_AUDIO_RING_BUFFER"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="35"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_RING_BUFFER_BROADCAST"
                    c:identifier="GST_AUDIO_RING_BUFFER_BROADCAST"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="188"/>
      <parameters>
        <parameter name="buf">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_RING_BUFFER_CAST"
                    c:identifier="GST_AUDIO_RING_BUFFER_CAST"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_RING_BUFFER_CLASS"
                    c:identifier="GST_AUDIO_RING_BUFFER_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="36"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_RING_BUFFER_GET_CLASS"
                    c:identifier="GST_AUDIO_RING_BUFFER_GET_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_RING_BUFFER_GET_COND"
                    c:identifier="GST_AUDIO_RING_BUFFER_GET_COND"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="185"/>
      <parameters>
        <parameter name="buf">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_RING_BUFFER_SIGNAL"
                    c:identifier="GST_AUDIO_RING_BUFFER_SIGNAL"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="187"/>
      <parameters>
        <parameter name="buf">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_RING_BUFFER_SPEC_BUFFER_TIME"
                    c:identifier="GST_AUDIO_RING_BUFFER_SPEC_BUFFER_TIME"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="179"/>
      <parameters>
        <parameter name="spec">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_RING_BUFFER_SPEC_DSD_FORMAT"
                    c:identifier="GST_AUDIO_RING_BUFFER_SPEC_DSD_FORMAT"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="183"/>
      <parameters>
        <parameter name="spec">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_RING_BUFFER_SPEC_FORMAT_TYPE"
                    c:identifier="GST_AUDIO_RING_BUFFER_SPEC_FORMAT_TYPE"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="176"/>
      <parameters>
        <parameter name="spec">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_RING_BUFFER_SPEC_INFO"
                    c:identifier="GST_AUDIO_RING_BUFFER_SPEC_INFO"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="177"/>
      <parameters>
        <parameter name="spec">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_RING_BUFFER_SPEC_LATENCY_TIME"
                    c:identifier="GST_AUDIO_RING_BUFFER_SPEC_LATENCY_TIME"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="178"/>
      <parameters>
        <parameter name="spec">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_RING_BUFFER_SPEC_SEGLATENCY"
                    c:identifier="GST_AUDIO_RING_BUFFER_SPEC_SEGLATENCY"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="182"/>
      <parameters>
        <parameter name="spec">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_RING_BUFFER_SPEC_SEGSIZE"
                    c:identifier="GST_AUDIO_RING_BUFFER_SPEC_SEGSIZE"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="180"/>
      <parameters>
        <parameter name="spec">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_RING_BUFFER_SPEC_SEGTOTAL"
                    c:identifier="GST_AUDIO_RING_BUFFER_SPEC_SEGTOTAL"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="181"/>
      <parameters>
        <parameter name="spec">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_RING_BUFFER_WAIT"
                    c:identifier="GST_AUDIO_RING_BUFFER_WAIT"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="186"/>
      <parameters>
        <parameter name="buf">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_SINK"
                    c:identifier="GST_AUDIO_SINK"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiosink.h" line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_SINK_CLASS"
                    c:identifier="GST_AUDIO_SINK_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiosink.h" line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_SINK_GET_CLASS"
                    c:identifier="GST_AUDIO_SINK_GET_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiosink.h" line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_SRC"
                    c:identifier="GST_AUDIO_SRC"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiosrc.h" line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_SRC_CLASS"
                    c:identifier="GST_AUDIO_SRC_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiosrc.h" line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_SRC_GET_CLASS"
                    c:identifier="GST_AUDIO_SRC_GET_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiosrc.h" line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <class name="AudioAggregator"
           c:symbol-prefix="audio_aggregator"
           c:type="GstAudioAggregator"
           version="1.14"
           parent="GstBase.Aggregator"
           abstract="1"
           glib:type-name="GstAudioAggregator"
           glib:get-type="gst_audio_aggregator_get_type"
           glib:type-struct="AudioAggregatorClass">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioaggregator.c"
           line="26">Subclasses must use (a subclass of) #GstAudioAggregatorPad for both
their source and sink pads,
gst_element_class_add_static_pad_template_with_gtype() is a convenient
helper.

#GstAudioAggregator can perform conversion on the data arriving
on its sink pads, based on the format expected downstream: in order
to enable that behaviour, the GType of the sink pads must either be
a (subclass of) #GstAudioAggregatorConvertPad to use the default
#GstAudioConverter implementation, or a subclass of #GstAudioAggregatorPad
implementing #GstAudioAggregatorPadClass.convert_buffer.

To allow for the output caps to change, the mechanism is the same as
above, with the GType of the source pad.

See #GstAudioMixer for an example.

When conversion is enabled, #GstAudioAggregator will accept
any type of raw audio caps and perform conversion
on the data arriving on its sink pads, with whatever downstream
expects as the target format.

In case downstream caps are not fully fixated, it will use
the first configured sink pad to finish fixating its source pad
caps.

A notable exception for now is the sample rate, sink pads must
have the same sample rate as either the downstream requirement,
or the first configured pad, or a combination of both (when
downstream specifies a range or a set of acceptable rates).

The #GstAggregator::samples-selected signal is provided with some
additional information about the output buffer:
- "offset"  G_TYPE_UINT64   Offset in samples since segment start
  for the position that is next to be filled in the output buffer.
- "frames"  G_TYPE_UINT   Number of frames per output buffer.

In addition the gst_aggregator_peek_next_sample() function returns
additional information in the info #GstStructure of the returned sample:
- "output-offset"  G_TYPE_UINT64   Sample offset in output segment relative to
  the output segment's start where the current position of this input
  buffer would be placed
- "position"  G_TYPE_UINT   current position in the input buffer in samples
- "size"  G_TYPE_UINT   size of the input buffer in samples</doc>
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="212"/>
      <virtual-method name="aggregate_one_buffer">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioaggregator.h"
             line="193">Aggregates one input buffer to the output
 buffer.  The in_offset and out_offset are in "frames", which is
 the size of a sample times the number of channels. Returns TRUE if
 any non-silence was added to the buffer</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                         line="206"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="aagg" transfer-ownership="none">
            <type name="AudioAggregator" c:type="GstAudioAggregator*"/>
          </instance-parameter>
          <parameter name="pad" transfer-ownership="none">
            <type name="AudioAggregatorPad" c:type="GstAudioAggregatorPad*"/>
          </parameter>
          <parameter name="inbuf" transfer-ownership="none">
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </parameter>
          <parameter name="in_offset" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="outbuf" transfer-ownership="none">
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </parameter>
          <parameter name="out_offset" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="num_frames" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="create_output_buffer">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioaggregator.h"
             line="192">Create a new output buffer contains num_frames frames.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                         line="204"/>
        <return-value transfer-ownership="full">
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="aagg" transfer-ownership="none">
            <type name="AudioAggregator" c:type="GstAudioAggregator*"/>
          </instance-parameter>
          <parameter name="num_frames" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="set_sink_caps"
              c:identifier="gst_audio_aggregator_set_sink_caps">
        <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                         line="222"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="aagg" transfer-ownership="none">
            <type name="AudioAggregator" c:type="GstAudioAggregator*"/>
          </instance-parameter>
          <parameter name="pad" transfer-ownership="none">
            <type name="AudioAggregatorPad" c:type="GstAudioAggregatorPad*"/>
          </parameter>
          <parameter name="caps" transfer-ownership="none">
            <type name="Gst.Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <property name="alignment-threshold"
                writable="1"
                transfer-ownership="none"
                default-value="40000000">
        <type name="guint64" c:type="guint64"/>
      </property>
      <property name="discont-wait"
                writable="1"
                transfer-ownership="none"
                default-value="1000000000">
        <type name="guint64" c:type="guint64"/>
      </property>
      <property name="force-live"
                version="1.22"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioaggregator.c"
             line="746">Causes the element to aggregate on a timeout even when no live source is
connected to its sinks. See #GstAggregator:min-upstream-latency for a
companion property: in the vast majority of cases where you plan to plug in
live sources with a non-zero latency, you should set it to a non-zero value.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="ignore-inactive-pads"
                version="1.20"
                writable="1"
                transfer-ownership="none"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioaggregator.c"
             line="726">Don't wait for inactive pads when live. An inactive pad
is a pad that hasn't yet received a buffer, but that has
been waited on at least once.

The purpose of this property is to avoid aggregating on
timeout when new pads are requested in advance of receiving
data flow, for example the user may decide to connect it later,
but wants to configure it already.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="output-buffer-duration"
                writable="1"
                transfer-ownership="none"
                default-value="10000000">
        <type name="guint64" c:type="guint64"/>
      </property>
      <property name="output-buffer-duration-fraction"
                version="1.18"
                writable="1"
                transfer-ownership="none"
                default-value="1/100">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioaggregator.c"
             line="695">Output block size in nanoseconds, expressed as a fraction.</doc>
        <type name="Gst.Fraction"/>
      </property>
      <field name="parent">
        <type name="GstBase.Aggregator" c:type="GstAggregator"/>
      </field>
      <field name="current_caps">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioaggregator.h"
             line="171">The caps set by the subclass</doc>
        <type name="Gst.Caps" c:type="GstCaps*"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="AudioAggregatorPrivate"
              c:type="GstAudioAggregatorPrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="AudioAggregatorClass"
            c:type="GstAudioAggregatorClass"
            glib:is-gtype-struct-for="AudioAggregator"
            version="1.14">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="212"/>
      <field name="parent_class">
        <type name="GstBase.AggregatorClass" c:type="GstAggregatorClass"/>
      </field>
      <field name="create_output_buffer">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioaggregator.h"
             line="192">Create a new output buffer contains num_frames frames.</doc>
        <callback name="create_output_buffer">
          <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                           line="204"/>
          <return-value transfer-ownership="full">
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </return-value>
          <parameters>
            <parameter name="aagg" transfer-ownership="none">
              <type name="AudioAggregator" c:type="GstAudioAggregator*"/>
            </parameter>
            <parameter name="num_frames" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="aggregate_one_buffer">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioaggregator.h"
             line="193">Aggregates one input buffer to the output
 buffer.  The in_offset and out_offset are in "frames", which is
 the size of a sample times the number of channels. Returns TRUE if
 any non-silence was added to the buffer</doc>
        <callback name="aggregate_one_buffer">
          <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                           line="206"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="aagg" transfer-ownership="none">
              <type name="AudioAggregator" c:type="GstAudioAggregator*"/>
            </parameter>
            <parameter name="pad" transfer-ownership="none">
              <type name="AudioAggregatorPad" c:type="GstAudioAggregatorPad*"/>
            </parameter>
            <parameter name="inbuf" transfer-ownership="none">
              <type name="Gst.Buffer" c:type="GstBuffer*"/>
            </parameter>
            <parameter name="in_offset" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
            <parameter name="outbuf" transfer-ownership="none">
              <type name="Gst.Buffer" c:type="GstBuffer*"/>
            </parameter>
            <parameter name="out_offset" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
            <parameter name="num_frames" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <class name="AudioAggregatorConvertPad"
           c:symbol-prefix="audio_aggregator_convert_pad"
           c:type="GstAudioAggregatorConvertPad"
           version="1.14"
           parent="AudioAggregatorPad"
           glib:type-name="GstAudioAggregatorConvertPad"
           glib:get-type="gst_audio_aggregator_convert_pad_get_type"
           glib:type-struct="AudioAggregatorConvertPadClass">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioaggregator.h"
           line="123">An implementation of GstPad that can be used with #GstAudioAggregator.

See #GstAudioAggregator for more details.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="153"/>
      <property name="converter-config" writable="1" transfer-ownership="none">
        <type name="Gst.Structure"/>
      </property>
      <field name="parent" readable="0" private="1">
        <type name="AudioAggregatorPad" c:type="GstAudioAggregatorPad"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="AudioAggregatorConvertPadPrivate"
              c:type="GstAudioAggregatorConvertPadPrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="AudioAggregatorConvertPadClass"
            c:type="GstAudioAggregatorConvertPadClass"
            glib:is-gtype-struct-for="AudioAggregatorConvertPad"
            version="1.14">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="153"/>
      <field name="parent_class">
        <type name="AudioAggregatorPadClass"
              c:type="GstAudioAggregatorPadClass"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="AudioAggregatorConvertPadPrivate"
            c:type="GstAudioAggregatorConvertPadPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="121"/>
    </record>
    <class name="AudioAggregatorPad"
           c:symbol-prefix="audio_aggregator_pad"
           c:type="GstAudioAggregatorPad"
           version="1.14"
           parent="GstBase.AggregatorPad"
           glib:type-name="GstAudioAggregatorPad"
           glib:get-type="gst_audio_aggregator_pad_get_type"
           glib:type-struct="AudioAggregatorPadClass">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioaggregator.h"
           line="60">The default implementation of GstPad used with #GstAudioAggregator</doc>
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="103"/>
      <virtual-method name="convert_buffer">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioaggregator.h"
             line="84">Convert a buffer from one format to another.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                         line="94"/>
        <return-value transfer-ownership="full">
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <type name="AudioAggregatorPad" c:type="GstAudioAggregatorPad*"/>
          </instance-parameter>
          <parameter name="in_info" transfer-ownership="none">
            <type name="AudioInfo" c:type="GstAudioInfo*"/>
          </parameter>
          <parameter name="out_info" transfer-ownership="none">
            <type name="AudioInfo" c:type="GstAudioInfo*"/>
          </parameter>
          <parameter name="buffer" transfer-ownership="none">
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="update_conversion_info">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioaggregator.h"
             line="85">Called when either the input or output
 formats have changed.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                         line="99"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pad" transfer-ownership="none">
            <type name="AudioAggregatorPad" c:type="GstAudioAggregatorPad*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <property name="qos-messages"
                version="1.20"
                writable="1"
                transfer-ownership="none"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioaggregator.c"
             line="197">Emit QoS messages when dropping buffers.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <field name="parent">
        <type name="GstBase.AggregatorPad" c:type="GstAggregatorPad"/>
      </field>
      <field name="info">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioaggregator.h"
             line="62">The audio info for this pad set from the incoming caps</doc>
        <type name="AudioInfo" c:type="GstAudioInfo"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="AudioAggregatorPadPrivate"
              c:type="GstAudioAggregatorPadPrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="AudioAggregatorPadClass"
            c:type="GstAudioAggregatorPadClass"
            glib:is-gtype-struct-for="AudioAggregatorPad"
            version="1.14">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="103"/>
      <field name="parent_class">
        <type name="GstBase.AggregatorPadClass"
              c:type="GstAggregatorPadClass"/>
      </field>
      <field name="convert_buffer">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioaggregator.h"
             line="84">Convert a buffer from one format to another.</doc>
        <callback name="convert_buffer">
          <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                           line="94"/>
          <return-value transfer-ownership="full">
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </return-value>
          <parameters>
            <parameter name="pad" transfer-ownership="none">
              <type name="AudioAggregatorPad" c:type="GstAudioAggregatorPad*"/>
            </parameter>
            <parameter name="in_info" transfer-ownership="none">
              <type name="AudioInfo" c:type="GstAudioInfo*"/>
            </parameter>
            <parameter name="out_info" transfer-ownership="none">
              <type name="AudioInfo" c:type="GstAudioInfo*"/>
            </parameter>
            <parameter name="buffer" transfer-ownership="none">
              <type name="Gst.Buffer" c:type="GstBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="update_conversion_info">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioaggregator.h"
             line="85">Called when either the input or output
 formats have changed.</doc>
        <callback name="update_conversion_info">
          <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                           line="99"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="pad" transfer-ownership="none">
              <type name="AudioAggregatorPad" c:type="GstAudioAggregatorPad*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="AudioAggregatorPadPrivate"
            c:type="GstAudioAggregatorPadPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="58"/>
    </record>
    <record name="AudioAggregatorPrivate"
            c:type="GstAudioAggregatorPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="37"/>
    </record>
    <class name="AudioBaseSink"
           c:symbol-prefix="audio_base_sink"
           c:type="GstAudioBaseSink"
           parent="GstBase.BaseSink"
           glib:type-name="GstAudioBaseSink"
           glib:get-type="gst_audio_base_sink_get_type"
           glib:type-struct="AudioBaseSinkClass">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiobasesink.c"
           line="23">This is the base class for audio sinks. Subclasses need to implement the
::create_ringbuffer vmethod. This base class will then take care of
writing samples to the ringbuffer, synchronisation, clipping and flushing.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                       line="221"/>
      <virtual-method name="create_ringbuffer" invoker="create_ringbuffer">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.c"
             line="2269">Create and return the #GstAudioRingBuffer for @sink. This function will
call the ::create_ringbuffer vmethod and will set @sink as the parent of
the returned buffer (see gst_object_set_parent()).</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                         line="214"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesink.c"
               line="2277">The new ringbuffer of @sink.</doc>
          <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="2271">a #GstAudioBaseSink.</doc>
            <type name="AudioBaseSink" c:type="GstAudioBaseSink*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="payload">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.h"
             line="202">payload data in a format suitable to write to the sink. If no
          payloading is required, returns a reffed copy of the original
          buffer, else returns the payloaded buffer with all other metadata
          copied.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                         line="217"/>
        <return-value transfer-ownership="full">
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <type name="AudioBaseSink" c:type="GstAudioBaseSink*"/>
          </instance-parameter>
          <parameter name="buffer" transfer-ownership="none">
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="create_ringbuffer"
              c:identifier="gst_audio_base_sink_create_ringbuffer">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.c"
             line="2269">Create and return the #GstAudioRingBuffer for @sink. This function will
call the ::create_ringbuffer vmethod and will set @sink as the parent of
the returned buffer (see gst_object_set_parent()).</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                         line="228"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesink.c"
               line="2277">The new ringbuffer of @sink.</doc>
          <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="2271">a #GstAudioBaseSink.</doc>
            <type name="AudioBaseSink" c:type="GstAudioBaseSink*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_alignment_threshold"
              c:identifier="gst_audio_base_sink_get_alignment_threshold"
              glib:get-property="alignment-threshold">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.c"
             line="695">Get the current alignment threshold, in nanoseconds, used by @sink.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                         line="254"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesink.c"
               line="701">The current alignment threshold used by @sink.</doc>
          <type name="Gst.ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="697">a #GstAudioBaseSink</doc>
            <type name="AudioBaseSink" c:type="GstAudioBaseSink*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_discont_wait"
              c:identifier="gst_audio_base_sink_get_discont_wait"
              glib:get-property="discont-wait">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.c"
             line="803">Get the current discont wait, in nanoseconds, used by @sink.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                         line="261"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesink.c"
               line="809">The current discont wait used by @sink.</doc>
          <type name="Gst.ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="805">a #GstAudioBaseSink</doc>
            <type name="AudioBaseSink" c:type="GstAudioBaseSink*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_drift_tolerance"
              c:identifier="gst_audio_base_sink_get_drift_tolerance"
              glib:get-property="drift-tolerance">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.c"
             line="654">Get the current drift tolerance, in microseconds, used by @sink.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                         line="247"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesink.c"
               line="660">The current drift tolerance used by @sink.</doc>
          <type name="gint64" c:type="gint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="656">a #GstAudioBaseSink</doc>
            <type name="AudioBaseSink" c:type="GstAudioBaseSink*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_provide_clock"
              c:identifier="gst_audio_base_sink_get_provide_clock"
              glib:get-property="provide-clock">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.c"
             line="572">Queries whether @sink will provide a clock or not. See also
gst_audio_base_sink_set_provide_clock.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                         line="234"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesink.c"
               line="579">%TRUE if @sink will provide a clock.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="574">a #GstAudioBaseSink</doc>
            <type name="AudioBaseSink" c:type="GstAudioBaseSink*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_slave_method"
              c:identifier="gst_audio_base_sink_get_slave_method"
              glib:get-property="slave-method">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.c"
             line="613">Get the current slave method used by @sink.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                         line="241"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesink.c"
               line="619">The current slave method used by @sink.</doc>
          <type name="AudioBaseSinkSlaveMethod"
                c:type="GstAudioBaseSinkSlaveMethod"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="615">a #GstAudioBaseSink</doc>
            <type name="AudioBaseSink" c:type="GstAudioBaseSink*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="report_device_failure"
              c:identifier="gst_audio_base_sink_report_device_failure"
              version="1.6">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.c"
             line="780">Informs this base class that the audio output device has failed for
some reason, causing a discontinuity (for example, because the device
recovered from the error, but lost all contents of its ring buffer).
This function is typically called by derived classes, and is useful
for the custom slave method.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                         line="271"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="782">a #GstAudioBaseSink</doc>
            <type name="AudioBaseSink" c:type="GstAudioBaseSink*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_alignment_threshold"
              c:identifier="gst_audio_base_sink_set_alignment_threshold"
              glib:set-property="alignment-threshold">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.c"
             line="676">Controls the sink's alignment threshold.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                         line="250"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="678">a #GstAudioBaseSink</doc>
            <type name="AudioBaseSink" c:type="GstAudioBaseSink*"/>
          </instance-parameter>
          <parameter name="alignment_threshold" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="679">the new alignment threshold in nanoseconds</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_custom_slaving_callback"
              c:identifier="gst_audio_base_sink_set_custom_slaving_callback"
              version="1.6">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.c"
             line="736">Sets the custom slaving callback. This callback will
be invoked if the slave-method property is set to
GST_AUDIO_BASE_SINK_SLAVE_CUSTOM and the audio sink
receives and plays samples.

Setting the callback to NULL causes the sink to
behave as if the GST_AUDIO_BASE_SINK_SLAVE_NONE
method were used.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                         line="265"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="738">a #GstAudioBaseSink</doc>
            <type name="AudioBaseSink" c:type="GstAudioBaseSink*"/>
          </instance-parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="739">a #GstAudioBaseSinkCustomSlavingCallback</doc>
            <type name="AudioBaseSinkCustomSlavingCallback"
                  c:type="GstAudioBaseSinkCustomSlavingCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="740">user data passed to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="741">called when user_data becomes unused</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_discont_wait"
              c:identifier="gst_audio_base_sink_set_discont_wait"
              glib:set-property="discont-wait">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.c"
             line="717">Controls how long the sink will wait before creating a discontinuity.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                         line="257"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="719">a #GstAudioBaseSink</doc>
            <type name="AudioBaseSink" c:type="GstAudioBaseSink*"/>
          </instance-parameter>
          <parameter name="discont_wait" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="720">the new discont wait in nanoseconds</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_drift_tolerance"
              c:identifier="gst_audio_base_sink_set_drift_tolerance"
              glib:set-property="drift-tolerance">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.c"
             line="636">Controls the sink's drift tolerance.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                         line="244"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="638">a #GstAudioBaseSink</doc>
            <type name="AudioBaseSink" c:type="GstAudioBaseSink*"/>
          </instance-parameter>
          <parameter name="drift_tolerance" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="639">the new drift tolerance in microseconds</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_provide_clock"
              c:identifier="gst_audio_base_sink_set_provide_clock"
              glib:set-property="provide-clock">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.c"
             line="548">Controls whether @sink will provide a clock or not. If @provide is %TRUE,
gst_element_provide_clock() will return a clock that reflects the datarate
of @sink. If @provide is %FALSE, gst_element_provide_clock() will return
NULL.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                         line="231"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="550">a #GstAudioBaseSink</doc>
            <type name="AudioBaseSink" c:type="GstAudioBaseSink*"/>
          </instance-parameter>
          <parameter name="provide" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="551">new state</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_slave_method"
              c:identifier="gst_audio_base_sink_set_slave_method"
              glib:set-property="slave-method">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.c"
             line="595">Controls how clock slaving will be performed in @sink.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                         line="237"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="597">a #GstAudioBaseSink</doc>
            <type name="AudioBaseSink" c:type="GstAudioBaseSink*"/>
          </instance-parameter>
          <parameter name="method" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="598">the new slave method</doc>
            <type name="AudioBaseSinkSlaveMethod"
                  c:type="GstAudioBaseSinkSlaveMethod"/>
          </parameter>
        </parameters>
      </method>
      <property name="alignment-threshold"
                writable="1"
                transfer-ownership="none"
                setter="set_alignment_threshold"
                getter="get_alignment_threshold"
                default-value="40000000">
        <type name="guint64" c:type="guint64"/>
      </property>
      <property name="buffer-time"
                writable="1"
                transfer-ownership="none"
                default-value="200000">
        <type name="gint64" c:type="gint64"/>
      </property>
      <property name="can-activate-pull"
                writable="1"
                transfer-ownership="none"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="discont-wait"
                writable="1"
                transfer-ownership="none"
                setter="set_discont_wait"
                getter="get_discont_wait"
                default-value="1000000000">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.c"
             line="237">A window of time in nanoseconds to wait before creating a discontinuity as
a result of breaching the drift-tolerance.</doc>
        <type name="guint64" c:type="guint64"/>
      </property>
      <property name="drift-tolerance"
                writable="1"
                transfer-ownership="none"
                setter="set_drift_tolerance"
                getter="get_drift_tolerance"
                default-value="40000">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.c"
             line="214">Controls the amount of time in microseconds that clocks are allowed
to drift before resynchronisation happens.</doc>
        <type name="gint64" c:type="gint64"/>
      </property>
      <property name="latency-time"
                writable="1"
                transfer-ownership="none"
                default-value="10000">
        <type name="gint64" c:type="gint64"/>
      </property>
      <property name="provide-clock"
                writable="1"
                transfer-ownership="none"
                setter="set_provide_clock"
                getter="get_provide_clock"
                default-value="TRUE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="slave-method"
                writable="1"
                transfer-ownership="none"
                setter="set_slave_method"
                getter="get_slave_method"
                default-value="GST_AUDIO_BASE_SINK_SLAVE_SKEW">
        <type name="AudioBaseSinkSlaveMethod"/>
      </property>
      <field name="element">
        <type name="GstBase.BaseSink" c:type="GstBaseSink"/>
      </field>
      <field name="ringbuffer">
        <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
      </field>
      <field name="buffer_time">
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="latency_time">
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="next_sample">
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="provided_clock">
        <type name="Gst.Clock" c:type="GstClock*"/>
      </field>
      <field name="eos_rendering">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="AudioBaseSinkPrivate" c:type="GstAudioBaseSinkPrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="AudioBaseSinkClass"
            c:type="GstAudioBaseSinkClass"
            glib:is-gtype-struct-for="AudioBaseSink">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiobasesink.h"
           line="198">#GstAudioBaseSink class. Override the vmethod to implement
functionality.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                       line="221"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.h"
             line="200">the parent class.</doc>
        <type name="GstBase.BaseSinkClass" c:type="GstBaseSinkClass"/>
      </field>
      <field name="create_ringbuffer">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.h"
             line="201">create and return a #GstAudioRingBuffer to write to.</doc>
        <callback name="create_ringbuffer">
          <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                           line="214"/>
          <return-value transfer-ownership="none" nullable="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesink.c"
                 line="2277">The new ringbuffer of @sink.</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </return-value>
          <parameters>
            <parameter name="sink" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudiobasesink.c"
                   line="2271">a #GstAudioBaseSink.</doc>
              <type name="AudioBaseSink" c:type="GstAudioBaseSink*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="payload">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.h"
             line="202">payload data in a format suitable to write to the sink. If no
          payloading is required, returns a reffed copy of the original
          buffer, else returns the payloaded buffer with all other metadata
          copied.</doc>
        <callback name="payload">
          <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                           line="217"/>
          <return-value transfer-ownership="full">
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </return-value>
          <parameters>
            <parameter name="sink" transfer-ownership="none">
              <type name="AudioBaseSink" c:type="GstAudioBaseSink*"/>
            </parameter>
            <parameter name="buffer" transfer-ownership="none">
              <type name="Gst.Buffer" c:type="GstBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <callback name="AudioBaseSinkCustomSlavingCallback"
              c:type="GstAudioBaseSinkCustomSlavingCallback"
              version="1.6">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiobasesink.h"
           line="130">This function is set with gst_audio_base_sink_set_custom_slaving_callback()
and is called during playback. It receives the current time of external and
internal clocks, which the callback can then use to apply any custom
slaving/synchronization schemes.

The external clock is the sink's element clock, the internal one is the
internal audio clock. The internal audio clock's calibration is applied to
the timestamps before they are passed to the callback. The difference between
etime and itime is the skew; how much internal and external clock lie apart
from each other. A skew of 0 means both clocks are perfectly in sync.
itime &gt; etime means the external clock is going slower, while itime &lt; etime
means it is going faster than the internal clock. etime and itime are always
valid timestamps, except for when a discontinuity happens.

requested_skew is an output value the callback can write to. It informs the
sink of whether or not it should move the playout pointer, and if so, by how
much. This pointer is only NULL if a discontinuity occurs; otherwise, it is
safe to write to *requested_skew. The default skew is 0.

The sink may experience discontinuities. If one happens, discont is TRUE,
itime, etime are set to GST_CLOCK_TIME_NONE, and requested_skew is NULL.
This makes it possible to reset custom clock slaving algorithms when a
discontinuity happens.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                       line="165"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="sink" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesink.h"
               line="132">a #GstAudioBaseSink</doc>
          <type name="AudioBaseSink" c:type="GstAudioBaseSink*"/>
        </parameter>
        <parameter name="etime" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesink.h"
               line="133">external clock time</doc>
          <type name="Gst.ClockTime" c:type="GstClockTime"/>
        </parameter>
        <parameter name="itime" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesink.h"
               line="134">internal clock time</doc>
          <type name="Gst.ClockTime" c:type="GstClockTime"/>
        </parameter>
        <parameter name="requested_skew" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesink.h"
               line="135">skew amount requested by the callback</doc>
          <type name="Gst.ClockTimeDiff" c:type="GstClockTimeDiff*"/>
        </parameter>
        <parameter name="discont_reason" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesink.h"
               line="136">reason for discontinuity (if any)</doc>
          <type name="AudioBaseSinkDiscontReason"
                c:type="GstAudioBaseSinkDiscontReason"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="5">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesink.h"
               line="137">user data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <enumeration name="AudioBaseSinkDiscontReason"
                 version="1.6"
                 glib:type-name="GstAudioBaseSinkDiscontReason"
                 glib:get-type="gst_audio_base_sink_discont_reason_get_type"
                 c:type="GstAudioBaseSinkDiscontReason">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiobasesink.h"
           line="106">Different possible reasons for discontinuities. This enum is useful for the custom
slave method.</doc>
      <member name="no_discont"
              value="0"
              c:identifier="GST_AUDIO_BASE_SINK_DISCONT_REASON_NO_DISCONT"
              glib:nick="no-discont"
              glib:name="GST_AUDIO_BASE_SINK_DISCONT_REASON_NO_DISCONT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.h"
             line="108">No discontinuity occurred</doc>
      </member>
      <member name="new_caps"
              value="1"
              c:identifier="GST_AUDIO_BASE_SINK_DISCONT_REASON_NEW_CAPS"
              glib:nick="new-caps"
              glib:name="GST_AUDIO_BASE_SINK_DISCONT_REASON_NEW_CAPS">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.h"
             line="109">New caps are set, causing renegotiotion</doc>
      </member>
      <member name="flush"
              value="2"
              c:identifier="GST_AUDIO_BASE_SINK_DISCONT_REASON_FLUSH"
              glib:nick="flush"
              glib:name="GST_AUDIO_BASE_SINK_DISCONT_REASON_FLUSH">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.h"
             line="110">Samples have been flushed</doc>
      </member>
      <member name="sync_latency"
              value="3"
              c:identifier="GST_AUDIO_BASE_SINK_DISCONT_REASON_SYNC_LATENCY"
              glib:nick="sync-latency"
              glib:name="GST_AUDIO_BASE_SINK_DISCONT_REASON_SYNC_LATENCY">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.h"
             line="111">Sink was synchronized to the estimated latency (occurs during initialization)</doc>
      </member>
      <member name="alignment"
              value="4"
              c:identifier="GST_AUDIO_BASE_SINK_DISCONT_REASON_ALIGNMENT"
              glib:nick="alignment"
              glib:name="GST_AUDIO_BASE_SINK_DISCONT_REASON_ALIGNMENT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.h"
             line="112">Aligning buffers failed because the timestamps are too discontinuous</doc>
      </member>
      <member name="device_failure"
              value="5"
              c:identifier="GST_AUDIO_BASE_SINK_DISCONT_REASON_DEVICE_FAILURE"
              glib:nick="device-failure"
              glib:name="GST_AUDIO_BASE_SINK_DISCONT_REASON_DEVICE_FAILURE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.h"
             line="113">Audio output device experienced and recovered from an error but introduced latency in the process (see also gst_audio_base_sink_report_device_failure())</doc>
      </member>
    </enumeration>
    <record name="AudioBaseSinkPrivate"
            c:type="GstAudioBaseSinkPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                       line="104"/>
    </record>
    <enumeration name="AudioBaseSinkSlaveMethod"
                 glib:type-name="GstAudioBaseSinkSlaveMethod"
                 glib:get-type="gst_audio_base_sink_slave_method_get_type"
                 c:type="GstAudioBaseSinkSlaveMethod">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiobasesink.h"
           line="83">Different possible clock slaving algorithms used when the internal audio
clock is not selected as the pipeline master clock.</doc>
      <member name="resample"
              value="0"
              c:identifier="GST_AUDIO_BASE_SINK_SLAVE_RESAMPLE"
              glib:nick="resample"
              glib:name="GST_AUDIO_BASE_SINK_SLAVE_RESAMPLE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.h"
             line="85">Resample to match the master clock</doc>
      </member>
      <member name="skew"
              value="1"
              c:identifier="GST_AUDIO_BASE_SINK_SLAVE_SKEW"
              glib:nick="skew"
              glib:name="GST_AUDIO_BASE_SINK_SLAVE_SKEW">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.h"
             line="86">Adjust playout pointer when master clock
drifts too much.</doc>
      </member>
      <member name="none"
              value="2"
              c:identifier="GST_AUDIO_BASE_SINK_SLAVE_NONE"
              glib:nick="none"
              glib:name="GST_AUDIO_BASE_SINK_SLAVE_NONE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.h"
             line="88">No adjustment is done.</doc>
      </member>
      <member name="custom"
              value="3"
              c:identifier="GST_AUDIO_BASE_SINK_SLAVE_CUSTOM"
              glib:nick="custom"
              glib:name="GST_AUDIO_BASE_SINK_SLAVE_CUSTOM">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesink.h"
             line="89">Use custom clock slaving algorithm (Since: 1.6)</doc>
      </member>
    </enumeration>
    <class name="AudioBaseSrc"
           c:symbol-prefix="audio_base_src"
           c:type="GstAudioBaseSrc"
           parent="GstBase.PushSrc"
           glib:type-name="GstAudioBaseSrc"
           glib:get-type="gst_audio_base_src_get_type"
           glib:type-struct="AudioBaseSrcClass">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiobasesrc.c"
           line="23">This is the base class for audio sources. Subclasses need to implement the
::create_ringbuffer vmethod. This base class will then take care of
reading samples from the ringbuffer, synchronisation and flushing.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiobasesrc.h"
                       line="133"/>
      <virtual-method name="create_ringbuffer" invoker="create_ringbuffer">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesrc.c"
             line="1090">Create and return the #GstAudioRingBuffer for @src. This function will call
the ::create_ringbuffer vmethod and will set @src as the parent of the
returned buffer (see gst_object_set_parent()).</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesrc.h"
                         line="129"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesrc.c"
               line="1098">The new ringbuffer of @src.</doc>
          <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesrc.c"
                 line="1092">a #GstAudioBaseSrc.</doc>
            <type name="AudioBaseSrc" c:type="GstAudioBaseSrc*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="create_ringbuffer"
              c:identifier="gst_audio_base_src_create_ringbuffer">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesrc.c"
             line="1090">Create and return the #GstAudioRingBuffer for @src. This function will call
the ::create_ringbuffer vmethod and will set @src as the parent of the
returned buffer (see gst_object_set_parent()).</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesrc.h"
                         line="140"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesrc.c"
               line="1098">The new ringbuffer of @src.</doc>
          <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesrc.c"
                 line="1092">a #GstAudioBaseSrc.</doc>
            <type name="AudioBaseSrc" c:type="GstAudioBaseSrc*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_provide_clock"
              c:identifier="gst_audio_base_src_get_provide_clock"
              glib:get-property="provide-clock">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesrc.c"
             line="359">Queries whether @src will provide a clock or not. See also
gst_audio_base_src_set_provide_clock.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesrc.h"
                         line="146"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesrc.c"
               line="366">%TRUE if @src will provide a clock.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesrc.c"
                 line="361">a #GstAudioBaseSrc</doc>
            <type name="AudioBaseSrc" c:type="GstAudioBaseSrc*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_slave_method"
              c:identifier="gst_audio_base_src_get_slave_method"
              glib:get-property="slave-method">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesrc.c"
             line="400">Get the current slave method used by @src.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesrc.h"
                         line="153"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiobasesrc.c"
               line="406">The current slave method used by @src.</doc>
          <type name="AudioBaseSrcSlaveMethod"
                c:type="GstAudioBaseSrcSlaveMethod"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesrc.c"
                 line="402">a #GstAudioBaseSrc</doc>
            <type name="AudioBaseSrc" c:type="GstAudioBaseSrc*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_provide_clock"
              c:identifier="gst_audio_base_src_set_provide_clock"
              glib:set-property="provide-clock">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesrc.c"
             line="337">Controls whether @src will provide a clock or not. If @provide is %TRUE,
gst_element_provide_clock() will return a clock that reflects the datarate
of @src. If @provide is %FALSE, gst_element_provide_clock() will return NULL.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesrc.h"
                         line="143"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesrc.c"
                 line="339">a #GstAudioBaseSrc</doc>
            <type name="AudioBaseSrc" c:type="GstAudioBaseSrc*"/>
          </instance-parameter>
          <parameter name="provide" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesrc.c"
                 line="340">new state</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_slave_method"
              c:identifier="gst_audio_base_src_set_slave_method"
              glib:set-property="slave-method">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesrc.c"
             line="382">Controls how clock slaving will be performed in @src.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiobasesrc.h"
                         line="149"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesrc.c"
                 line="384">a #GstAudioBaseSrc</doc>
            <type name="AudioBaseSrc" c:type="GstAudioBaseSrc*"/>
          </instance-parameter>
          <parameter name="method" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesrc.c"
                 line="385">the new slave method</doc>
            <type name="AudioBaseSrcSlaveMethod"
                  c:type="GstAudioBaseSrcSlaveMethod"/>
          </parameter>
        </parameters>
      </method>
      <property name="actual-buffer-time"
                transfer-ownership="none"
                default-value="-1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesrc.c"
             line="159">Actual configured size of audio buffer in microseconds.</doc>
        <type name="gint64" c:type="gint64"/>
      </property>
      <property name="actual-latency-time"
                transfer-ownership="none"
                default-value="-1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesrc.c"
             line="170">Actual configured audio latency in microseconds.</doc>
        <type name="gint64" c:type="gint64"/>
      </property>
      <property name="buffer-time"
                writable="1"
                transfer-ownership="none"
                default-value="200000">
        <type name="gint64" c:type="gint64"/>
      </property>
      <property name="latency-time"
                writable="1"
                transfer-ownership="none"
                default-value="10000">
        <type name="gint64" c:type="gint64"/>
      </property>
      <property name="provide-clock"
                writable="1"
                transfer-ownership="none"
                setter="set_provide_clock"
                getter="get_provide_clock"
                default-value="TRUE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="slave-method"
                writable="1"
                transfer-ownership="none"
                setter="set_slave_method"
                getter="get_slave_method"
                default-value="GST_AUDIO_BASE_SRC_SLAVE_SKEW">
        <type name="AudioBaseSrcSlaveMethod"/>
      </property>
      <field name="element">
        <type name="GstBase.PushSrc" c:type="GstPushSrc"/>
      </field>
      <field name="ringbuffer">
        <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
      </field>
      <field name="buffer_time">
        <type name="Gst.ClockTime" c:type="GstClockTime"/>
      </field>
      <field name="latency_time">
        <type name="Gst.ClockTime" c:type="GstClockTime"/>
      </field>
      <field name="next_sample">
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="clock">
        <type name="Gst.Clock" c:type="GstClock*"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="AudioBaseSrcPrivate" c:type="GstAudioBaseSrcPrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="AudioBaseSrcClass"
            c:type="GstAudioBaseSrcClass"
            glib:is-gtype-struct-for="AudioBaseSrc">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiobasesrc.h"
           line="117">#GstAudioBaseSrc class. Override the vmethod to implement
functionality.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiobasesrc.h"
                       line="133"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesrc.h"
             line="119">the parent class.</doc>
        <type name="GstBase.PushSrcClass" c:type="GstPushSrcClass"/>
      </field>
      <field name="create_ringbuffer">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesrc.h"
             line="120">create and return a #GstAudioRingBuffer to read from.</doc>
        <callback name="create_ringbuffer">
          <source-position filename="gst-libs/gst/audio/gstaudiobasesrc.h"
                           line="129"/>
          <return-value transfer-ownership="none" nullable="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiobasesrc.c"
                 line="1098">The new ringbuffer of @src.</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </return-value>
          <parameters>
            <parameter name="src" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudiobasesrc.c"
                   line="1092">a #GstAudioBaseSrc.</doc>
              <type name="AudioBaseSrc" c:type="GstAudioBaseSrc*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="AudioBaseSrcPrivate"
            c:type="GstAudioBaseSrcPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gst-libs/gst/audio/gstaudiobasesrc.h"
                       line="63"/>
    </record>
    <enumeration name="AudioBaseSrcSlaveMethod"
                 glib:type-name="GstAudioBaseSrcSlaveMethod"
                 glib:get-type="gst_audio_base_src_slave_method_get_type"
                 c:type="GstAudioBaseSrcSlaveMethod">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiobasesrc.h"
           line="67">Different possible clock slaving algorithms when the internal audio clock was
not selected as the pipeline clock.</doc>
      <member name="resample"
              value="0"
              c:identifier="GST_AUDIO_BASE_SRC_SLAVE_RESAMPLE"
              glib:nick="resample"
              glib:name="GST_AUDIO_BASE_SRC_SLAVE_RESAMPLE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesrc.h"
             line="69">Resample to match the master clock.</doc>
      </member>
      <member name="re_timestamp"
              value="1"
              c:identifier="GST_AUDIO_BASE_SRC_SLAVE_RE_TIMESTAMP"
              glib:nick="re-timestamp"
              glib:name="GST_AUDIO_BASE_SRC_SLAVE_RE_TIMESTAMP">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesrc.h"
             line="70">Retimestamp output buffers with master
clock time.</doc>
      </member>
      <member name="skew"
              value="2"
              c:identifier="GST_AUDIO_BASE_SRC_SLAVE_SKEW"
              glib:nick="skew"
              glib:name="GST_AUDIO_BASE_SRC_SLAVE_SKEW">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesrc.h"
             line="72">Adjust capture pointer when master clock
drifts too much.</doc>
      </member>
      <member name="none"
              value="3"
              c:identifier="GST_AUDIO_BASE_SRC_SLAVE_NONE"
              glib:nick="none"
              glib:name="GST_AUDIO_BASE_SRC_SLAVE_NONE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiobasesrc.h"
             line="74">No adjustment is done.</doc>
      </member>
    </enumeration>
    <record name="AudioBuffer" c:type="GstAudioBuffer" version="1.16">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-buffer.h"
           line="30">A structure containing the result of an audio buffer map operation,
which is executed with gst_audio_buffer_map(). For non-interleaved (planar)
buffers, the beginning of each channel in the buffer has its own pointer in
the @planes array. For interleaved buffers, the @planes array only contains
one item, which is the pointer to the beginning of the buffer, and @n_planes
equals 1.

The different channels in @planes are always in the GStreamer channel order.</doc>
      <source-position filename="gst-libs/gst/audio/audio-buffer.h" line="65"/>
      <field name="info" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-buffer.h"
             line="32">a #GstAudioInfo describing the audio properties of this buffer</doc>
        <type name="AudioInfo" c:type="GstAudioInfo"/>
      </field>
      <field name="n_samples" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-buffer.h"
             line="33">the size of the buffer in samples</doc>
        <type name="gsize" c:type="gsize"/>
      </field>
      <field name="n_planes" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-buffer.h"
             line="34">the number of planes available</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="planes" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-buffer.h"
             line="35">an array of @n_planes pointers pointing to the start of each
  plane in the mapped buffer</doc>
        <type name="gpointer" c:type="gpointer*"/>
      </field>
      <field name="buffer" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-buffer.h"
             line="37">the mapped buffer</doc>
        <type name="Gst.Buffer" c:type="GstBuffer*"/>
      </field>
      <field name="map_infos" readable="0" private="1">
        <type name="Gst.MapInfo" c:type="GstMapInfo*"/>
      </field>
      <field name="priv_planes_arr" readable="0" private="1">
        <array zero-terminated="0" fixed-size="8">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <field name="priv_map_infos_arr" readable="0" private="1">
        <array zero-terminated="0" fixed-size="8">
          <type name="Gst.MapInfo" c:type="GstMapInfo"/>
        </array>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <method name="unmap"
              c:identifier="gst_audio_buffer_unmap"
              version="1.16">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-buffer.c"
             line="54">Unmaps an audio buffer that was previously mapped with
gst_audio_buffer_map().</doc>
        <source-position filename="gst-libs/gst/audio/audio-buffer.h"
                         line="81"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-buffer.c"
                 line="56">the #GstAudioBuffer to unmap</doc>
            <type name="AudioBuffer" c:type="GstAudioBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <function name="clip" c:identifier="gst_audio_buffer_clip">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio.c"
             line="58">Clip the buffer to the given %GstSegment.

After calling this function the caller does not own a reference to
@buffer anymore.</doc>
        <source-position filename="gst-libs/gst/audio/audio.h" line="97"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio.c"
               line="72">%NULL if the buffer is completely outside the configured segment,
otherwise the clipped buffer is returned.

If the buffer has no timestamp, it is assumed to be inside the segment and
is not clipped</doc>
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </return-value>
        <parameters>
          <parameter name="buffer" transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio.c"
                 line="60">The buffer to clip.</doc>
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </parameter>
          <parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio.c"
                 line="61">Segment in %GST_FORMAT_TIME or %GST_FORMAT_DEFAULT to which
          the buffer should be clipped.</doc>
            <type name="Gst.Segment" c:type="const GstSegment*"/>
          </parameter>
          <parameter name="rate" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio.c"
                 line="63">sample rate.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="bpf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio.c"
                 line="64">size of one audio frame in bytes. This is the size of one sample *
number of channels.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </function>
      <function name="map" c:identifier="gst_audio_buffer_map" version="1.16">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-buffer.c"
             line="69">Maps an audio @gstbuffer so that it can be read or written and stores the
result of the map operation in @buffer.

This is especially useful when the @gstbuffer is in non-interleaved (planar)
layout, in which case this function will use the information in the
@gstbuffer's attached #GstAudioMeta in order to map each channel in a
separate "plane" in #GstAudioBuffer. If a #GstAudioMeta is not attached
on the @gstbuffer, then it must be in interleaved layout.

If a #GstAudioMeta is attached, then the #GstAudioInfo on the meta is checked
against @info. Normally, they should be equal, but in case they are not,
a g_critical will be printed and the #GstAudioInfo from the meta will be
used.

In non-interleaved buffers, it is possible to have each channel on a separate
#GstMemory. In this case, each memory will be mapped separately to avoid
copying their contents in a larger memory area. Do note though that it is
not supported to have a single channel spanning over two or more different
#GstMemory objects. Although the map operation will likely succeed in this
case, it will be highly sub-optimal and it is recommended to merge all the
memories in the buffer before calling this function.

Note: The actual #GstBuffer is not ref'ed, but it is required to stay valid
as long as it's mapped.</doc>
        <source-position filename="gst-libs/gst/audio/audio-buffer.h"
                         line="77"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-buffer.c"
               line="101">%TRUE if the map operation succeeded or %FALSE on failure</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="buffer"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-buffer.c"
                 line="71">pointer to a #GstAudioBuffer</doc>
            <type name="AudioBuffer" c:type="GstAudioBuffer*"/>
          </parameter>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-buffer.c"
                 line="72">the audio properties of the buffer</doc>
            <type name="AudioInfo" c:type="const GstAudioInfo*"/>
          </parameter>
          <parameter name="gstbuffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-buffer.c"
                 line="73">the #GstBuffer to be mapped</doc>
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-buffer.c"
                 line="74">the access mode for the memory</doc>
            <type name="Gst.MapFlags" c:type="GstMapFlags"/>
          </parameter>
        </parameters>
      </function>
      <function name="reorder_channels"
                c:identifier="gst_audio_buffer_reorder_channels">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.c"
             line="316">Reorders @buffer 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.
@buffer must be writable.</doc>
        <source-position filename="gst-libs/gst/audio/audio-channels.h"
                         line="157"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="329">%TRUE if the reordering was possible.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-channels.c"
                 line="318">The buffer to reorder.</doc>
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-channels.c"
                 line="319">The %GstAudioFormat of the buffer.</doc>
            <type name="AudioFormat" c:type="GstAudioFormat"/>
          </parameter>
          <parameter name="channels" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-channels.c"
                 line="320">The number of channels.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="from" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-channels.c"
                 line="321">The channel positions in the buffer.</doc>
            <array length="2"
                   zero-terminated="0"
                   c:type="const GstAudioChannelPosition*">
              <type name="AudioChannelPosition"
                    c:type="GstAudioChannelPosition"/>
            </array>
          </parameter>
          <parameter name="to" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-channels.c"
                 line="322">The channel positions to convert to.</doc>
            <array length="2"
                   zero-terminated="0"
                   c:type="const GstAudioChannelPosition*">
              <type name="AudioChannelPosition"
                    c:type="GstAudioChannelPosition"/>
            </array>
          </parameter>
        </parameters>
      </function>
      <function name="truncate"
                c:identifier="gst_audio_buffer_truncate"
                version="1.16">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio.c"
             line="247">Truncate the buffer to finally have @samples number of samples, removing
the necessary amount of samples from the end and @trim number of samples
from the beginning.

This function does not know the audio rate, therefore the caller is
responsible for re-setting the correct timestamp and duration to the
buffer. However, timestamp will be preserved if trim == 0, and duration
will also be preserved if there is no trimming to be done. Offset and
offset end will be preserved / updated.

After calling this function the caller does not own a reference to
@buffer anymore.</doc>
        <source-position filename="gst-libs/gst/audio/audio.h" line="102"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio.c"
               line="270">the truncated buffer</doc>
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </return-value>
        <parameters>
          <parameter name="buffer" transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio.c"
                 line="249">The buffer to truncate.</doc>
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </parameter>
          <parameter name="bpf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio.c"
                 line="250">size of one audio frame in bytes. This is the size of one sample *
number of channels.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="trim" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio.c"
                 line="252">the number of samples to remove from the beginning of the buffer</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="samples" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio.c"
                 line="253">the final number of samples that should exist in this buffer or -1
to use all the remaining samples if you are only removing samples from the
beginning.</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <class name="AudioCdSrc"
           c:symbol-prefix="audio_cd_src"
           c:type="GstAudioCdSrc"
           parent="GstBase.PushSrc"
           glib:type-name="GstAudioCdSrc"
           glib:get-type="gst_audio_cd_src_get_type"
           glib:type-struct="AudioCdSrcClass">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiocdsrc.c"
           line="37">Provides a base class for CD digital audio (CDDA) sources, which handles
things like seeking, querying, discid calculation, tags, and buffer
timestamping.

## Using GstAudioCdSrc-based elements in applications

GstAudioCdSrc registers two #GstFormat&lt;!-- --&gt;s of its own, namely
the "track" format and the "sector" format. Applications will usually
only find the "track" format interesting. You can retrieve that #GstFormat
for use in seek events or queries with gst_format_get_by_nick("track").

In order to query the number of tracks, for example, an application would
set the CDDA source element to READY or PAUSED state and then query the
the number of tracks via gst_element_query_duration() using the track
format acquired above. Applications can query the currently playing track
in the same way.

Alternatively, applications may retrieve the currently playing track and
the total number of tracks from the taglist that will posted on the bus
whenever the CD is opened or the currently playing track changes. The
taglist will contain GST_TAG_TRACK_NUMBER and GST_TAG_TRACK_COUNT tags.

Applications playing back CD audio using playbin and cdda://n URIs should
issue a seek command in track format to change between tracks, rather than
setting a new cdda://n+1 URI on playbin (as setting a new URI on playbin
involves closing and re-opening the CD device, which is much much slower).

## Tags and meta-information

CDDA sources will automatically emit a number of tags, details about which
can be found in the libgsttag documentation. Those tags are:
#GST_TAG_CDDA_CDDB_DISCID, #GST_TAG_CDDA_CDDB_DISCID_FULL,
#GST_TAG_CDDA_MUSICBRAINZ_DISCID, #GST_TAG_CDDA_MUSICBRAINZ_DISCID_FULL,
among others.

## Tracks and Table of Contents (TOC)

Applications will be informed of the available tracks via a TOC message
on the pipeline's #GstBus. The #GstToc will contain a #GstTocEntry for
each track, with information about each track. The duration for each
track can be retrieved via the #GST_TAG_DURATION tag from each entry's
tag list, or calculated via gst_toc_entry_get_start_stop_times().
The track entries in the TOC will be sorted by track number.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiocdsrc.h"
                       line="132"/>
      <implements name="Gst.URIHandler"/>
      <virtual-method name="close">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiocdsrc.h"
             line="104">closing the device</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiocdsrc.h"
                         line="116"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <type name="AudioCdSrc" c:type="GstAudioCdSrc*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="open">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiocdsrc.h"
             line="103">opening the device</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiocdsrc.h"
                         line="115"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <type name="AudioCdSrc" c:type="GstAudioCdSrc*"/>
          </instance-parameter>
          <parameter name="device" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="read_sector">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiocdsrc.h"
             line="105">reading a sector</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiocdsrc.h"
                         line="119"/>
        <return-value transfer-ownership="full">
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <type name="AudioCdSrc" c:type="GstAudioCdSrc*"/>
          </instance-parameter>
          <parameter name="sector" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="add_track" c:identifier="gst_audio_cd_src_add_track">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiocdsrc.c"
             line="1074">CDDA sources use this function from their start vfunc to announce the
available data and audio tracks to the base source class. The caller
should allocate @track on the stack, the base source will do a shallow
copy of the structure (and take ownership of the taglist if there is one).</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiocdsrc.h"
                         line="138"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiocdsrc.c"
               line="1084">FALSE on error, otherwise TRUE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiocdsrc.c"
                 line="1076">a #GstAudioCdSrc</doc>
            <type name="AudioCdSrc" c:type="GstAudioCdSrc*"/>
          </instance-parameter>
          <parameter name="track" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiocdsrc.c"
                 line="1077">address of #GstAudioCdSrcTrack to add</doc>
            <type name="AudioCdSrcTrack" c:type="GstAudioCdSrcTrack*"/>
          </parameter>
        </parameters>
      </method>
      <property name="device"
                writable="1"
                transfer-ownership="none"
                default-value="NULL">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="mode"
                writable="1"
                transfer-ownership="none"
                default-value="GST_AUDIO_CD_SRC_MODE_NORMAL">
        <type name="AudioCdSrcMode"/>
      </property>
      <property name="track"
                writable="1"
                transfer-ownership="none"
                default-value="1">
        <type name="guint" c:type="guint"/>
      </property>
      <field name="pushsrc">
        <type name="GstBase.PushSrc" c:type="GstPushSrc"/>
      </field>
      <field name="tags">
        <type name="Gst.TagList" c:type="GstTagList*"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="AudioCdSrcPrivate" c:type="GstAudioCdSrcPrivate*"/>
      </field>
      <field name="_gst_reserved1" readable="0" private="1">
        <array zero-terminated="0" fixed-size="2">
          <type name="guint" c:type="guint"/>
        </array>
      </field>
      <field name="_gst_reserved2" readable="0" private="1">
        <array zero-terminated="0" fixed-size="2">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="AudioCdSrcClass"
            c:type="GstAudioCdSrcClass"
            glib:is-gtype-struct-for="AudioCdSrc">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiocdsrc.h"
           line="100">Audio CD source base class.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiocdsrc.h"
                       line="132"/>
      <field name="pushsrc_class">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiocdsrc.h"
             line="102">the parent class</doc>
        <type name="GstBase.PushSrcClass" c:type="GstPushSrcClass"/>
      </field>
      <field name="open">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiocdsrc.h"
             line="103">opening the device</doc>
        <callback name="open">
          <source-position filename="gst-libs/gst/audio/gstaudiocdsrc.h"
                           line="115"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="src" transfer-ownership="none">
              <type name="AudioCdSrc" c:type="GstAudioCdSrc*"/>
            </parameter>
            <parameter name="device" transfer-ownership="none">
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="close">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiocdsrc.h"
             line="104">closing the device</doc>
        <callback name="close">
          <source-position filename="gst-libs/gst/audio/gstaudiocdsrc.h"
                           line="116"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="src" transfer-ownership="none">
              <type name="AudioCdSrc" c:type="GstAudioCdSrc*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="read_sector">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiocdsrc.h"
             line="105">reading a sector</doc>
        <callback name="read_sector">
          <source-position filename="gst-libs/gst/audio/gstaudiocdsrc.h"
                           line="119"/>
          <return-value transfer-ownership="full">
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </return-value>
          <parameters>
            <parameter name="src" transfer-ownership="none">
              <type name="AudioCdSrc" c:type="GstAudioCdSrc*"/>
            </parameter>
            <parameter name="sector" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <enumeration name="AudioCdSrcMode"
                 glib:type-name="GstAudioCdSrcMode"
                 glib:get-type="gst_audio_cd_src_mode_get_type"
                 c:type="GstAudioCdSrcMode">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiocdsrc.h"
           line="44">Mode in which the CD audio source operates. Influences timestamping,
EOS handling and seeking.</doc>
      <member name="normal"
              value="0"
              c:identifier="GST_AUDIO_CD_SRC_MODE_NORMAL"
              glib:nick="normal"
              glib:name="GST_AUDIO_CD_SRC_MODE_NORMAL">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiocdsrc.h"
             line="46">each single track is a stream</doc>
      </member>
      <member name="continuous"
              value="1"
              c:identifier="GST_AUDIO_CD_SRC_MODE_CONTINUOUS"
              glib:nick="continuous"
              glib:name="GST_AUDIO_CD_SRC_MODE_CONTINUOUS">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiocdsrc.h"
             line="47">the entire disc is a single stream</doc>
      </member>
    </enumeration>
    <record name="AudioCdSrcPrivate"
            c:type="GstAudioCdSrcPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gst-libs/gst/audio/gstaudiocdsrc.h"
                       line="42"/>
    </record>
    <record name="AudioCdSrcTrack" c:type="GstAudioCdSrcTrack">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiocdsrc.h"
           line="57">CD track abstraction to communicate TOC entries to the base class.

This structure is only for use by sub-classed in connection with
gst_audio_cd_src_add_track().

Applications will be informed of the available tracks via a TOC message
on the pipeline's #GstBus instead.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiocdsrc.h"
                       line="84"/>
      <field name="is_audio" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiocdsrc.h"
             line="59">Whether this is an audio track</doc>
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="num" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiocdsrc.h"
             line="60">Track number in TOC (usually starts from 1, but not always)</doc>
        <type name="guint" c:type="guint"/>
      </field>
      <field name="start" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiocdsrc.h"
             line="61">The first sector of this track (LBA)</doc>
        <type name="guint" c:type="guint"/>
      </field>
      <field name="end" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiocdsrc.h"
             line="62">The last sector of this track (LBA)</doc>
        <type name="guint" c:type="guint"/>
      </field>
      <field name="tags" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiocdsrc.h"
             line="63">Track-specific tags (e.g. from cd-text information), or NULL</doc>
        <type name="Gst.TagList" c:type="GstTagList*"/>
      </field>
      <field name="_gst_reserved1" readable="0" private="1">
        <array zero-terminated="0" fixed-size="2">
          <type name="guint" c:type="guint"/>
        </array>
      </field>
      <field name="_gst_reserved2" readable="0" private="1">
        <array zero-terminated="0" fixed-size="2">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="AudioChannelMixer"
            c:type="GstAudioChannelMixer"
            disguised="1"
            opaque="1">
      <source-position filename="gst-libs/gst/audio/audio-channel-mixer.h"
                       line="29"/>
      <method name="free" c:identifier="gst_audio_channel_mixer_free">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channel-mixer.c"
             line="100">Free memory allocated by @mix.</doc>
        <source-position filename="gst-libs/gst/audio/audio-channel-mixer.h"
                         line="65"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="mix" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-channel-mixer.c"
                 line="102">a #GstAudioChannelMixer</doc>
            <type name="AudioChannelMixer" c:type="GstAudioChannelMixer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_passthrough"
              c:identifier="gst_audio_channel_mixer_is_passthrough">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channel-mixer.c"
             line="1399">Check if @mix is in passthrough.

Only N x N mix identity matrices are considered passthrough,
this is determined by comparing the contents of the matrix
with 0.0 and 1.0.

As this is floating point comparisons, if the values have been
generated, they should be rounded up or down by explicit
assignment of 0.0 or 1.0 to values within a user-defined
epsilon, this code doesn't make assumptions as to what may
constitute an appropriate epsilon.</doc>
        <source-position filename="gst-libs/gst/audio/audio-channel-mixer.h"
                         line="72"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channel-mixer.c"
               line="1415">%TRUE is @mix is passthrough.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="mix" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-channel-mixer.c"
                 line="1401">a #GstAudioChannelMixer</doc>
            <type name="AudioChannelMixer" c:type="GstAudioChannelMixer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="samples"
              c:identifier="gst_audio_channel_mixer_samples"
              introspectable="0">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channel-mixer.c"
             line="1442">In case the samples are interleaved, @in and @out must point to an
array with a single element pointing to a block of interleaved samples.

If non-interleaved samples are used, @in and @out must point to an
array with pointers to memory blocks, one for each channel.

Perform channel mixing on @in_data and write the result to @out_data.
@in_data and @out_data need to be in @format and @layout.</doc>
        <source-position filename="gst-libs/gst/audio/audio-channel-mixer.h"
                         line="79"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="mix" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-channel-mixer.c"
                 line="1444">a #GstAudioChannelMixer</doc>
            <type name="AudioChannelMixer" c:type="GstAudioChannelMixer*"/>
          </instance-parameter>
          <parameter name="in" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-channel-mixer.c"
                 line="1445">input samples</doc>
            <array zero-terminated="0" c:type="const gpointer*">
              <type name="gpointer"/>
            </array>
          </parameter>
          <parameter name="out" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-channel-mixer.c"
                 line="1446">output samples</doc>
            <array zero-terminated="0" c:type="gpointer*">
              <type name="gpointer"/>
            </array>
          </parameter>
          <parameter name="samples" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-channel-mixer.c"
                 line="1447">number of samples</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <function name="new"
                c:identifier="gst_audio_channel_mixer_new"
                introspectable="0">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channel-mixer.c"
             line="1365">Create a new channel mixer object for the given parameters.</doc>
        <source-position filename="gst-libs/gst/audio/audio-channel-mixer.h"
                         line="50"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channel-mixer.c"
               line="1375">a new #GstAudioChannelMixer object.
  Free with gst_audio_channel_mixer_free() after usage.</doc>
          <type name="AudioChannelMixer" c:type="GstAudioChannelMixer*"/>
        </return-value>
        <parameters>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-channel-mixer.c"
                 line="1367">#GstAudioChannelMixerFlags</doc>
            <type name="AudioChannelMixerFlags"
                  c:type="GstAudioChannelMixerFlags"/>
          </parameter>
          <parameter name="format" transfer-ownership="none">
            <type name="AudioFormat" c:type="GstAudioFormat"/>
          </parameter>
          <parameter name="in_channels" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-channel-mixer.c"
                 line="1368">number of input channels</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="in_position" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-channel-mixer.c"
                 line="1369">positions of input channels</doc>
            <array length="2"
                   zero-terminated="0"
                   c:type="GstAudioChannelPosition*">
              <type name="AudioChannelPosition"
                    c:type="GstAudioChannelPosition"/>
            </array>
          </parameter>
          <parameter name="out_channels" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-channel-mixer.c"
                 line="1370">number of output channels</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="out_position" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-channel-mixer.c"
                 line="1371">positions of output channels</doc>
            <array length="4"
                   zero-terminated="0"
                   c:type="GstAudioChannelPosition*">
              <type name="AudioChannelPosition"
                    c:type="GstAudioChannelPosition"/>
            </array>
          </parameter>
        </parameters>
      </function>
      <function name="new_with_matrix"
                c:identifier="gst_audio_channel_mixer_new_with_matrix"
                version="1.14"
                introspectable="0">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channel-mixer.c"
             line="1125">Create a new channel mixer object for the given parameters.</doc>
        <source-position filename="gst-libs/gst/audio/audio-channel-mixer.h"
                         line="58"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channel-mixer.c"
               line="1136">a new #GstAudioChannelMixer object.
  Free with gst_audio_channel_mixer_free() after usage.</doc>
          <type name="AudioChannelMixer" c:type="GstAudioChannelMixer*"/>
        </return-value>
        <parameters>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-channel-mixer.c"
                 line="1127">#GstAudioChannelMixerFlags</doc>
            <type name="AudioChannelMixerFlags"
                  c:type="GstAudioChannelMixerFlags"/>
          </parameter>
          <parameter name="format" transfer-ownership="none">
            <type name="AudioFormat" c:type="GstAudioFormat"/>
          </parameter>
          <parameter name="in_channels" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-channel-mixer.c"
                 line="1128">number of input channels</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="out_channels" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-channel-mixer.c"
                 line="1129">number of output channels</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="matrix"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-channel-mixer.c"
                 line="1130">channel conversion matrix, m[@in_channels][@out_channels].
  If identity matrix, passthrough applies. If %NULL, a (potentially truncated)
  identity matrix is generated.</doc>
            <array zero-terminated="0" c:type="gfloat**">
              <type name="gfloat"/>
            </array>
          </parameter>
        </parameters>
      </function>
    </record>
    <bitfield name="AudioChannelMixerFlags"
              glib:type-name="GstAudioChannelMixerFlags"
              glib:get-type="gst_audio_channel_mixer_flags_get_type"
              c:type="GstAudioChannelMixerFlags">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-channel-mixer.h"
           line="31">Flags passed to gst_audio_channel_mixer_new()</doc>
      <member name="none"
              value="0"
              c:identifier="GST_AUDIO_CHANNEL_MIXER_FLAGS_NONE"
              glib:nick="none"
              glib:name="GST_AUDIO_CHANNEL_MIXER_FLAGS_NONE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channel-mixer.h"
             line="33">no flag</doc>
      </member>
      <member name="non_interleaved_in"
              value="1"
              c:identifier="GST_AUDIO_CHANNEL_MIXER_FLAGS_NON_INTERLEAVED_IN"
              glib:nick="non-interleaved-in"
              glib:name="GST_AUDIO_CHANNEL_MIXER_FLAGS_NON_INTERLEAVED_IN">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channel-mixer.h"
             line="34">input channels are not interleaved</doc>
      </member>
      <member name="non_interleaved_out"
              value="2"
              c:identifier="GST_AUDIO_CHANNEL_MIXER_FLAGS_NON_INTERLEAVED_OUT"
              glib:nick="non-interleaved-out"
              glib:name="GST_AUDIO_CHANNEL_MIXER_FLAGS_NON_INTERLEAVED_OUT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channel-mixer.h"
             line="35">output channels are not interleaved</doc>
      </member>
      <member name="unpositioned_in"
              value="4"
              c:identifier="GST_AUDIO_CHANNEL_MIXER_FLAGS_UNPOSITIONED_IN"
              glib:nick="unpositioned-in"
              glib:name="GST_AUDIO_CHANNEL_MIXER_FLAGS_UNPOSITIONED_IN">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channel-mixer.h"
             line="36">input channels are explicitly unpositioned</doc>
      </member>
      <member name="unpositioned_out"
              value="8"
              c:identifier="GST_AUDIO_CHANNEL_MIXER_FLAGS_UNPOSITIONED_OUT"
              glib:nick="unpositioned-out"
              glib:name="GST_AUDIO_CHANNEL_MIXER_FLAGS_UNPOSITIONED_OUT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channel-mixer.h"
             line="37">output channels are explicitly unpositioned</doc>
      </member>
    </bitfield>
    <enumeration name="AudioChannelPosition"
                 glib:type-name="GstAudioChannelPosition"
                 glib:get-type="gst_audio_channel_position_get_type"
                 c:type="GstAudioChannelPosition">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-channels.h"
           line="31">Audio channel positions.

These are the channels defined in SMPTE 2036-2-2008
Table 1 for 22.2 audio systems with the Surround and Wide channels from
DTS Coherent Acoustics (v.1.3.1) and 10.2 and 7.1 layouts. In the caps the
actual channel layout is expressed with a channel count and a channel mask,
which describes the existing channels. The positions in the bit mask correspond
to the enum values.
For negotiation it is allowed to have more bits set in the channel mask than
the number of channels to specify the allowed channel positions but this is
not allowed in negotiated caps. It is not allowed in any situation other
than the one mentioned below to have less bits set in the channel mask than
the number of channels.

@GST_AUDIO_CHANNEL_POSITION_MONO can only be used with a single mono channel that
has no direction information and would be mixed into all directional channels.
This is expressed in caps by having a single channel and no channel mask.

@GST_AUDIO_CHANNEL_POSITION_NONE can only be used if all channels have this position.
This is expressed in caps by having a channel mask with no bits set.

As another special case it is allowed to have two channels without a channel mask.
This implicitly means that this is a stereo stream with a front left and front right
channel.</doc>
      <member name="none"
              value="-3"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_NONE"
              glib:nick="none"
              glib:name="GST_AUDIO_CHANNEL_POSITION_NONE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="67">used for position-less channels, e.g.
    from a sound card that records 1024 channels; mutually exclusive with
    any other channel position</doc>
      </member>
      <member name="mono"
              value="-2"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_MONO"
              glib:nick="mono"
              glib:name="GST_AUDIO_CHANNEL_POSITION_MONO">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="33">Mono without direction;
    can only be used with 1 channel</doc>
      </member>
      <member name="invalid"
              value="-1"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_INVALID"
              glib:nick="invalid"
              glib:name="GST_AUDIO_CHANNEL_POSITION_INVALID">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="70">invalid position</doc>
      </member>
      <member name="front_left"
              value="0"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT"
              glib:nick="front-left"
              glib:name="GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="35">Front left</doc>
      </member>
      <member name="front_right"
              value="1"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT"
              glib:nick="front-right"
              glib:name="GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="36">Front right</doc>
      </member>
      <member name="front_center"
              value="2"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER"
              glib:nick="front-center"
              glib:name="GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="37">Front center</doc>
      </member>
      <member name="lfe1"
              value="3"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_LFE1"
              glib:nick="lfe1"
              glib:name="GST_AUDIO_CHANNEL_POSITION_LFE1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="38">Low-frequency effects 1 (subwoofer)</doc>
      </member>
      <member name="rear_left"
              value="4"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_REAR_LEFT"
              glib:nick="rear-left"
              glib:name="GST_AUDIO_CHANNEL_POSITION_REAR_LEFT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="39">Rear left</doc>
      </member>
      <member name="rear_right"
              value="5"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT"
              glib:nick="rear-right"
              glib:name="GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="40">Rear right</doc>
      </member>
      <member name="front_left_of_center"
              value="6"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER"
              glib:nick="front-left-of-center"
              glib:name="GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="41">Front left of center</doc>
      </member>
      <member name="front_right_of_center"
              value="7"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER"
              glib:nick="front-right-of-center"
              glib:name="GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="42">Front right of center</doc>
      </member>
      <member name="rear_center"
              value="8"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_REAR_CENTER"
              glib:nick="rear-center"
              glib:name="GST_AUDIO_CHANNEL_POSITION_REAR_CENTER">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="43">Rear center</doc>
      </member>
      <member name="lfe2"
              value="9"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_LFE2"
              glib:nick="lfe2"
              glib:name="GST_AUDIO_CHANNEL_POSITION_LFE2">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="44">Low-frequency effects 2 (subwoofer)</doc>
      </member>
      <member name="side_left"
              value="10"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT"
              glib:nick="side-left"
              glib:name="GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="45">Side left</doc>
      </member>
      <member name="side_right"
              value="11"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT"
              glib:nick="side-right"
              glib:name="GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="46">Side right</doc>
      </member>
      <member name="top_front_left"
              value="12"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_LEFT"
              glib:nick="top-front-left"
              glib:name="GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_LEFT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="47">Top front left</doc>
      </member>
      <member name="top_front_right"
              value="13"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_RIGHT"
              glib:nick="top-front-right"
              glib:name="GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_RIGHT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="48">Top front right</doc>
      </member>
      <member name="top_front_center"
              value="14"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_CENTER"
              glib:nick="top-front-center"
              glib:name="GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_CENTER">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="49">Top front center</doc>
      </member>
      <member name="top_center"
              value="15"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_TOP_CENTER"
              glib:nick="top-center"
              glib:name="GST_AUDIO_CHANNEL_POSITION_TOP_CENTER">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="50">Top center</doc>
      </member>
      <member name="top_rear_left"
              value="16"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_TOP_REAR_LEFT"
              glib:nick="top-rear-left"
              glib:name="GST_AUDIO_CHANNEL_POSITION_TOP_REAR_LEFT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="51">Top rear left</doc>
      </member>
      <member name="top_rear_right"
              value="17"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_TOP_REAR_RIGHT"
              glib:nick="top-rear-right"
              glib:name="GST_AUDIO_CHANNEL_POSITION_TOP_REAR_RIGHT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="52">Top rear right</doc>
      </member>
      <member name="top_side_left"
              value="18"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_TOP_SIDE_LEFT"
              glib:nick="top-side-left"
              glib:name="GST_AUDIO_CHANNEL_POSITION_TOP_SIDE_LEFT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="53">Top side right</doc>
      </member>
      <member name="top_side_right"
              value="19"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_TOP_SIDE_RIGHT"
              glib:nick="top-side-right"
              glib:name="GST_AUDIO_CHANNEL_POSITION_TOP_SIDE_RIGHT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="54">Top rear right</doc>
      </member>
      <member name="top_rear_center"
              value="20"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_TOP_REAR_CENTER"
              glib:nick="top-rear-center"
              glib:name="GST_AUDIO_CHANNEL_POSITION_TOP_REAR_CENTER">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="55">Top rear center</doc>
      </member>
      <member name="bottom_front_center"
              value="21"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_CENTER"
              glib:nick="bottom-front-center"
              glib:name="GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_CENTER">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="56">Bottom front center</doc>
      </member>
      <member name="bottom_front_left"
              value="22"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_LEFT"
              glib:nick="bottom-front-left"
              glib:name="GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_LEFT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="57">Bottom front left</doc>
      </member>
      <member name="bottom_front_right"
              value="23"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_RIGHT"
              glib:nick="bottom-front-right"
              glib:name="GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_RIGHT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="58">Bottom front right</doc>
      </member>
      <member name="wide_left"
              value="24"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_WIDE_LEFT"
              glib:nick="wide-left"
              glib:name="GST_AUDIO_CHANNEL_POSITION_WIDE_LEFT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="59">Wide left (between front left and side left)</doc>
      </member>
      <member name="wide_right"
              value="25"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_WIDE_RIGHT"
              glib:nick="wide-right"
              glib:name="GST_AUDIO_CHANNEL_POSITION_WIDE_RIGHT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="60">Wide right (between front right and side right)</doc>
      </member>
      <member name="surround_left"
              value="26"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_SURROUND_LEFT"
              glib:nick="surround-left"
              glib:name="GST_AUDIO_CHANNEL_POSITION_SURROUND_LEFT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="61">Surround left (between rear left and side left)</doc>
      </member>
      <member name="surround_right"
              value="27"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_SURROUND_RIGHT"
              glib:nick="surround-right"
              glib:name="GST_AUDIO_CHANNEL_POSITION_SURROUND_RIGHT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="62">Surround right (between rear right and side right)</doc>
      </member>
      <member name="top_surround_left"
              value="28"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_TOP_SURROUND_LEFT"
              version="1.26"
              glib:nick="top-surround-left"
              glib:name="GST_AUDIO_CHANNEL_POSITION_TOP_SURROUND_LEFT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="135">Top surround left (between rear left and side left).</doc>
      </member>
      <member name="top_surround_right"
              value="29"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_TOP_SURROUND_RIGHT"
              version="1.26"
              glib:nick="top-surround-right"
              glib:name="GST_AUDIO_CHANNEL_POSITION_TOP_SURROUND_RIGHT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.h"
             line="144">Top surround right (between rear right and side right).</doc>
      </member>
    </enumeration>
    <record name="AudioClippingMeta"
            c:type="GstAudioClippingMeta"
            version="1.8">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiometa.h"
           line="85">Extra buffer metadata describing how much audio has to be clipped from
the start or end of a buffer. This is used for compressed formats, where
the first frame usually has some additional samples due to encoder and
decoder delays, and the last frame usually has some additional samples to
be able to fill the complete last frame.

This is used to ensure that decoded data in the end has the same amount of
samples, and multiply decoded streams can be gaplessly concatenated.

Note: If clipping of the start is done by adjusting the segment, this meta
has to be dropped from buffers as otherwise clipping could happen twice.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h"
                       line="112"/>
      <field name="meta" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.h"
             line="87">parent #GstMeta</doc>
        <type name="Gst.Meta" c:type="GstMeta"/>
      </field>
      <field name="format" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.h"
             line="88">GstFormat of @start and @stop, GST_FORMAT_DEFAULT is samples</doc>
        <type name="Gst.Format" c:type="GstFormat"/>
      </field>
      <field name="start" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.h"
             line="89">Amount of audio to clip from start of buffer</doc>
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="end" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.h"
             line="90">Amount of  to clip from end of buffer</doc>
        <type name="guint64" c:type="guint64"/>
      </field>
      <function name="get_info"
                c:identifier="gst_audio_clipping_meta_get_info">
        <source-position filename="gst-libs/gst/audio/gstaudiometa.h"
                         line="118"/>
        <return-value transfer-ownership="none">
          <type name="Gst.MetaInfo" c:type="const GstMetaInfo*"/>
        </return-value>
      </function>
    </record>
    <class name="AudioClock"
           c:symbol-prefix="audio_clock"
           c:type="GstAudioClock"
           parent="Gst.SystemClock"
           glib:type-name="GstAudioClock"
           glib:get-type="gst_audio_clock_get_type"
           glib:type-struct="AudioClockClass">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioclock.c"
           line="23">#GstAudioClock makes it easy for elements to implement a #GstClock, they
simply need to provide a function that returns the current clock time.

This object is internally used to implement the clock in #GstAudioBaseSink.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudioclock.h"
                       line="90"/>
      <constructor name="new" c:identifier="gst_audio_clock_new">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioclock.c"
             line="89">Create a new #GstAudioClock instance. Whenever the clock time should be
calculated it will call @func with @user_data. When @func returns
#GST_CLOCK_TIME_NONE, the clock will return the last reported time.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioclock.h"
                         line="96"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioclock.c"
               line="100">a new #GstAudioClock casted to a #GstClock.</doc>
          <type name="Gst.Clock" c:type="GstClock*"/>
        </return-value>
        <parameters>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioclock.c"
                 line="91">the name of the clock</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="notified"
                     closure="2"
                     destroy="3">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioclock.c"
                 line="92">a function</doc>
            <type name="AudioClockGetTimeFunc"
                  c:type="GstAudioClockGetTimeFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioclock.c"
                 line="93">user data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="destroy_notify"
                     transfer-ownership="none"
                     scope="async">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioclock.c"
                 line="94">#GDestroyNotify for @user_data</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="adjust" c:identifier="gst_audio_clock_adjust">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioclock.c"
             line="207">Adjust @time with the internal offset of the audio clock.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioclock.h"
                         line="106"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioclock.c"
               line="214">@time adjusted with the internal offset.</doc>
          <type name="Gst.ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioclock.c"
                 line="209">a #GstAudioClock</doc>
            <type name="AudioClock" c:type="GstAudioClock*"/>
          </instance-parameter>
          <parameter name="time" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioclock.c"
                 line="210">a #GstClockTime</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_time" c:identifier="gst_audio_clock_get_time">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioclock.c"
             line="180">Report the time as returned by the #GstAudioClockGetTimeFunc without applying
any offsets.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioclock.h"
                         line="103"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioclock.c"
               line="187">the time as reported by the time function of the audio clock</doc>
          <type name="Gst.ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioclock.c"
                 line="182">a #GstAudioClock</doc>
            <type name="AudioClock" c:type="GstAudioClock*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="invalidate" c:identifier="gst_audio_clock_invalidate">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioclock.c"
             line="226">Invalidate the clock function. Call this function when the provided
#GstAudioClockGetTimeFunc cannot be called anymore, for example, when the
user_data becomes invalid.

After calling this function, @clock will return the last returned time for
the rest of its lifetime.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioclock.h"
                         line="109"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioclock.c"
                 line="228">a #GstAudioClock</doc>
            <type name="AudioClock" c:type="GstAudioClock*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="reset" c:identifier="gst_audio_clock_reset">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioclock.c"
             line="119">Inform @clock that future calls to #GstAudioClockGetTimeFunc will return values
starting from @time. The clock will update an internal offset to make sure that
future calls to internal_time will return an increasing result as required by
the #GstClock object.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioclock.h"
                         line="100"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioclock.c"
                 line="121">a #GstAudioClock</doc>
            <type name="AudioClock" c:type="GstAudioClock*"/>
          </instance-parameter>
          <parameter name="time" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioclock.c"
                 line="122">a #GstClockTime</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <field name="clock">
        <type name="Gst.SystemClock" c:type="GstSystemClock"/>
      </field>
      <field name="func">
        <type name="AudioClockGetTimeFunc" c:type="GstAudioClockGetTimeFunc"/>
      </field>
      <field name="user_data">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="destroy_notify">
        <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
      </field>
      <field name="last_time" readable="0" private="1">
        <type name="Gst.ClockTime" c:type="GstClockTime"/>
      </field>
      <field name="time_offset" readable="0" private="1">
        <type name="Gst.ClockTimeDiff" c:type="GstClockTimeDiff"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="AudioClockClass"
            c:type="GstAudioClockClass"
            glib:is-gtype-struct-for="AudioClock">
      <source-position filename="gst-libs/gst/audio/gstaudioclock.h"
                       line="90"/>
      <field name="parent_class">
        <type name="Gst.SystemClockClass" c:type="GstSystemClockClass"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <callback name="AudioClockGetTimeFunc" c:type="GstAudioClockGetTimeFunc">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioclock.h"
           line="51">This function will be called whenever the current clock time needs to be
calculated. If this function returns #GST_CLOCK_TIME_NONE, the last reported
time will be returned by the clock.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudioclock.h"
                       line="63"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioclock.h"
             line="60">the current time or #GST_CLOCK_TIME_NONE if the previous time should
be used.</doc>
        <type name="Gst.ClockTime" c:type="GstClockTime"/>
      </return-value>
      <parameters>
        <parameter name="clock" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioclock.h"
               line="53">the #GstAudioClock</doc>
          <type name="Gst.Clock" c:type="GstClock*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="1">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioclock.h"
               line="54">user data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="AudioConverter"
            c:type="GstAudioConverter"
            opaque="1"
            version="1.8"
            glib:type-name="GstAudioConverter"
            glib:get-type="gst_audio_converter_get_type"
            c:symbol-prefix="audio_converter">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-converter.c"
           line="33">This object is used to convert audio samples from one format to another.
The object can perform conversion of:

 * audio format with optional dithering and noise shaping

 * audio samplerate

 * audio channels and channel layout</doc>
      <source-position filename="gst-libs/gst/audio/audio-converter.h"
                       line="38"/>
      <constructor name="new" c:identifier="gst_audio_converter_new">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-converter.c"
             line="1330">Create a new #GstAudioConverter that is able to convert between @in and @out
audio formats.

@config contains extra configuration options, see `GST_AUDIO_CONVERTER_OPT_*`
parameters for details about the options and values.</doc>
        <source-position filename="gst-libs/gst/audio/audio-converter.h"
                         line="137"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-converter.c"
               line="1343">a #GstAudioConverter or %NULL if conversion is not possible.</doc>
          <type name="AudioConverter" c:type="GstAudioConverter*"/>
        </return-value>
        <parameters>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1332">extra #GstAudioConverterFlags</doc>
            <type name="AudioConverterFlags" c:type="GstAudioConverterFlags"/>
          </parameter>
          <parameter name="in_info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1333">a source #GstAudioInfo</doc>
            <type name="AudioInfo" c:type="GstAudioInfo*"/>
          </parameter>
          <parameter name="out_info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1334">a destination #GstAudioInfo</doc>
            <type name="AudioInfo" c:type="GstAudioInfo*"/>
          </parameter>
          <parameter name="config"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1335">a #GstStructure with configuration options</doc>
            <type name="Gst.Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="convert"
              c:identifier="gst_audio_converter_convert"
              version="1.14">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-converter.c"
             line="1625">Convenience wrapper around gst_audio_converter_samples(), which will
perform allocation of the output buffer based on the result from
gst_audio_converter_get_out_frames().</doc>
        <source-position filename="gst-libs/gst/audio/audio-converter.h"
                         line="184"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-converter.c"
               line="1639">%TRUE is the conversion could be performed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="convert" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1627">a #GstAudioConverter</doc>
            <type name="AudioConverter" c:type="GstAudioConverter*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1628">extra #GstAudioConverterFlags</doc>
            <type name="AudioConverterFlags" c:type="GstAudioConverterFlags"/>
          </parameter>
          <parameter name="in" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1629">input data</doc>
            <array length="2" zero-terminated="0" c:type="gpointer">
              <type name="guint8"/>
            </array>
          </parameter>
          <parameter name="in_size" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1630">size of @in</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="out"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1631">a pointer where
 the output data will be written</doc>
            <array length="4" zero-terminated="0" c:type="gpointer*">
              <type name="guint8"/>
            </array>
          </parameter>
          <parameter name="out_size"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1633">a pointer where the size of @out will be written</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </method>
      <method name="free" c:identifier="gst_audio_converter_free">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-converter.c"
             line="1473">Free a previously allocated @convert instance.</doc>
        <source-position filename="gst-libs/gst/audio/audio-converter.h"
                         line="146"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="convert" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1475">a #GstAudioConverter</doc>
            <type name="AudioConverter" c:type="GstAudioConverter*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_config" c:identifier="gst_audio_converter_get_config">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-converter.c"
             line="377">Get the current configuration of @convert.</doc>
        <source-position filename="gst-libs/gst/audio/audio-converter.h"
                         line="157"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-converter.c"
               line="385">
  a #GstStructure that remains valid for as long as @convert is valid
  or until gst_audio_converter_update_config() is called.</doc>
          <type name="Gst.Structure" c:type="const GstStructure*"/>
        </return-value>
        <parameters>
          <instance-parameter name="convert" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="379">a #GstAudioConverter</doc>
            <type name="AudioConverter" c:type="GstAudioConverter*"/>
          </instance-parameter>
          <parameter name="in_rate"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="380">result input rate</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="out_rate"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="381">result output rate</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_in_frames"
              c:identifier="gst_audio_converter_get_in_frames">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-converter.c"
             line="1527">Calculate how many input frames are currently needed by @convert to produce
@out_frames of output frames.</doc>
        <source-position filename="gst-libs/gst/audio/audio-converter.h"
                         line="165"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-converter.c"
               line="1535">the number of input frames</doc>
          <type name="gsize" c:type="gsize"/>
        </return-value>
        <parameters>
          <instance-parameter name="convert" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1529">a #GstAudioConverter</doc>
            <type name="AudioConverter" c:type="GstAudioConverter*"/>
          </instance-parameter>
          <parameter name="out_frames" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1530">number of output frames</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_max_latency"
              c:identifier="gst_audio_converter_get_max_latency">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-converter.c"
             line="1547">Get the maximum number of input frames that the converter would
need before producing output.</doc>
        <source-position filename="gst-libs/gst/audio/audio-converter.h"
                         line="169"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-converter.c"
               line="1554">the latency of @convert as expressed in the number of
frames.</doc>
          <type name="gsize" c:type="gsize"/>
        </return-value>
        <parameters>
          <instance-parameter name="convert" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1549">a #GstAudioConverter</doc>
            <type name="AudioConverter" c:type="GstAudioConverter*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_out_frames"
              c:identifier="gst_audio_converter_get_out_frames">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-converter.c"
             line="1507">Calculate how many output frames can be produced when @in_frames input
frames are given to @convert.</doc>
        <source-position filename="gst-libs/gst/audio/audio-converter.h"
                         line="161"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-converter.c"
               line="1515">the number of output frames</doc>
          <type name="gsize" c:type="gsize"/>
        </return-value>
        <parameters>
          <instance-parameter name="convert" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1509">a #GstAudioConverter</doc>
            <type name="AudioConverter" c:type="GstAudioConverter*"/>
          </instance-parameter>
          <parameter name="in_frames" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1510">number of input frames</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_passthrough"
              c:identifier="gst_audio_converter_is_passthrough"
              version="1.16">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-converter.c"
             line="1681">Returns whether the audio converter will operate in passthrough mode.
The return value would be typically input to gst_base_transform_set_passthrough()</doc>
        <source-position filename="gst-libs/gst/audio/audio-converter.h"
                         line="181"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-converter.c"
               line="1687">%TRUE when no conversion will actually occur.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="convert" transfer-ownership="none">
            <type name="AudioConverter" c:type="GstAudioConverter*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="reset" c:identifier="gst_audio_converter_reset">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-converter.c"
             line="1566">Reset @convert to the state it was when it was first created, clearing
any history it might currently have.</doc>
        <source-position filename="gst-libs/gst/audio/audio-converter.h"
                         line="149"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="convert" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1568">a #GstAudioConverter</doc>
            <type name="AudioConverter" c:type="GstAudioConverter*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="samples"
              c:identifier="gst_audio_converter_samples"
              introspectable="0">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-converter.c"
             line="1582">Perform the conversion with @in_frames in @in to @out_frames in @out
using @convert.

In case the samples are interleaved, @in and @out must point to an
array with a single element pointing to a block of interleaved samples.

If non-interleaved samples are used, @in and @out must point to an
array with pointers to memory blocks, one for each channel.

@in may be %NULL, in which case @in_frames of silence samples are processed
by the converter.

This function always produces @out_frames of output and consumes @in_frames of
input. Use gst_audio_converter_get_out_frames() and
gst_audio_converter_get_in_frames() to make sure @in_frames and @out_frames
are matching and @in and @out point to enough memory.</doc>
        <source-position filename="gst-libs/gst/audio/audio-converter.h"
                         line="172"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-converter.c"
               line="1608">%TRUE is the conversion could be performed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="convert" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1584">a #GstAudioConverter</doc>
            <type name="AudioConverter" c:type="GstAudioConverter*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1585">extra #GstAudioConverterFlags</doc>
            <type name="AudioConverterFlags" c:type="GstAudioConverterFlags"/>
          </parameter>
          <parameter name="in" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1586">input frames</doc>
            <array zero-terminated="0" c:type="gpointer*">
              <type name="gpointer"/>
            </array>
          </parameter>
          <parameter name="in_frames" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1587">number of input frames</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="out" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1588">output frames</doc>
            <array zero-terminated="0" c:type="gpointer*">
              <type name="gpointer"/>
            </array>
          </parameter>
          <parameter name="out_frames" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1589">number of output frames</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </method>
      <method name="supports_inplace"
              c:identifier="gst_audio_converter_supports_inplace"
              version="1.12">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-converter.c"
             line="1664">Returns whether the audio converter can perform the conversion in-place.
The return value would be typically input to gst_base_transform_set_in_place()</doc>
        <source-position filename="gst-libs/gst/audio/audio-converter.h"
                         line="178"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-converter.c"
               line="1671">%TRUE when the conversion can be done in place.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="convert" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="1666">a #GstAudioConverter</doc>
            <type name="AudioConverter" c:type="GstAudioConverter*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="update_config"
              c:identifier="gst_audio_converter_update_config">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-converter.c"
             line="324">Set @in_rate, @out_rate and @config as extra configuration for @convert.

@in_rate and @out_rate specify the new sample rates of input and output
formats. A value of 0 leaves the sample rate unchanged.

@config can be %NULL, in which case, the current configuration is not
changed.

If the parameters in @config can not be set exactly, this function returns
%FALSE and will try to update as much state as possible. The new state can
then be retrieved and refined with gst_audio_converter_get_config().

Look at the `GST_AUDIO_CONVERTER_OPT_*` fields to check valid configuration
option and values.</doc>
        <source-position filename="gst-libs/gst/audio/audio-converter.h"
                         line="152"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-converter.c"
               line="346">%TRUE when the new parameters could be set</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="convert" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="326">a #GstAudioConverter</doc>
            <type name="AudioConverter" c:type="GstAudioConverter*"/>
          </instance-parameter>
          <parameter name="in_rate" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="327">input rate</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="out_rate" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="328">output rate</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="config"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-converter.c"
                 line="329">a #GstStructure or %NULL</doc>
            <type name="Gst.Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </method>
    </record>
    <bitfield name="AudioConverterFlags"
              glib:type-name="GstAudioConverterFlags"
              glib:get-type="gst_audio_converter_flags_get_type"
              c:type="GstAudioConverterFlags">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-converter.h"
           line="120">Extra flags passed to gst_audio_converter_new() and gst_audio_converter_samples().</doc>
      <member name="none"
              value="0"
              c:identifier="GST_AUDIO_CONVERTER_FLAG_NONE"
              glib:nick="none"
              glib:name="GST_AUDIO_CONVERTER_FLAG_NONE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-converter.h"
             line="122">no flag</doc>
      </member>
      <member name="in_writable"
              value="1"
              c:identifier="GST_AUDIO_CONVERTER_FLAG_IN_WRITABLE"
              glib:nick="in-writable"
              glib:name="GST_AUDIO_CONVERTER_FLAG_IN_WRITABLE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-converter.h"
             line="123">the input sample arrays are writable and can be
   used as temporary storage during conversion.</doc>
      </member>
      <member name="variable_rate"
              value="2"
              c:identifier="GST_AUDIO_CONVERTER_FLAG_VARIABLE_RATE"
              glib:nick="variable-rate"
              glib:name="GST_AUDIO_CONVERTER_FLAG_VARIABLE_RATE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-converter.h"
             line="125">allow arbitrary rate updates with
   gst_audio_converter_update_config().</doc>
      </member>
    </bitfield>
    <class name="AudioDecoder"
           c:symbol-prefix="audio_decoder"
           c:type="GstAudioDecoder"
           parent="Gst.Element"
           abstract="1"
           glib:type-name="GstAudioDecoder"
           glib:get-type="gst_audio_decoder_get_type"
           glib:type-struct="AudioDecoderClass">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiodecoder.c"
           line="24">This base class is for audio decoders turning encoded data into
raw audio samples.

GstAudioDecoder and subclass should cooperate as follows.

## Configuration

  * Initially, GstAudioDecoder calls @start when the decoder element
    is activated, which allows subclass to perform any global setup.
    Base class (context) parameters can already be set according to subclass
    capabilities (or possibly upon receive more information in subsequent
    @set_format).
  * GstAudioDecoder calls @set_format to inform subclass of the format
    of input audio data that it is about to receive.
    While unlikely, it might be called more than once, if changing input
    parameters require reconfiguration.
  * GstAudioDecoder calls @stop at end of all processing.

As of configuration stage, and throughout processing, GstAudioDecoder
provides various (context) parameters, e.g. describing the format of
output audio data (valid when output caps have been set) or current parsing state.
Conversely, subclass can and should configure context to inform
base class of its expectation w.r.t. buffer handling.

## Data processing
    * Base class gathers input data, and optionally allows subclass
      to parse this into subsequently manageable (as defined by subclass)
      chunks.  Such chunks are subsequently referred to as 'frames',
      though they may or may not correspond to 1 (or more) audio format frame.
    * Input frame is provided to subclass' @handle_frame.
    * If codec processing results in decoded data, subclass should call
      @gst_audio_decoder_finish_frame to have decoded data pushed
      downstream.
    * Just prior to actually pushing a buffer downstream,
      it is passed to @pre_push.  Subclass should either use this callback
      to arrange for additional downstream pushing or otherwise ensure such
      custom pushing occurs after at least a method call has finished since
      setting src pad caps.
    * During the parsing process GstAudioDecoderClass will handle both
      srcpad and sinkpad events. Sink events will be passed to subclass
      if @event callback has been provided.

## Shutdown phase

  * GstAudioDecoder class calls @stop to inform the subclass that data
    parsing will be stopped.

Subclass is responsible for providing pad template caps for
source and sink pads. The pads need to be named "sink" and "src". It also
needs to set the fixed caps on srcpad, when the format is ensured.  This
is typically when base class calls subclass' @set_format function, though
it might be delayed until calling @gst_audio_decoder_finish_frame.

In summary, above process should have subclass concentrating on
codec data processing while leaving other matters to base class,
such as most notably timestamp handling.  While it may exert more control
in this area (see e.g. @pre_push), it is very much not recommended.

In particular, base class will try to arrange for perfect output timestamps
as much as possible while tracking upstream timestamps.
To this end, if deviation between the next ideal expected perfect timestamp
and upstream exceeds #GstAudioDecoder:tolerance, then resync to upstream
occurs (which would happen always if the tolerance mechanism is disabled).

In non-live pipelines, baseclass can also (configurably) arrange for
output buffer aggregation which may help to redue large(r) numbers of
small(er) buffers being pushed and processed downstream. Note that this
feature is only available if the buffer layout is interleaved. For planar
buffers, the decoder implementation is fully responsible for the output
buffer size.

On the other hand, it should be noted that baseclass only provides limited
seeking support (upon explicit subclass request), as full-fledged support
should rather be left to upstream demuxer, parser or alike.  This simple
approach caters for seeking and duration reporting using estimated input
bitrates.

Things that subclass need to take care of:

  * Provide pad templates
  * Set source pad caps when appropriate
  * Set user-configurable properties to sane defaults for format and
     implementing codec at hand, and convey some subclass capabilities and
     expectations in context.

  * Accept data in @handle_frame and provide encoded results to
     @gst_audio_decoder_finish_frame.  If it is prepared to perform
     PLC, it should also accept NULL data in @handle_frame and provide for
     data for indicated duration.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                       line="320"/>
      <virtual-method name="close">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="219">Optional.
                 Called when the element changes to GST_STATE_NULL.
                 Allows closing external resources.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="299"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="decide_allocation">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="226">Optional.
                    Setup the allocation parameters for allocating output
                    buffers. The passed in query contains the result of the
                    downstream allocation query.
                    Subclasses should chain up to the parent implementation to
                    invoke the default handler.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="303"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="query" transfer-ownership="none">
            <type name="Gst.Query" c:type="GstQuery*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="flush">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="201">Optional.
                 Instructs subclass to clear any codec caches and discard
                 any pending samples and not yet returned decoded data.
                 @hard indicates whether a FLUSH is being processed,
                 or otherwise a DISCONT (or conceptually similar).</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="287"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="hard" transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="getcaps">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="246">Optional.
                 Allows for a custom sink getcaps implementation.
                 If not implemented,
                 default returns gst_audio_decoder_proxy_getcaps
                 applied to sink template caps.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="312"/>
        <return-value transfer-ownership="full">
          <type name="Gst.Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="filter" transfer-ownership="none">
            <type name="Gst.Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="handle_frame">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="196">Provides input data (or NULL to clear any remaining data)
                 to subclass.  Input data ref management is performed by
                 base class, subclass should not care or intervene,
                 and input data is only valid until next call to base class,
                 most notably a call to gst_audio_decoder_finish_frame().</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="284"/>
        <return-value transfer-ownership="none">
          <type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="buffer" transfer-ownership="none">
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="negotiate" invoker="negotiate">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="763">Negotiate with downstream elements to currently configured #GstAudioInfo.
Unmark GST_PAD_FLAG_NEED_RECONFIGURE in any case. But mark it again if
negotiate fails.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="301"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.c"
               line="771">%TRUE if the negotiation succeeded, else %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="765">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="open">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="216">Optional.
                 Called when the element changes to GST_STATE_READY.
                 Allows opening external resources.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="297"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="parse">
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="280"/>
        <return-value transfer-ownership="none">
          <type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="adapter" transfer-ownership="none">
            <type name="GstBase.Adapter" c:type="GstAdapter*"/>
          </parameter>
          <parameter name="offset"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="length"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="pre_push">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="212">Optional.
                 Called just prior to pushing (encoded data) buffer downstream.
                 Subclass has full discretionary access to buffer,
                 and a not OK flow return will abort downstream pushing.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="289"/>
        <return-value transfer-ownership="none">
          <type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="buffer" transfer-ownership="none">
            <type name="Gst.Buffer" c:type="GstBuffer**"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="propose_allocation">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="232">Optional.
                     Propose buffer allocation parameters for upstream elements.
                     Subclasses should chain up to the parent implementation to
                     invoke the default handler.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="305"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="query" transfer-ownership="none">
            <type name="Gst.Query" c:type="GstQuery*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="set_format">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="190">Notifies subclass of incoming data format (caps).</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="272"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="caps" transfer-ownership="none">
            <type name="Gst.Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="sink_event">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="206">Optional.
                 Event handler on the sink pad. Subclasses should chain up to
                 the parent implementation to invoke the default handler.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="292"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="event" transfer-ownership="none">
            <type name="Gst.Event" c:type="GstEvent*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="sink_query">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="236">Optional.
                 Query handler on the sink pad. This function should
                 return TRUE if the query could be performed. Subclasses
                 should chain up to the parent implementation to invoke the
                 default handler. Since: 1.6</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="308"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="query" transfer-ownership="none">
            <type name="Gst.Query" c:type="GstQuery*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="src_event">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="209">Optional.
                 Event handler on the src pad. Subclasses should chain up to
                 the parent implementation to invoke the default handler.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="294"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="event" transfer-ownership="none">
            <type name="Gst.Event" c:type="GstEvent*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="src_query">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="241">Optional.
                 Query handler on the source pad. This function should
                 return TRUE if the query could be performed. Subclasses
                 should chain up to the parent implementation to invoke the
                 default handler. Since: 1.6</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="310"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="query" transfer-ownership="none">
            <type name="Gst.Query" c:type="GstQuery*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="start">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="184">Optional.
                 Called when the element starts processing.
                 Allows opening external resources.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="268"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="stop">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="187">Optional.
                 Called when the element stops processing.
                 Allows closing external resources.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="270"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="transform_meta">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="251">Optional. Transform the metadata on the input buffer to the
                 output buffer. By default this method copies all meta without
                 tags and meta with only the "audio" tag. subclasses can
                 implement this method and return %TRUE if the metadata is to be
                 copied. Since: 1.6</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="315"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="outbuf" transfer-ownership="none">
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </parameter>
          <parameter name="meta" transfer-ownership="none">
            <type name="Gst.Meta" c:type="GstMeta*"/>
          </parameter>
          <parameter name="inbuf" transfer-ownership="none">
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="allocate_output_buffer"
              c:identifier="gst_audio_decoder_allocate_output_buffer">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3797">Helper function that allocates a buffer to hold an audio frame
for @dec's current output format.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="349"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.c"
               line="3805">allocated buffer</doc>
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3799">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3800">size of the buffer</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </method>
      <method name="finish_frame"
              c:identifier="gst_audio_decoder_finish_frame">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="1309">Collects decoded data and pushes it downstream.

@buf may be NULL in which case the indicated number of frames
are discarded and considered to have produced no output
(e.g. lead-in or setup frames).
Otherwise, source pad caps must be set when it is called with valid
data in @buf.

Note that a frame received in #GstAudioDecoderClass.handle_frame() may be
invalidated by a call to this function.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="345"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.c"
               line="1326">a #GstFlowReturn that should be escalated to caller (of caller)</doc>
          <type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="1311">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="buf"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="1312">decoded data</doc>
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </parameter>
          <parameter name="frames" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="1313">number of decoded frames represented by decoded data</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="finish_subframe"
              c:identifier="gst_audio_decoder_finish_subframe"
              version="1.16">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="1275">Collects decoded data and pushes it downstream. This function may be called
multiple times for a given input frame.

@buf may be NULL in which case it is assumed that the current input frame is
finished. This is equivalent to calling gst_audio_decoder_finish_subframe()
with a NULL buffer and frames=1 after having pushed out all decoded audio
subframes using this function.

When called with valid data in @buf the source pad caps must have been set
already.

Note that a frame received in #GstAudioDecoderClass.handle_frame() may be
invalidated by a call to this function.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="341"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.c"
               line="1294">a #GstFlowReturn that should be escalated to caller (of caller)</doc>
          <type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="1277">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="buf"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="1278">decoded data</doc>
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_allocator"
              c:identifier="gst_audio_decoder_get_allocator">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3848">Lets #GstAudioDecoder sub-classes to know the memory @allocator
used by the base class and its @params.

Unref the @allocator after use it.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="438"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3850">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="allocator"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     nullable="1"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3851">the #GstAllocator
used</doc>
            <type name="Gst.Allocator" c:type="GstAllocator**"/>
          </parameter>
          <parameter name="params"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3853">the
#GstAllocationParams of @allocator</doc>
            <type name="Gst.AllocationParams" c:type="GstAllocationParams*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_audio_info"
              c:identifier="gst_audio_decoder_get_audio_info">
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="355"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.c"
               line="3307">a #GstAudioInfo describing the input audio format</doc>
          <type name="AudioInfo" c:type="GstAudioInfo*"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3305">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_delay" c:identifier="gst_audio_decoder_get_delay">
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="372"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.c"
               line="3379">currently configured decoder delay</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3377">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_drainable"
              c:identifier="gst_audio_decoder_get_drainable">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3686">Queries decoder drain handling.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="428"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.c"
               line="3692">TRUE if drainable handling is enabled.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3688">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_estimate_rate"
              c:identifier="gst_audio_decoder_get_estimate_rate">
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="369"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.c"
               line="3365">currently configured byte to time conversion setting</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3363">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_latency" c:identifier="gst_audio_decoder_get_latency">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3466">Sets the variables pointed to by @min and @max to the currently configured
latency.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="387"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3468">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="min"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3469">a pointer to storage to hold minimum latency</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime*"/>
          </parameter>
          <parameter name="max"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3470">a pointer to storage to hold maximum latency</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_max_errors"
              c:identifier="gst_audio_decoder_get_max_errors"
              glib:get-property="max-errors">
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="379"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.c"
               line="3411">currently configured decoder tolerated error count.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3409">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_min_latency"
              c:identifier="gst_audio_decoder_get_min_latency"
              glib:get-property="min-latency">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3596">Queries decoder's latency aggregation.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="414"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.c"
               line="3602">aggregation latency.

MT safe.</doc>
          <type name="Gst.ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3598">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_needs_format"
              c:identifier="gst_audio_decoder_get_needs_format">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3734">Queries decoder required format handling.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="435"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.c"
               line="3740">TRUE if required format handling is enabled.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3736">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_parse_state"
              c:identifier="gst_audio_decoder_get_parse_state">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3489">Return current parsing (sync and eos) state.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="392"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3491">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="sync"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3492">a pointer to a variable to hold the current sync state</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
          <parameter name="eos"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3493">a pointer to a variable to hold the current eos state</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_plc"
              c:identifier="gst_audio_decoder_get_plc"
              glib:get-property="plc">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3552">Queries decoder packet loss concealment handling.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="407"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.c"
               line="3558">TRUE if packet loss concealment is enabled.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3554">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_plc_aware"
              c:identifier="gst_audio_decoder_get_plc_aware">
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="362"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.c"
               line="3336">currently configured plc handling</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3334">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_tolerance"
              c:identifier="gst_audio_decoder_get_tolerance"
              glib:get-property="tolerance">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3640">Queries current audio jitter tolerance threshold.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="421"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.c"
               line="3646">decoder audio jitter tolerance threshold.

MT safe.</doc>
          <type name="Gst.ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3642">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="merge_tags" c:identifier="gst_audio_decoder_merge_tags">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3758">Sets the audio decoder tags and how they should be merged with any
upstream stream tags. This will override any tags previously-set
with gst_audio_decoder_merge_tags().

Note that this is provided for convenience, and the subclass is
not required to use this and can still do tag handling on its own.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="443"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3760">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="tags"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3761">a #GstTagList to merge, or NULL</doc>
            <type name="Gst.TagList" c:type="const GstTagList*"/>
          </parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3762">the #GstTagMergeMode to use, usually #GST_TAG_MERGE_REPLACE</doc>
            <type name="Gst.TagMergeMode" c:type="GstTagMergeMode"/>
          </parameter>
        </parameters>
      </method>
      <method name="negotiate" c:identifier="gst_audio_decoder_negotiate">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="763">Negotiate with downstream elements to currently configured #GstAudioInfo.
Unmark GST_PAD_FLAG_NEED_RECONFIGURE in any case. But mark it again if
negotiate fails.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="338"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.c"
               line="771">%TRUE if the negotiation succeeded, else %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="765">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="proxy_getcaps"
              c:identifier="gst_audio_decoder_proxy_getcaps"
              version="1.6">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="2795">Returns caps that express @caps (or sink template caps if @caps == NULL)
restricted to rate/channels/... combinations supported by downstream
elements.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="333"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.c"
               line="2805">a #GstCaps owned by caller</doc>
          <type name="Gst.Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="decoder" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="2797">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="caps"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="2798">initial caps</doc>
            <type name="Gst.Caps" c:type="GstCaps*"/>
          </parameter>
          <parameter name="filter"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="2799">filter caps</doc>
            <type name="Gst.Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_allocation_caps"
              c:identifier="gst_audio_decoder_set_allocation_caps"
              version="1.10">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3509">Sets a caps in allocation query which are different from the set
pad's caps. Use this function before calling
gst_audio_decoder_negotiate(). Setting to %NULL the allocation
query will use the caps from the pad.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="397"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3511">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="allocation_caps"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3512">a #GstCaps or %NULL</doc>
            <type name="Gst.Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_drainable"
              c:identifier="gst_audio_decoder_set_drainable">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3664">Configures decoder drain handling.  If drainable, subclass might
be handed a NULL buffer to have it return any leftover decoded data.
Otherwise, it is not considered so capable and will only ever be passed
real data.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="424"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3666">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="enabled" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3667">new state</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_estimate_rate"
              c:identifier="gst_audio_decoder_set_estimate_rate">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3346">Allows baseclass to perform byte to time estimated conversion.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="365"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3348">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="enabled" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3349">whether to enable byte to time conversion</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_latency" c:identifier="gst_audio_decoder_set_latency">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3421">Sets decoder latency. If the provided values changed from
previously provided ones, this will also post a LATENCY message on the bus
so the pipeline can reconfigure its global latency.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="382"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3423">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="min" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3424">minimum latency</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="max" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3425">maximum latency</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_max_errors"
              c:identifier="gst_audio_decoder_set_max_errors"
              glib:set-property="max-errors">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3389">Sets numbers of tolerated decoder errors, where a tolerated one is then only
warned about, but more than tolerated will lead to fatal error. You can set
-1 for never returning fatal errors. Default is set to
GST_AUDIO_DECODER_MAX_ERRORS.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="375"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3391">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="num" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3392">max tolerated errors</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_min_latency"
              c:identifier="gst_audio_decoder_set_min_latency"
              glib:set-property="min-latency">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3576">Sets decoder minimum aggregation latency.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="410"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3578">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="num" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3579">new minimum latency</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_needs_format"
              c:identifier="gst_audio_decoder_set_needs_format">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3710">Configures decoder format needs.  If enabled, subclass needs to be
negotiated with format caps before it can process any data.  It will then
never be handed any data before it has been configured.
Otherwise, it might be handed data without having been configured and
is then expected being able to do so either by default
or based on the input data.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="431"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3712">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="enabled" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3713">new state</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_output_caps"
              c:identifier="gst_audio_decoder_set_output_caps"
              version="1.16">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="828">Configure output caps on the srcpad of @dec. Similar to
gst_audio_decoder_set_output_format(), but allows subclasses to specify
output caps that can't be expressed via #GstAudioInfo e.g. caps that have
caps features.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="330"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.c"
               line="838">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="830">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="831">(fixed) #GstCaps</doc>
            <type name="Gst.Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_output_format"
              c:identifier="gst_audio_decoder_set_output_format">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="795">Configure output info on the srcpad of @dec.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="326"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiodecoder.c"
               line="802">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="797">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="798">#GstAudioInfo</doc>
            <type name="AudioInfo" c:type="const GstAudioInfo*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_plc"
              c:identifier="gst_audio_decoder_set_plc"
              glib:set-property="plc">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3530">Enable or disable decoder packet loss concealment, provided subclass
and codec are capable and allow handling plc.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="403"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3532">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="enabled" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3533">new state</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_plc_aware"
              c:identifier="gst_audio_decoder_set_plc_aware">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3317">Indicates whether or not subclass handles packet loss concealment (plc).</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="358"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3319">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="plc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3320">new plc state</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_tolerance"
              c:identifier="gst_audio_decoder_set_tolerance"
              glib:set-property="tolerance">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3620">Configures decoder audio jitter tolerance threshold.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="417"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3622">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="tolerance" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3623">new tolerance</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_use_default_pad_acceptcaps"
              c:identifier="gst_audio_decoder_set_use_default_pad_acceptcaps"
              version="1.6">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="3875">Lets #GstAudioDecoder sub-classes decide if they want the sink pad
to use the default pad query handler to reply to accept-caps queries.

By setting this to true it is possible to further customize the default
handler with %GST_PAD_SET_ACCEPT_INTERSECT and
%GST_PAD_SET_ACCEPT_TEMPLATE</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                         line="447"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="decoder" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3877">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="use" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="3878">if the default pad accept-caps query handling should be used</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <property name="max-errors"
                version="1.18"
                writable="1"
                transfer-ownership="none"
                setter="set_max_errors"
                getter="get_max_errors"
                default-value="-1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.c"
             line="420">Maximum number of tolerated consecutive decode errors. See
gst_audio_decoder_set_max_errors() for more details.</doc>
        <type name="gint" c:type="gint"/>
      </property>
      <property name="min-latency"
                writable="1"
                transfer-ownership="none"
                setter="set_min_latency"
                getter="get_min_latency"
                default-value="0">
        <type name="gint64" c:type="gint64"/>
      </property>
      <property name="plc"
                writable="1"
                transfer-ownership="none"
                setter="set_plc"
                getter="get_plc"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="tolerance"
                writable="1"
                transfer-ownership="none"
                setter="set_tolerance"
                getter="get_tolerance"
                default-value="0">
        <type name="gint64" c:type="gint64"/>
      </property>
      <field name="element">
        <type name="Gst.Element" c:type="GstElement"/>
      </field>
      <field name="sinkpad">
        <type name="Gst.Pad" c:type="GstPad*"/>
      </field>
      <field name="srcpad">
        <type name="Gst.Pad" c:type="GstPad*"/>
      </field>
      <field name="stream_lock">
        <type name="GLib.RecMutex" c:type="GRecMutex"/>
      </field>
      <field name="input_segment">
        <type name="Gst.Segment" c:type="GstSegment"/>
      </field>
      <field name="output_segment">
        <type name="Gst.Segment" c:type="GstSegment"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="AudioDecoderPrivate" c:type="GstAudioDecoderPrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="AudioDecoderClass"
            c:type="GstAudioDecoderClass"
            glib:is-gtype-struct-for="AudioDecoder">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiodecoder.h"
           line="181">Subclasses can override any of the available virtual methods or not, as
needed. At minimum @handle_frame (and likely @set_format) needs to be
overridden.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                       line="320"/>
      <field name="element_class">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="183">The parent class structure</doc>
        <type name="Gst.ElementClass" c:type="GstElementClass"/>
      </field>
      <field name="start">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="184">Optional.
                 Called when the element starts processing.
                 Allows opening external resources.</doc>
        <callback name="start">
          <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                           line="268"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="dec" transfer-ownership="none">
              <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="stop">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="187">Optional.
                 Called when the element stops processing.
                 Allows closing external resources.</doc>
        <callback name="stop">
          <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                           line="270"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="dec" transfer-ownership="none">
              <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="set_format">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="190">Notifies subclass of incoming data format (caps).</doc>
        <callback name="set_format">
          <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                           line="272"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="dec" transfer-ownership="none">
              <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
            </parameter>
            <parameter name="caps" transfer-ownership="none">
              <type name="Gst.Caps" c:type="GstCaps*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="parse">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="191">Optional.
                 Allows chopping incoming data into manageable units (frames)
                 for subsequent decoding.  This division is at subclass
                 discretion and may or may not correspond to 1 (or more)
                 frames as defined by audio format.</doc>
        <callback name="parse">
          <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                           line="280"/>
          <return-value transfer-ownership="none">
            <type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
          </return-value>
          <parameters>
            <parameter name="dec" transfer-ownership="none">
              <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
            </parameter>
            <parameter name="adapter" transfer-ownership="none">
              <type name="GstBase.Adapter" c:type="GstAdapter*"/>
            </parameter>
            <parameter name="offset"
                       direction="out"
                       caller-allocates="0"
                       transfer-ownership="full">
              <type name="gint" c:type="gint*"/>
            </parameter>
            <parameter name="length"
                       direction="out"
                       caller-allocates="0"
                       transfer-ownership="full">
              <type name="gint" c:type="gint*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="handle_frame">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="196">Provides input data (or NULL to clear any remaining data)
                 to subclass.  Input data ref management is performed by
                 base class, subclass should not care or intervene,
                 and input data is only valid until next call to base class,
                 most notably a call to gst_audio_decoder_finish_frame().</doc>
        <callback name="handle_frame">
          <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                           line="284"/>
          <return-value transfer-ownership="none">
            <type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
          </return-value>
          <parameters>
            <parameter name="dec" transfer-ownership="none">
              <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
            </parameter>
            <parameter name="buffer" transfer-ownership="none">
              <type name="Gst.Buffer" c:type="GstBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="flush">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="201">Optional.
                 Instructs subclass to clear any codec caches and discard
                 any pending samples and not yet returned decoded data.
                 @hard indicates whether a FLUSH is being processed,
                 or otherwise a DISCONT (or conceptually similar).</doc>
        <callback name="flush">
          <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                           line="287"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="dec" transfer-ownership="none">
              <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
            </parameter>
            <parameter name="hard" transfer-ownership="none">
              <type name="gboolean" c:type="gboolean"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="pre_push">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="212">Optional.
                 Called just prior to pushing (encoded data) buffer downstream.
                 Subclass has full discretionary access to buffer,
                 and a not OK flow return will abort downstream pushing.</doc>
        <callback name="pre_push">
          <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                           line="289"/>
          <return-value transfer-ownership="none">
            <type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
          </return-value>
          <parameters>
            <parameter name="dec" transfer-ownership="none">
              <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
            </parameter>
            <parameter name="buffer" transfer-ownership="none">
              <type name="Gst.Buffer" c:type="GstBuffer**"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="sink_event">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="206">Optional.
                 Event handler on the sink pad. Subclasses should chain up to
                 the parent implementation to invoke the default handler.</doc>
        <callback name="sink_event">
          <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                           line="292"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="dec" transfer-ownership="none">
              <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
            </parameter>
            <parameter name="event" transfer-ownership="none">
              <type name="Gst.Event" c:type="GstEvent*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="src_event">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="209">Optional.
                 Event handler on the src pad. Subclasses should chain up to
                 the parent implementation to invoke the default handler.</doc>
        <callback name="src_event">
          <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                           line="294"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="dec" transfer-ownership="none">
              <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
            </parameter>
            <parameter name="event" transfer-ownership="none">
              <type name="Gst.Event" c:type="GstEvent*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="open">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="216">Optional.
                 Called when the element changes to GST_STATE_READY.
                 Allows opening external resources.</doc>
        <callback name="open">
          <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                           line="297"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="dec" transfer-ownership="none">
              <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="close">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="219">Optional.
                 Called when the element changes to GST_STATE_NULL.
                 Allows closing external resources.</doc>
        <callback name="close">
          <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                           line="299"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="dec" transfer-ownership="none">
              <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="negotiate">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="222">Optional.
                 Negotiate with downstream and configure buffer pools, etc.
                 Subclasses should chain up to the parent implementation to
                 invoke the default handler.</doc>
        <callback name="negotiate">
          <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                           line="301"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiodecoder.c"
                 line="771">%TRUE if the negotiation succeeded, else %FALSE.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="dec" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudiodecoder.c"
                   line="765">a #GstAudioDecoder</doc>
              <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="decide_allocation">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="226">Optional.
                    Setup the allocation parameters for allocating output
                    buffers. The passed in query contains the result of the
                    downstream allocation query.
                    Subclasses should chain up to the parent implementation to
                    invoke the default handler.</doc>
        <callback name="decide_allocation">
          <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                           line="303"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="dec" transfer-ownership="none">
              <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
            </parameter>
            <parameter name="query" transfer-ownership="none">
              <type name="Gst.Query" c:type="GstQuery*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="propose_allocation">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="232">Optional.
                     Propose buffer allocation parameters for upstream elements.
                     Subclasses should chain up to the parent implementation to
                     invoke the default handler.</doc>
        <callback name="propose_allocation">
          <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                           line="305"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="dec" transfer-ownership="none">
              <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
            </parameter>
            <parameter name="query" transfer-ownership="none">
              <type name="Gst.Query" c:type="GstQuery*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="sink_query">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="236">Optional.
                 Query handler on the sink pad. This function should
                 return TRUE if the query could be performed. Subclasses
                 should chain up to the parent implementation to invoke the
                 default handler. Since: 1.6</doc>
        <callback name="sink_query">
          <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                           line="308"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="dec" transfer-ownership="none">
              <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
            </parameter>
            <parameter name="query" transfer-ownership="none">
              <type name="Gst.Query" c:type="GstQuery*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="src_query">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="241">Optional.
                 Query handler on the source pad. This function should
                 return TRUE if the query could be performed. Subclasses
                 should chain up to the parent implementation to invoke the
                 default handler. Since: 1.6</doc>
        <callback name="src_query">
          <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                           line="310"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="dec" transfer-ownership="none">
              <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
            </parameter>
            <parameter name="query" transfer-ownership="none">
              <type name="Gst.Query" c:type="GstQuery*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="getcaps">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="246">Optional.
                 Allows for a custom sink getcaps implementation.
                 If not implemented,
                 default returns gst_audio_decoder_proxy_getcaps
                 applied to sink template caps.</doc>
        <callback name="getcaps">
          <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                           line="312"/>
          <return-value transfer-ownership="full">
            <type name="Gst.Caps" c:type="GstCaps*"/>
          </return-value>
          <parameters>
            <parameter name="dec" transfer-ownership="none">
              <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
            </parameter>
            <parameter name="filter" transfer-ownership="none">
              <type name="Gst.Caps" c:type="GstCaps*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="transform_meta">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiodecoder.h"
             line="251">Optional. Transform the metadata on the input buffer to the
                 output buffer. By default this method copies all meta without
                 tags and meta with only the "audio" tag. subclasses can
                 implement this method and return %TRUE if the metadata is to be
                 copied. Since: 1.6</doc>
        <callback name="transform_meta">
          <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                           line="315"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="enc" transfer-ownership="none">
              <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
            </parameter>
            <parameter name="outbuf" transfer-ownership="none">
              <type name="Gst.Buffer" c:type="GstBuffer*"/>
            </parameter>
            <parameter name="meta" transfer-ownership="none">
              <type name="Gst.Meta" c:type="GstMeta*"/>
            </parameter>
            <parameter name="inbuf" transfer-ownership="none">
              <type name="Gst.Buffer" c:type="GstBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="16">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="AudioDecoderPrivate"
            c:type="GstAudioDecoderPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                       line="102"/>
    </record>
    <enumeration name="AudioDitherMethod"
                 glib:type-name="GstAudioDitherMethod"
                 glib:get-type="gst_audio_dither_method_get_type"
                 c:type="GstAudioDitherMethod">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-quantize.h"
           line="32">Set of available dithering methods.</doc>
      <member name="none"
              value="0"
              c:identifier="GST_AUDIO_DITHER_NONE"
              glib:nick="none"
              glib:name="GST_AUDIO_DITHER_NONE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-quantize.h"
             line="34">No dithering</doc>
      </member>
      <member name="rpdf"
              value="1"
              c:identifier="GST_AUDIO_DITHER_RPDF"
              glib:nick="rpdf"
              glib:name="GST_AUDIO_DITHER_RPDF">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-quantize.h"
             line="35">Rectangular dithering</doc>
      </member>
      <member name="tpdf"
              value="2"
              c:identifier="GST_AUDIO_DITHER_TPDF"
              glib:nick="tpdf"
              glib:name="GST_AUDIO_DITHER_TPDF">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-quantize.h"
             line="36">Triangular dithering (default)</doc>
      </member>
      <member name="tpdf_hf"
              value="3"
              c:identifier="GST_AUDIO_DITHER_TPDF_HF"
              glib:nick="tpdf-hf"
              glib:name="GST_AUDIO_DITHER_TPDF_HF">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-quantize.h"
             line="37">High frequency triangular dithering</doc>
      </member>
    </enumeration>
    <record name="AudioDownmixMeta" c:type="GstAudioDownmixMeta">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiometa.h"
           line="32">Extra buffer metadata describing audio downmixing matrix. This metadata is
attached to audio buffers and contains a matrix to downmix the buffer number
of channels to @channels.

@matrix is an two-dimensional array of @to_channels times @from_channels
coefficients, i.e. the i-th output channels is constructed by multiplicating
the input channels with the coefficients in @matrix[i] and taking the sum
of the results.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h" line="57"/>
      <field name="meta" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.h"
             line="34">parent #GstMeta</doc>
        <type name="Gst.Meta" c:type="GstMeta"/>
      </field>
      <field name="from_position" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.h"
             line="35">the channel positions of the source</doc>
        <array length="3"
               zero-terminated="0"
               c:type="GstAudioChannelPosition*">
          <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/>
        </array>
      </field>
      <field name="to_position" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.h"
             line="36">the channel positions of the destination</doc>
        <array length="4"
               zero-terminated="0"
               c:type="GstAudioChannelPosition*">
          <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/>
        </array>
      </field>
      <field name="from_channels" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.h"
             line="37">the number of channels of the source</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="to_channels" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.h"
             line="38">the number of channels of the destination</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="matrix" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.h"
             line="39">the matrix coefficients.</doc>
        <array zero-terminated="0" c:type="gfloat**">
          <type name="gfloat"/>
        </array>
      </field>
      <function name="get_info" c:identifier="gst_audio_downmix_meta_get_info">
        <source-position filename="gst-libs/gst/audio/gstaudiometa.h"
                         line="63"/>
        <return-value transfer-ownership="none">
          <type name="Gst.MetaInfo" c:type="const GstMetaInfo*"/>
        </return-value>
      </function>
    </record>
    <class name="AudioEncoder"
           c:symbol-prefix="audio_encoder"
           c:type="GstAudioEncoder"
           parent="Gst.Element"
           abstract="1"
           glib:type-name="GstAudioEncoder"
           glib:get-type="gst_audio_encoder_get_type"
           glib:type-struct="AudioEncoderClass">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioencoder.c"
           line="22">This base class is for audio encoders turning raw audio samples into
encoded audio data.

GstAudioEncoder and subclass should cooperate as follows.

## Configuration

  * Initially, GstAudioEncoder calls @start when the encoder element
    is activated, which allows subclass to perform any global setup.

  * GstAudioEncoder calls @set_format to inform subclass of the format
    of input audio data that it is about to receive.  Subclass should
    setup for encoding and configure various base class parameters
    appropriately, notably those directing desired input data handling.
    While unlikely, it might be called more than once, if changing input
    parameters require reconfiguration.

  * GstAudioEncoder calls @stop at end of all processing.

As of configuration stage, and throughout processing, GstAudioEncoder
maintains various parameters that provide required context,
e.g. describing the format of input audio data.
Conversely, subclass can and should configure these context parameters
to inform base class of its expectation w.r.t. buffer handling.

## Data processing

    * Base class gathers input sample data (as directed by the context's
      frame_samples and frame_max) and provides this to subclass' @handle_frame.
    * If codec processing results in encoded data, subclass should call
      gst_audio_encoder_finish_frame() to have encoded data pushed
      downstream. Alternatively, it might also call
      gst_audio_encoder_finish_frame() (with a NULL buffer and some number of
      dropped samples) to indicate dropped (non-encoded) samples.
    * Just prior to actually pushing a buffer downstream,
      it is passed to @pre_push.
    * During the parsing process GstAudioEncoderClass will handle both
      srcpad and sinkpad events. Sink events will be passed to subclass
      if @event callback has been provided.

## Shutdown phase

  * GstAudioEncoder class calls @stop to inform the subclass that data
    parsing will be stopped.

Subclass is responsible for providing pad template caps for
source and sink pads. The pads need to be named "sink" and "src". It also
needs to set the fixed caps on srcpad, when the format is ensured.  This
is typically when base class calls subclass' @set_format function, though
it might be delayed until calling @gst_audio_encoder_finish_frame.

In summary, above process should have subclass concentrating on
codec data processing while leaving other matters to base class,
such as most notably timestamp handling.  While it may exert more control
in this area (see e.g. @pre_push), it is very much not recommended.

In particular, base class will either favor tracking upstream timestamps
(at the possible expense of jitter) or aim to arrange for a perfect stream of
output timestamps, depending on #GstAudioEncoder:perfect-timestamp.
However, in the latter case, the input may not be so perfect or ideal, which
is handled as follows.  An input timestamp is compared with the expected
timestamp as dictated by input sample stream and if the deviation is less
than #GstAudioEncoder:tolerance, the deviation is discarded.
Otherwise, it is considered a discontuinity and subsequent output timestamp
is resynced to the new position after performing configured discontinuity
processing.  In the non-perfect-timestamp case, an upstream variation
exceeding tolerance only leads to marking DISCONT on subsequent outgoing
(while timestamps are adjusted to upstream regardless of variation).
While DISCONT is also marked in the perfect-timestamp case, this one
optionally (see #GstAudioEncoder:hard-resync)
performs some additional steps, such as clipping of (early) input samples
or draining all currently remaining input data, depending on the direction
of the discontuinity.

If perfect timestamps are arranged, it is also possible to request baseclass
(usually set by subclass) to provide additional buffer metadata (in OFFSET
and OFFSET_END) fields according to granule defined semantics currently
needed by oggmux.  Specifically, OFFSET is set to granulepos (= sample count
including buffer) and OFFSET_END to corresponding timestamp (as determined
by same sample count and sample rate).

Things that subclass need to take care of:

  * Provide pad templates
  * Set source pad caps when appropriate
  * Inform base class of buffer processing needs using context's
     frame_samples and frame_bytes.
  * Set user-configurable properties to sane defaults for format and
     implementing codec at hand, e.g. those controlling timestamp behaviour
     and discontinuity processing.
  * Accept data in @handle_frame and provide encoded results to
     gst_audio_encoder_finish_frame().</doc>
      <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                       line="248"/>
      <implements name="Gst.Preset"/>
      <virtual-method name="close">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="160">Optional.
                 Called when the element changes to GST_STATE_NULL.
                 Allows closing external resources.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="227"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="decide_allocation">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="167">Optional.
                    Setup the allocation parameters for allocating output
                    buffers. The passed in query contains the result of the
                    downstream allocation query.
                    Subclasses should chain up to the parent implementation to
                    invoke the default handler.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="231"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="query" transfer-ownership="none">
            <type name="Gst.Query" c:type="GstQuery*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="flush">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="139">Optional.
                 Instructs subclass to clear any codec caches and discard
                 any pending samples and not yet returned encoded data.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="212"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="getcaps">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="152">Optional.
                 Allows for a custom sink getcaps implementation (e.g.
                 for multichannel input specification).  If not implemented,
                 default returns gst_audio_encoder_proxy_getcaps
                 applied to sink template caps.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="223"/>
        <return-value transfer-ownership="full">
          <type name="Gst.Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="filter" transfer-ownership="none">
            <type name="Gst.Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="handle_frame">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="133">Provides input samples (or NULL to clear any remaining data)
                 according to directions as configured by the subclass
                 using the API.  Input data ref management is performed
                 by base class, subclass should not care or intervene,
                 and input data is only valid until next call to base class,
                 most notably a call to gst_audio_encoder_finish_frame().</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="209"/>
        <return-value transfer-ownership="none">
          <type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="buffer" transfer-ownership="none">
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="negotiate" invoker="negotiate">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2886">Negotiate with downstream elements to currently configured #GstCaps.
Unmark GST_PAD_FLAG_NEED_RECONFIGURE in any case. But mark it again if
negotiate fails.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="229"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioencoder.c"
               line="2894">%TRUE if the negotiation succeeded, else %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2888">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="open">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="157">Optional.
                 Called when the element changes to GST_STATE_READY.
                 Allows opening external resources.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="225"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="pre_push">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="148">Optional.
                 Called just prior to pushing (encoded data) buffer downstream.
                 Subclass has full discretionary access to buffer,
                 and a not OK flow return will abort downstream pushing.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="214"/>
        <return-value transfer-ownership="none">
          <type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="buffer" transfer-ownership="none">
            <type name="Gst.Buffer" c:type="GstBuffer**"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="propose_allocation">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="173">Optional.
                     Propose buffer allocation parameters for upstream elements.
                     Subclasses should chain up to the parent implementation to
                     invoke the default handler.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="233"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="query" transfer-ownership="none">
            <type name="Gst.Query" c:type="GstQuery*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="set_format">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="131">Notifies subclass of incoming data format.
                 GstAudioInfo contains the format according to provided caps.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="206"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="info" transfer-ownership="none">
            <type name="AudioInfo" c:type="GstAudioInfo*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="sink_event">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="142">Optional.
                 Event handler on the sink pad. Subclasses should chain up to
                 the parent implementation to invoke the default handler.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="217"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="event" transfer-ownership="none">
            <type name="Gst.Event" c:type="GstEvent*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="sink_query">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="182">Optional.
                 Query handler on the sink pad. This function should
                 return TRUE if the query could be performed. Subclasses
                 should chain up to the parent implementation to invoke the
                 default handler. Since: 1.6</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="239"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="encoder" transfer-ownership="none">
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="query" transfer-ownership="none">
            <type name="Gst.Query" c:type="GstQuery*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="src_event">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="145">Optional.
                 Event handler on the src pad. Subclasses should chain up to
                 the parent implementation to invoke the default handler.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="220"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="event" transfer-ownership="none">
            <type name="Gst.Event" c:type="GstEvent*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="src_query">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="187">Optional.
                 Query handler on the source pad. This function should
                 return TRUE if the query could be performed. Subclasses
                 should chain up to the parent implementation to invoke the
                 default handler. Since: 1.6</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="242"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="encoder" transfer-ownership="none">
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="query" transfer-ownership="none">
            <type name="Gst.Query" c:type="GstQuery*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="start">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="125">Optional.
                 Called when the element starts processing.
                 Allows opening external resources.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="202"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="stop">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="128">Optional.
                 Called when the element stops processing.
                 Allows closing external resources.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="204"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="transform_meta">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="177">Optional. Transform the metadata on the input buffer to the
                 output buffer. By default this method copies all meta without
                 tags and meta with only the "audio" tag. subclasses can
                 implement this method and return %TRUE if the metadata is to be
                 copied. Since: 1.6</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="236"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="outbuf" transfer-ownership="none">
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </parameter>
          <parameter name="meta" transfer-ownership="none">
            <type name="Gst.Meta" c:type="GstMeta*"/>
          </parameter>
          <parameter name="inbuf" transfer-ownership="none">
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="allocate_output_buffer"
              c:identifier="gst_audio_encoder_allocate_output_buffer">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2964">Helper function that allocates a buffer to hold an encoded audio frame
for @enc's current output format.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="271"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioencoder.c"
               line="2972">allocated buffer</doc>
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2966">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2967">size of the buffer</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </method>
      <method name="finish_frame"
              c:identifier="gst_audio_encoder_finish_frame">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="775">Collects encoded data and pushes encoded data downstream.
Source pad caps must be set when this is called.

If @samples &lt; 0, then best estimate is all samples provided to encoder
(subclass) so far.  @buf may be NULL, in which case next number of @samples
are considered discarded, e.g. as a result of discontinuous transmission,
and a discontinuity is marked.

Note that samples received in #GstAudioEncoderClass.handle_frame()
may be invalidated by a call to this function.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="254"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioencoder.c"
               line="792">a #GstFlowReturn that should be escalated to caller (of caller)</doc>
          <type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="777">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="buffer"
                     transfer-ownership="full"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="778">encoded data</doc>
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </parameter>
          <parameter name="samples" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="779">number of samples (per channel) represented by encoded data</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_allocator"
              c:identifier="gst_audio_encoder_get_allocator">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="3015">Lets #GstAudioEncoder sub-classes to know the memory @allocator
used by the base class and its @params.

Unref the @allocator after use it.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="366"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="3017">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="allocator"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     nullable="1"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="3018">the #GstAllocator
used</doc>
            <type name="Gst.Allocator" c:type="GstAllocator**"/>
          </parameter>
          <parameter name="params"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="3020">the
#GstAllocationParams of @allocator</doc>
            <type name="Gst.AllocationParams" c:type="GstAllocationParams*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_audio_info"
              c:identifier="gst_audio_encoder_get_audio_info">
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="277"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioencoder.c"
               line="2201">a #GstAudioInfo describing the input audio format</doc>
          <type name="AudioInfo" c:type="GstAudioInfo*"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2199">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_drainable"
              c:identifier="gst_audio_encoder_get_drainable">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2712">Queries encoder drain handling.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="363"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioencoder.c"
               line="2718">TRUE if drainable handling is enabled.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2714">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_frame_max"
              c:identifier="gst_audio_encoder_get_frame_max">
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="292"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioencoder.c"
               line="2309">currently configured maximum handled frames</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2307">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_frame_samples_max"
              c:identifier="gst_audio_encoder_get_frame_samples_max">
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="286"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioencoder.c"
               line="2275">currently maximum requested samples per frame</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2273">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_frame_samples_min"
              c:identifier="gst_audio_encoder_get_frame_samples_min">
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="280"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioencoder.c"
               line="2238">currently minimum requested samples per frame</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2236">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_hard_min"
              c:identifier="gst_audio_encoder_get_hard_min">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2666">Queries encoder hard minimum handling.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="356"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioencoder.c"
               line="2672">TRUE if hard minimum handling is enabled.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2668">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_hard_resync"
              c:identifier="gst_audio_encoder_get_hard_resync"
              glib:get-property="hard-resync">
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="342"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_latency" c:identifier="gst_audio_encoder_get_latency">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2397">Sets the variables pointed to by @min and @max to the currently configured
latency.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="304"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2399">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="min"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2400">a pointer to storage to hold minimum latency</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime*"/>
          </parameter>
          <parameter name="max"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2401">a pointer to storage to hold maximum latency</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_lookahead"
              c:identifier="gst_audio_encoder_get_lookahead">
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="298"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioencoder.c"
               line="2342">currently configured encoder lookahead</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2340">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_mark_granule"
              c:identifier="gst_audio_encoder_get_mark_granule"
              glib:get-property="mark-granule">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2483">Queries if the encoder will handle granule marking.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="328"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioencoder.c"
               line="2489">TRUE if granule marking is enabled.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2485">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_perfect_timestamp"
              c:identifier="gst_audio_encoder_get_perfect_timestamp"
              glib:get-property="perfect-timestamp">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2529">Queries encoder perfect timestamp behaviour.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="335"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioencoder.c"
               line="2535">TRUE if perfect timestamp setting enabled.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2531">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_tolerance"
              c:identifier="gst_audio_encoder_get_tolerance"
              glib:get-property="tolerance">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2620">Queries current audio jitter tolerance threshold.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="349"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioencoder.c"
               line="2626">encoder audio jitter tolerance threshold.

MT safe.</doc>
          <type name="Gst.ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2622">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="merge_tags" c:identifier="gst_audio_encoder_merge_tags">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2736">Sets the audio encoder tags and how they should be merged with any
upstream stream tags. This will override any tags previously-set
with gst_audio_encoder_merge_tags().

Note that this is provided for convenience, and the subclass is
not required to use this and can still do tag handling on its own.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="371"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2738">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="tags"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2739">a #GstTagList to merge, or NULL to unset
    previously-set tags</doc>
            <type name="Gst.TagList" c:type="const GstTagList*"/>
          </parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2741">the #GstTagMergeMode to use, usually #GST_TAG_MERGE_REPLACE</doc>
            <type name="Gst.TagMergeMode" c:type="GstTagMergeMode"/>
          </parameter>
        </parameters>
      </method>
      <method name="negotiate" c:identifier="gst_audio_encoder_negotiate">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2886">Negotiate with downstream elements to currently configured #GstCaps.
Unmark GST_PAD_FLAG_NEED_RECONFIGURE in any case. But mark it again if
negotiate fails.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="268"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioencoder.c"
               line="2894">%TRUE if the negotiation succeeded, else %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2888">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="proxy_getcaps"
              c:identifier="gst_audio_encoder_proxy_getcaps">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="1540">Returns caps that express @caps (or sink template caps if @caps == NULL)
restricted to channel/rate combinations supported by downstream elements
(e.g. muxers).</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="259"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioencoder.c"
               line="1550">a #GstCaps owned by caller</doc>
          <type name="Gst.Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="1542">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="caps"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="1543">initial caps</doc>
            <type name="Gst.Caps" c:type="GstCaps*"/>
          </parameter>
          <parameter name="filter"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="1544">filter caps</doc>
            <type name="Gst.Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_allocation_caps"
              c:identifier="gst_audio_encoder_set_allocation_caps"
              version="1.10">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2441">Sets a caps in allocation query which are different from the set
pad's caps. Use this function before calling
gst_audio_encoder_negotiate(). Setting to %NULL the allocation
query will use the caps from the pad.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="318"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2443">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="allocation_caps"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2444">a #GstCaps or %NULL</doc>
            <type name="Gst.Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_drainable"
              c:identifier="gst_audio_encoder_set_drainable">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2690">Configures encoder drain handling.  If drainable, subclass might
be handed a NULL buffer to have it return any leftover encoded data.
Otherwise, it is not considered so capable and will only ever be passed
real data.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="359"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2692">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="enabled" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2693">new state</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_frame_max"
              c:identifier="gst_audio_encoder_set_frame_max">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2285">Sets max number of frames accepted at once (assumed minimally 1).
Requires @frame_samples_min and @frame_samples_max to be the equal.

Note: This value will be reset to 0 every time before
#GstAudioEncoderClass.set_format() is called.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="295"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2287">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="num" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2288">number of frames</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_frame_samples_max"
              c:identifier="gst_audio_encoder_set_frame_samples_max">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2248">Sets number of samples (per channel) subclass needs to be handed,
at most or will be handed all available if 0.

If an exact number of samples is required, gst_audio_encoder_set_frame_samples_min()
must be called with the same number.

Note: This value will be reset to 0 every time before
#GstAudioEncoderClass.set_format() is called.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="289"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2250">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="num" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2251">number of samples per frame</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_frame_samples_min"
              c:identifier="gst_audio_encoder_set_frame_samples_min">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2211">Sets number of samples (per channel) subclass needs to be handed,
at least or will be handed all available if 0.

If an exact number of samples is required, gst_audio_encoder_set_frame_samples_max()
must be called with the same number.

Note: This value will be reset to 0 every time before
#GstAudioEncoderClass.set_format() is called.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="283"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2213">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="num" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2214">number of samples per frame</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_hard_min"
              c:identifier="gst_audio_encoder_set_hard_min">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2644">Configures encoder hard minimum handling.  If enabled, subclass
will never be handed less samples than it configured, which otherwise
might occur near end-of-data handling.  Instead, the leftover samples
will simply be discarded.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="352"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2646">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="enabled" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2647">new state</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_hard_resync"
              c:identifier="gst_audio_encoder_set_hard_resync"
              glib:set-property="hard-resync">
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="338"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="enabled" transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_headers" c:identifier="gst_audio_encoder_set_headers">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2420">Set the codec headers to be sent downstream whenever requested.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="314"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2422">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="headers" transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2423">a list of
  #GstBuffer containing the codec header</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="Gst.Buffer"/>
            </type>
          </parameter>
        </parameters>
      </method>
      <method name="set_latency" c:identifier="gst_audio_encoder_set_latency">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2352">Sets encoder latency. If the provided values changed from
previously provided ones, this will also post a LATENCY message on the bus
so the pipeline can reconfigure its global latency.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="309"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2354">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="min" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2355">minimum latency</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="max" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2356">maximum latency</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_lookahead"
              c:identifier="gst_audio_encoder_set_lookahead">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2319">Sets encoder lookahead (in units of input rate samples)

Note: This value will be reset to 0 every time before
#GstAudioEncoderClass.set_format() is called.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="301"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2321">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="num" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2322">lookahead</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_mark_granule"
              c:identifier="gst_audio_encoder_set_mark_granule">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2462">Enable or disable encoder granule handling.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="324"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2464">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="enabled" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2465">new state</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_output_format"
              c:identifier="gst_audio_encoder_set_output_format">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2918">Configure output caps on the srcpad of @enc.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="264"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioencoder.c"
               line="2925">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2920">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2921">#GstCaps</doc>
            <type name="Gst.Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_perfect_timestamp"
              c:identifier="gst_audio_encoder_set_perfect_timestamp"
              glib:set-property="perfect-timestamp">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2507">Enable or disable encoder perfect output timestamp preference.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="331"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2509">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="enabled" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2510">new state</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_tolerance"
              c:identifier="gst_audio_encoder_set_tolerance"
              glib:set-property="tolerance">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.c"
             line="2598">Configures encoder audio jitter tolerance threshold.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                         line="345"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2600">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="tolerance" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2601">new tolerance</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <property name="hard-resync"
                writable="1"
                transfer-ownership="none"
                setter="set_hard_resync"
                getter="get_hard_resync"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="mark-granule"
                transfer-ownership="none"
                getter="get_mark_granule"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="perfect-timestamp"
                writable="1"
                transfer-ownership="none"
                setter="set_perfect_timestamp"
                getter="get_perfect_timestamp"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="tolerance"
                writable="1"
                transfer-ownership="none"
                setter="set_tolerance"
                getter="get_tolerance"
                default-value="40000000">
        <type name="gint64" c:type="gint64"/>
      </property>
      <field name="element">
        <type name="Gst.Element" c:type="GstElement"/>
      </field>
      <field name="sinkpad">
        <type name="Gst.Pad" c:type="GstPad*"/>
      </field>
      <field name="srcpad">
        <type name="Gst.Pad" c:type="GstPad*"/>
      </field>
      <field name="stream_lock">
        <type name="GLib.RecMutex" c:type="GRecMutex"/>
      </field>
      <field name="input_segment">
        <type name="Gst.Segment" c:type="GstSegment"/>
      </field>
      <field name="output_segment">
        <type name="Gst.Segment" c:type="GstSegment"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="AudioEncoderPrivate" c:type="GstAudioEncoderPrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="AudioEncoderClass"
            c:type="GstAudioEncoderClass"
            glib:is-gtype-struct-for="AudioEncoder">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioencoder.h"
           line="122">Subclasses can override any of the available virtual methods or not, as
needed. At minimum @set_format and @handle_frame needs to be overridden.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                       line="248"/>
      <field name="element_class">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="124">The parent class structure</doc>
        <type name="Gst.ElementClass" c:type="GstElementClass"/>
      </field>
      <field name="start">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="125">Optional.
                 Called when the element starts processing.
                 Allows opening external resources.</doc>
        <callback name="start">
          <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                           line="202"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="enc" transfer-ownership="none">
              <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="stop">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="128">Optional.
                 Called when the element stops processing.
                 Allows closing external resources.</doc>
        <callback name="stop">
          <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                           line="204"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="enc" transfer-ownership="none">
              <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="set_format">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="131">Notifies subclass of incoming data format.
                 GstAudioInfo contains the format according to provided caps.</doc>
        <callback name="set_format">
          <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                           line="206"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="enc" transfer-ownership="none">
              <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
            </parameter>
            <parameter name="info" transfer-ownership="none">
              <type name="AudioInfo" c:type="GstAudioInfo*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="handle_frame">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="133">Provides input samples (or NULL to clear any remaining data)
                 according to directions as configured by the subclass
                 using the API.  Input data ref management is performed
                 by base class, subclass should not care or intervene,
                 and input data is only valid until next call to base class,
                 most notably a call to gst_audio_encoder_finish_frame().</doc>
        <callback name="handle_frame">
          <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                           line="209"/>
          <return-value transfer-ownership="none">
            <type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
          </return-value>
          <parameters>
            <parameter name="enc" transfer-ownership="none">
              <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
            </parameter>
            <parameter name="buffer" transfer-ownership="none">
              <type name="Gst.Buffer" c:type="GstBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="flush">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="139">Optional.
                 Instructs subclass to clear any codec caches and discard
                 any pending samples and not yet returned encoded data.</doc>
        <callback name="flush">
          <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                           line="212"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="enc" transfer-ownership="none">
              <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="pre_push">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="148">Optional.
                 Called just prior to pushing (encoded data) buffer downstream.
                 Subclass has full discretionary access to buffer,
                 and a not OK flow return will abort downstream pushing.</doc>
        <callback name="pre_push">
          <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                           line="214"/>
          <return-value transfer-ownership="none">
            <type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
          </return-value>
          <parameters>
            <parameter name="enc" transfer-ownership="none">
              <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
            </parameter>
            <parameter name="buffer" transfer-ownership="none">
              <type name="Gst.Buffer" c:type="GstBuffer**"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="sink_event">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="142">Optional.
                 Event handler on the sink pad. Subclasses should chain up to
                 the parent implementation to invoke the default handler.</doc>
        <callback name="sink_event">
          <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                           line="217"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="enc" transfer-ownership="none">
              <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
            </parameter>
            <parameter name="event" transfer-ownership="none">
              <type name="Gst.Event" c:type="GstEvent*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="src_event">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="145">Optional.
                 Event handler on the src pad. Subclasses should chain up to
                 the parent implementation to invoke the default handler.</doc>
        <callback name="src_event">
          <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                           line="220"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="enc" transfer-ownership="none">
              <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
            </parameter>
            <parameter name="event" transfer-ownership="none">
              <type name="Gst.Event" c:type="GstEvent*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="getcaps">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="152">Optional.
                 Allows for a custom sink getcaps implementation (e.g.
                 for multichannel input specification).  If not implemented,
                 default returns gst_audio_encoder_proxy_getcaps
                 applied to sink template caps.</doc>
        <callback name="getcaps">
          <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                           line="223"/>
          <return-value transfer-ownership="full">
            <type name="Gst.Caps" c:type="GstCaps*"/>
          </return-value>
          <parameters>
            <parameter name="enc" transfer-ownership="none">
              <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
            </parameter>
            <parameter name="filter" transfer-ownership="none">
              <type name="Gst.Caps" c:type="GstCaps*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="open">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="157">Optional.
                 Called when the element changes to GST_STATE_READY.
                 Allows opening external resources.</doc>
        <callback name="open">
          <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                           line="225"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="enc" transfer-ownership="none">
              <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="close">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="160">Optional.
                 Called when the element changes to GST_STATE_NULL.
                 Allows closing external resources.</doc>
        <callback name="close">
          <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                           line="227"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="enc" transfer-ownership="none">
              <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="negotiate">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="163">Optional.
                 Negotiate with downstream and configure buffer pools, etc.
                 Subclasses should chain up to the parent implementation to
                 invoke the default handler.</doc>
        <callback name="negotiate">
          <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                           line="229"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioencoder.c"
                 line="2894">%TRUE if the negotiation succeeded, else %FALSE.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="enc" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudioencoder.c"
                   line="2888">a #GstAudioEncoder</doc>
              <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="decide_allocation">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="167">Optional.
                    Setup the allocation parameters for allocating output
                    buffers. The passed in query contains the result of the
                    downstream allocation query.
                    Subclasses should chain up to the parent implementation to
                    invoke the default handler.</doc>
        <callback name="decide_allocation">
          <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                           line="231"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="enc" transfer-ownership="none">
              <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
            </parameter>
            <parameter name="query" transfer-ownership="none">
              <type name="Gst.Query" c:type="GstQuery*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="propose_allocation">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="173">Optional.
                     Propose buffer allocation parameters for upstream elements.
                     Subclasses should chain up to the parent implementation to
                     invoke the default handler.</doc>
        <callback name="propose_allocation">
          <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                           line="233"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="enc" transfer-ownership="none">
              <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
            </parameter>
            <parameter name="query" transfer-ownership="none">
              <type name="Gst.Query" c:type="GstQuery*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="transform_meta">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="177">Optional. Transform the metadata on the input buffer to the
                 output buffer. By default this method copies all meta without
                 tags and meta with only the "audio" tag. subclasses can
                 implement this method and return %TRUE if the metadata is to be
                 copied. Since: 1.6</doc>
        <callback name="transform_meta">
          <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                           line="236"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="enc" transfer-ownership="none">
              <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
            </parameter>
            <parameter name="outbuf" transfer-ownership="none">
              <type name="Gst.Buffer" c:type="GstBuffer*"/>
            </parameter>
            <parameter name="meta" transfer-ownership="none">
              <type name="Gst.Meta" c:type="GstMeta*"/>
            </parameter>
            <parameter name="inbuf" transfer-ownership="none">
              <type name="Gst.Buffer" c:type="GstBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="sink_query">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="182">Optional.
                 Query handler on the sink pad. This function should
                 return TRUE if the query could be performed. Subclasses
                 should chain up to the parent implementation to invoke the
                 default handler. Since: 1.6</doc>
        <callback name="sink_query">
          <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                           line="239"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="encoder" transfer-ownership="none">
              <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
            </parameter>
            <parameter name="query" transfer-ownership="none">
              <type name="Gst.Query" c:type="GstQuery*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="src_query">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioencoder.h"
             line="187">Optional.
                 Query handler on the source pad. This function should
                 return TRUE if the query could be performed. Subclasses
                 should chain up to the parent implementation to invoke the
                 default handler. Since: 1.6</doc>
        <callback name="src_query">
          <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                           line="242"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="encoder" transfer-ownership="none">
              <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
            </parameter>
            <parameter name="query" transfer-ownership="none">
              <type name="Gst.Query" c:type="GstQuery*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="17">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="AudioEncoderPrivate"
            c:type="GstAudioEncoderPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                       line="92"/>
    </record>
    <class name="AudioFilter"
           c:symbol-prefix="audio_filter"
           c:type="GstAudioFilter"
           parent="GstBase.BaseTransform"
           abstract="1"
           glib:type-name="GstAudioFilter"
           glib:get-type="gst_audio_filter_get_type"
           glib:type-struct="AudioFilterClass">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiofilter.c"
           line="22">#GstAudioFilter is a #GstBaseTransform&lt;!-- --&gt;-derived base class for simple audio
filters, ie. those that output the same format that they get as input.

#GstAudioFilter will parse the input format for you (with error checking)
before calling your setup function. Also, elements deriving from
#GstAudioFilter may use gst_audio_filter_class_add_pad_templates() from
their class_init function to easily configure the set of caps/formats that
the element is able to handle.

Derived classes should override the #GstAudioFilterClass.setup() and
#GstBaseTransformClass.transform_ip() and/or
#GstBaseTransformClass.transform()
virtual functions in their class_init function.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiofilter.h"
                       line="93"/>
      <virtual-method name="setup">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiofilter.h"
             line="78">virtual function called whenever the format changes</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiofilter.h"
                         line="89"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="filter" transfer-ownership="none">
            <type name="AudioFilter" c:type="GstAudioFilter*"/>
          </instance-parameter>
          <parameter name="info" transfer-ownership="none">
            <type name="AudioInfo" c:type="const GstAudioInfo*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <field name="basetransform">
        <type name="GstBase.BaseTransform" c:type="GstBaseTransform"/>
      </field>
      <field name="info">
        <type name="AudioInfo" c:type="GstAudioInfo"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="AudioFilterClass"
            c:type="GstAudioFilterClass"
            glib:is-gtype-struct-for="AudioFilter">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiofilter.h"
           line="75">In addition to the @setup virtual function, you should also override the
GstBaseTransform::transform and/or GstBaseTransform::transform_ip virtual
function.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiofilter.h"
                       line="93"/>
      <field name="basetransformclass">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiofilter.h"
             line="77">parent class</doc>
        <type name="GstBase.BaseTransformClass"
              c:type="GstBaseTransformClass"/>
      </field>
      <field name="setup">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiofilter.h"
             line="78">virtual function called whenever the format changes</doc>
        <callback name="setup">
          <source-position filename="gst-libs/gst/audio/gstaudiofilter.h"
                           line="89"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="filter" transfer-ownership="none">
              <type name="AudioFilter" c:type="GstAudioFilter*"/>
            </parameter>
            <parameter name="info" transfer-ownership="none">
              <type name="AudioInfo" c:type="const GstAudioInfo*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <method name="add_pad_templates"
              c:identifier="gst_audio_filter_class_add_pad_templates">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiofilter.c"
             line="216">Convenience function to add pad templates to this element class, with
@allowed_caps as the caps that can be handled.

This function is usually used from within a GObject class_init function.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiofilter.h"
                         line="99"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="klass" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiofilter.c"
                 line="218">an #GstAudioFilterClass</doc>
            <type name="AudioFilterClass" c:type="GstAudioFilterClass*"/>
          </instance-parameter>
          <parameter name="allowed_caps" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiofilter.c"
                 line="219">what formats the filter can handle, as #GstCaps</doc>
            <type name="Gst.Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
    </record>
    <bitfield name="AudioFlags"
              glib:type-name="GstAudioFlags"
              glib:get-type="gst_audio_flags_get_type"
              c:type="GstAudioFlags">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-info.h"
           line="33">Extra audio flags</doc>
      <member name="none"
              value="0"
              c:identifier="GST_AUDIO_FLAG_NONE"
              glib:nick="none"
              glib:name="GST_AUDIO_FLAG_NONE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-info.h"
             line="35">no valid flag</doc>
      </member>
      <member name="unpositioned"
              value="1"
              c:identifier="GST_AUDIO_FLAG_UNPOSITIONED"
              glib:nick="unpositioned"
              glib:name="GST_AUDIO_FLAG_UNPOSITIONED">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-info.h"
             line="36">the position array explicitly
    contains unpositioned channels.</doc>
      </member>
    </bitfield>
    <enumeration name="AudioFormat"
                 glib:type-name="GstAudioFormat"
                 glib:get-type="gst_audio_format_get_type"
                 c:type="GstAudioFormat">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.h"
           line="39">Enum value describing the most common audio formats.</doc>
      <member name="unknown"
              value="0"
              c:identifier="GST_AUDIO_FORMAT_UNKNOWN"
              glib:nick="unknown"
              glib:name="GST_AUDIO_FORMAT_UNKNOWN">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="41">unknown or unset audio format</doc>
      </member>
      <member name="encoded"
              value="1"
              c:identifier="GST_AUDIO_FORMAT_ENCODED"
              glib:nick="encoded"
              glib:name="GST_AUDIO_FORMAT_ENCODED">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="42">encoded audio format</doc>
      </member>
      <member name="s8"
              value="2"
              c:identifier="GST_AUDIO_FORMAT_S8"
              glib:nick="s8"
              glib:name="GST_AUDIO_FORMAT_S8">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="43">8 bits in 8 bits, signed</doc>
      </member>
      <member name="u8"
              value="3"
              c:identifier="GST_AUDIO_FORMAT_U8"
              glib:nick="u8"
              glib:name="GST_AUDIO_FORMAT_U8">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="44">8 bits in 8 bits, unsigned</doc>
      </member>
      <member name="s16le"
              value="4"
              c:identifier="GST_AUDIO_FORMAT_S16LE"
              glib:nick="s16le"
              glib:name="GST_AUDIO_FORMAT_S16LE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="45">16 bits in 16 bits, signed, little endian</doc>
      </member>
      <member name="s16be"
              value="5"
              c:identifier="GST_AUDIO_FORMAT_S16BE"
              glib:nick="s16be"
              glib:name="GST_AUDIO_FORMAT_S16BE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="46">16 bits in 16 bits, signed, big endian</doc>
      </member>
      <member name="u16le"
              value="6"
              c:identifier="GST_AUDIO_FORMAT_U16LE"
              glib:nick="u16le"
              glib:name="GST_AUDIO_FORMAT_U16LE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="47">16 bits in 16 bits, unsigned, little endian</doc>
      </member>
      <member name="u16be"
              value="7"
              c:identifier="GST_AUDIO_FORMAT_U16BE"
              glib:nick="u16be"
              glib:name="GST_AUDIO_FORMAT_U16BE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="48">16 bits in 16 bits, unsigned, big endian</doc>
      </member>
      <member name="s24_32le"
              value="8"
              c:identifier="GST_AUDIO_FORMAT_S24_32LE"
              glib:nick="s24-32le"
              glib:name="GST_AUDIO_FORMAT_S24_32LE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="49">24 bits in 32 bits, signed, little endian</doc>
      </member>
      <member name="s24_32be"
              value="9"
              c:identifier="GST_AUDIO_FORMAT_S24_32BE"
              glib:nick="s24-32be"
              glib:name="GST_AUDIO_FORMAT_S24_32BE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="50">24 bits in 32 bits, signed, big endian</doc>
      </member>
      <member name="u24_32le"
              value="10"
              c:identifier="GST_AUDIO_FORMAT_U24_32LE"
              glib:nick="u24-32le"
              glib:name="GST_AUDIO_FORMAT_U24_32LE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="51">24 bits in 32 bits, unsigned, little endian</doc>
      </member>
      <member name="u24_32be"
              value="11"
              c:identifier="GST_AUDIO_FORMAT_U24_32BE"
              glib:nick="u24-32be"
              glib:name="GST_AUDIO_FORMAT_U24_32BE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="52">24 bits in 32 bits, unsigned, big endian</doc>
      </member>
      <member name="s32le"
              value="12"
              c:identifier="GST_AUDIO_FORMAT_S32LE"
              glib:nick="s32le"
              glib:name="GST_AUDIO_FORMAT_S32LE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="53">32 bits in 32 bits, signed, little endian</doc>
      </member>
      <member name="s32be"
              value="13"
              c:identifier="GST_AUDIO_FORMAT_S32BE"
              glib:nick="s32be"
              glib:name="GST_AUDIO_FORMAT_S32BE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="54">32 bits in 32 bits, signed, big endian</doc>
      </member>
      <member name="u32le"
              value="14"
              c:identifier="GST_AUDIO_FORMAT_U32LE"
              glib:nick="u32le"
              glib:name="GST_AUDIO_FORMAT_U32LE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="55">32 bits in 32 bits, unsigned, little endian</doc>
      </member>
      <member name="u32be"
              value="15"
              c:identifier="GST_AUDIO_FORMAT_U32BE"
              glib:nick="u32be"
              glib:name="GST_AUDIO_FORMAT_U32BE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="56">32 bits in 32 bits, unsigned, big endian</doc>
      </member>
      <member name="s24le"
              value="16"
              c:identifier="GST_AUDIO_FORMAT_S24LE"
              glib:nick="s24le"
              glib:name="GST_AUDIO_FORMAT_S24LE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="57">24 bits in 24 bits, signed, little endian</doc>
      </member>
      <member name="s24be"
              value="17"
              c:identifier="GST_AUDIO_FORMAT_S24BE"
              glib:nick="s24be"
              glib:name="GST_AUDIO_FORMAT_S24BE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="58">24 bits in 24 bits, signed, big endian</doc>
      </member>
      <member name="u24le"
              value="18"
              c:identifier="GST_AUDIO_FORMAT_U24LE"
              glib:nick="u24le"
              glib:name="GST_AUDIO_FORMAT_U24LE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="59">24 bits in 24 bits, unsigned, little endian</doc>
      </member>
      <member name="u24be"
              value="19"
              c:identifier="GST_AUDIO_FORMAT_U24BE"
              glib:nick="u24be"
              glib:name="GST_AUDIO_FORMAT_U24BE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="60">24 bits in 24 bits, unsigned, big endian</doc>
      </member>
      <member name="s20le"
              value="20"
              c:identifier="GST_AUDIO_FORMAT_S20LE"
              glib:nick="s20le"
              glib:name="GST_AUDIO_FORMAT_S20LE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="61">20 bits in 24 bits, signed, little endian</doc>
      </member>
      <member name="s20be"
              value="21"
              c:identifier="GST_AUDIO_FORMAT_S20BE"
              glib:nick="s20be"
              glib:name="GST_AUDIO_FORMAT_S20BE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="62">20 bits in 24 bits, signed, big endian</doc>
      </member>
      <member name="u20le"
              value="22"
              c:identifier="GST_AUDIO_FORMAT_U20LE"
              glib:nick="u20le"
              glib:name="GST_AUDIO_FORMAT_U20LE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="63">20 bits in 24 bits, unsigned, little endian</doc>
      </member>
      <member name="u20be"
              value="23"
              c:identifier="GST_AUDIO_FORMAT_U20BE"
              glib:nick="u20be"
              glib:name="GST_AUDIO_FORMAT_U20BE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="64">20 bits in 24 bits, unsigned, big endian</doc>
      </member>
      <member name="s18le"
              value="24"
              c:identifier="GST_AUDIO_FORMAT_S18LE"
              glib:nick="s18le"
              glib:name="GST_AUDIO_FORMAT_S18LE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="65">18 bits in 24 bits, signed, little endian</doc>
      </member>
      <member name="s18be"
              value="25"
              c:identifier="GST_AUDIO_FORMAT_S18BE"
              glib:nick="s18be"
              glib:name="GST_AUDIO_FORMAT_S18BE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="66">18 bits in 24 bits, signed, big endian</doc>
      </member>
      <member name="u18le"
              value="26"
              c:identifier="GST_AUDIO_FORMAT_U18LE"
              glib:nick="u18le"
              glib:name="GST_AUDIO_FORMAT_U18LE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="67">18 bits in 24 bits, unsigned, little endian</doc>
      </member>
      <member name="u18be"
              value="27"
              c:identifier="GST_AUDIO_FORMAT_U18BE"
              glib:nick="u18be"
              glib:name="GST_AUDIO_FORMAT_U18BE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="68">18 bits in 24 bits, unsigned, big endian</doc>
      </member>
      <member name="f32le"
              value="28"
              c:identifier="GST_AUDIO_FORMAT_F32LE"
              glib:nick="f32le"
              glib:name="GST_AUDIO_FORMAT_F32LE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="69">32-bit floating point samples, little endian</doc>
      </member>
      <member name="f32be"
              value="29"
              c:identifier="GST_AUDIO_FORMAT_F32BE"
              glib:nick="f32be"
              glib:name="GST_AUDIO_FORMAT_F32BE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="70">32-bit floating point samples, big endian</doc>
      </member>
      <member name="f64le"
              value="30"
              c:identifier="GST_AUDIO_FORMAT_F64LE"
              glib:nick="f64le"
              glib:name="GST_AUDIO_FORMAT_F64LE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="71">64-bit floating point samples, little endian</doc>
      </member>
      <member name="f64be"
              value="31"
              c:identifier="GST_AUDIO_FORMAT_F64BE"
              glib:nick="f64be"
              glib:name="GST_AUDIO_FORMAT_F64BE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="72">64-bit floating point samples, big endian</doc>
      </member>
      <member name="s20_32le"
              value="32"
              c:identifier="GST_AUDIO_FORMAT_S20_32LE"
              version="1.28"
              glib:nick="s20-32le"
              glib:name="GST_AUDIO_FORMAT_S20_32LE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="138">20 bits in 32 bits, signed, little endian.</doc>
      </member>
      <member name="s20_32be"
              value="33"
              c:identifier="GST_AUDIO_FORMAT_S20_32BE"
              version="1.28"
              glib:nick="s20-32be"
              glib:name="GST_AUDIO_FORMAT_S20_32BE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="146">20 bits in 32 bits, signed, big endian.</doc>
      </member>
      <member name="u20_32le"
              value="34"
              c:identifier="GST_AUDIO_FORMAT_U20_32LE"
              version="1.28"
              glib:nick="u20-32le"
              glib:name="GST_AUDIO_FORMAT_U20_32LE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="154">20 bits in 32 bits, unsigned, little endian.</doc>
      </member>
      <member name="u20_32be"
              value="35"
              c:identifier="GST_AUDIO_FORMAT_U20_32BE"
              version="1.28"
              glib:nick="u20-32be"
              glib:name="GST_AUDIO_FORMAT_U20_32BE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="162">20 bits in 32 bits, unsigned, big endian.</doc>
      </member>
      <member name="s16"
              value="4"
              c:identifier="GST_AUDIO_FORMAT_S16"
              glib:nick="s16"
              glib:name="GST_AUDIO_FORMAT_S16">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="77">16 bits in 16 bits, signed, native endianness</doc>
      </member>
      <member name="u16"
              value="6"
              c:identifier="GST_AUDIO_FORMAT_U16"
              glib:nick="u16"
              glib:name="GST_AUDIO_FORMAT_U16">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="78">16 bits in 16 bits, unsigned, native endianness</doc>
      </member>
      <member name="s24_32"
              value="8"
              c:identifier="GST_AUDIO_FORMAT_S24_32"
              glib:nick="s24-32"
              glib:name="GST_AUDIO_FORMAT_S24_32">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="79">24 bits in 32 bits, signed, native endianness</doc>
      </member>
      <member name="u24_32"
              value="10"
              c:identifier="GST_AUDIO_FORMAT_U24_32"
              glib:nick="u24-32"
              glib:name="GST_AUDIO_FORMAT_U24_32">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="80">24 bits in 32 bits, unsigned, native endianness</doc>
      </member>
      <member name="s32"
              value="12"
              c:identifier="GST_AUDIO_FORMAT_S32"
              glib:nick="s32"
              glib:name="GST_AUDIO_FORMAT_S32">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="81">32 bits in 32 bits, signed, native endianness</doc>
      </member>
      <member name="u32"
              value="14"
              c:identifier="GST_AUDIO_FORMAT_U32"
              glib:nick="u32"
              glib:name="GST_AUDIO_FORMAT_U32">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="82">32 bits in 32 bits, unsigned, native endianness</doc>
      </member>
      <member name="s24"
              value="16"
              c:identifier="GST_AUDIO_FORMAT_S24"
              glib:nick="s24"
              glib:name="GST_AUDIO_FORMAT_S24">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="83">24 bits in 24 bits, signed, native endianness</doc>
      </member>
      <member name="u24"
              value="18"
              c:identifier="GST_AUDIO_FORMAT_U24"
              glib:nick="u24"
              glib:name="GST_AUDIO_FORMAT_U24">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="84">24 bits in 24 bits, unsigned, native endianness</doc>
      </member>
      <member name="s20"
              value="20"
              c:identifier="GST_AUDIO_FORMAT_S20"
              glib:nick="s20"
              glib:name="GST_AUDIO_FORMAT_S20">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="85">20 bits in 24 bits, signed, native endianness</doc>
      </member>
      <member name="u20"
              value="22"
              c:identifier="GST_AUDIO_FORMAT_U20"
              glib:nick="u20"
              glib:name="GST_AUDIO_FORMAT_U20">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="86">20 bits in 24 bits, unsigned, native endianness</doc>
      </member>
      <member name="s20_32"
              value="32"
              c:identifier="GST_AUDIO_FORMAT_S20_32"
              version="1.28"
              glib:nick="s20-32"
              glib:name="GST_AUDIO_FORMAT_S20_32">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="184">20 bits in 32 bits, signed, native endian.</doc>
      </member>
      <member name="u20_32"
              value="34"
              c:identifier="GST_AUDIO_FORMAT_U20_32"
              version="1.28"
              glib:nick="u20-32"
              glib:name="GST_AUDIO_FORMAT_U20_32">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="192">20 bits in 32 bits, unsigned, native endian.</doc>
      </member>
      <member name="s18"
              value="24"
              c:identifier="GST_AUDIO_FORMAT_S18"
              glib:nick="s18"
              glib:name="GST_AUDIO_FORMAT_S18">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="89">18 bits in 24 bits, signed, native endianness</doc>
      </member>
      <member name="u18"
              value="26"
              c:identifier="GST_AUDIO_FORMAT_U18"
              glib:nick="u18"
              glib:name="GST_AUDIO_FORMAT_U18">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="90">18 bits in 24 bits, unsigned, native endianness</doc>
      </member>
      <member name="f32"
              value="28"
              c:identifier="GST_AUDIO_FORMAT_F32"
              glib:nick="f32"
              glib:name="GST_AUDIO_FORMAT_F32">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="91">32-bit floating point samples, native endianness</doc>
      </member>
      <member name="f64"
              value="30"
              c:identifier="GST_AUDIO_FORMAT_F64"
              glib:nick="f64"
              glib:name="GST_AUDIO_FORMAT_F64">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="92">64-bit floating point samples, native endianness</doc>
      </member>
      <function name="build_integer"
                c:identifier="gst_audio_format_build_integer">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.c"
             line="384">Construct a #GstAudioFormat with given parameters.</doc>
        <source-position filename="gst-libs/gst/audio/audio-format.h"
                         line="353"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.c"
               line="393">a #GstAudioFormat or GST_AUDIO_FORMAT_UNKNOWN when no audio format
exists with the given parameters.</doc>
          <type name="AudioFormat" c:type="GstAudioFormat"/>
        </return-value>
        <parameters>
          <parameter name="sign" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-format.c"
                 line="386">signed or unsigned format</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="endianness" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-format.c"
                 line="387">G_LITTLE_ENDIAN or G_BIG_ENDIAN</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-format.c"
                 line="388">amount of bits used per sample</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="depth" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-format.c"
                 line="389">amount of used bits in @width</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </function>
      <function name="fill_silence"
                c:identifier="gst_audio_format_fill_silence"
                deprecated="1"
                deprecated-version="1.20">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.c"
             line="492">Fill @length bytes in @dest with silence samples for @info.</doc>
        <doc-deprecated xml:space="preserve">Use gst_audio_format_info_fill_silence() instead.</doc-deprecated>
        <source-position filename="gst-libs/gst/audio/audio-format.h"
                         line="370"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-format.c"
                 line="494">a #GstAudioFormatInfo</doc>
            <type name="AudioFormatInfo" c:type="const GstAudioFormatInfo*"/>
          </parameter>
          <parameter name="dest" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-format.c"
                 line="495">a destination
  to fill</doc>
            <array length="2" zero-terminated="0" c:type="gpointer">
              <type name="guint8"/>
            </array>
          </parameter>
          <parameter name="length" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-format.c"
                 line="497">the length to fill</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </function>
      <function name="from_string" c:identifier="gst_audio_format_from_string">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.c"
             line="430">Convert the @format string to its #GstAudioFormat.</doc>
        <source-position filename="gst-libs/gst/audio/audio-format.h"
                         line="357"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.c"
               line="436">the #GstAudioFormat for @format or GST_AUDIO_FORMAT_UNKNOWN when the
string is not a known format.</doc>
          <type name="AudioFormat" c:type="GstAudioFormat"/>
        </return-value>
        <parameters>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-format.c"
                 line="432">a format string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_info" c:identifier="gst_audio_format_get_info">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.c"
             line="476">Get the #GstAudioFormatInfo for @format</doc>
        <source-position filename="gst-libs/gst/audio/audio-format.h"
                         line="364"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.c"
               line="482">The #GstAudioFormatInfo for @format.</doc>
          <type name="AudioFormatInfo" c:type="const GstAudioFormatInfo*"/>
        </return-value>
        <parameters>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-format.c"
                 line="478">a #GstAudioFormat</doc>
            <type name="AudioFormat" c:type="GstAudioFormat"/>
          </parameter>
        </parameters>
      </function>
      <function name="to_string" c:identifier="gst_audio_format_to_string">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.c"
             line="453">Returns a string containing a descriptive name for the #GstAudioFormat.

Since 1.26 this can also be used with %GST_AUDIO_FORMAT_UNKNOWN, previous
versions were printing a critical warning and returned %NULL.</doc>
        <source-position filename="gst-libs/gst/audio/audio-format.h"
                         line="360"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.c"
               line="462">the name corresponding to @format</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-format.c"
                 line="455">a #GstAudioFormat audio format</doc>
            <type name="AudioFormat" c:type="GstAudioFormat"/>
          </parameter>
        </parameters>
      </function>
    </enumeration>
    <bitfield name="AudioFormatFlags"
              glib:type-name="GstAudioFormatFlags"
              glib:get-type="gst_audio_format_flags_get_type"
              c:type="GstAudioFormatFlags">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.h"
           line="217">The different audio flags that a format info can have.</doc>
      <member name="integer"
              value="1"
              c:identifier="GST_AUDIO_FORMAT_FLAG_INTEGER"
              glib:nick="integer"
              glib:name="GST_AUDIO_FORMAT_FLAG_INTEGER">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="219">integer samples</doc>
      </member>
      <member name="float"
              value="2"
              c:identifier="GST_AUDIO_FORMAT_FLAG_FLOAT"
              glib:nick="float"
              glib:name="GST_AUDIO_FORMAT_FLAG_FLOAT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="220">float samples</doc>
      </member>
      <member name="signed"
              value="4"
              c:identifier="GST_AUDIO_FORMAT_FLAG_SIGNED"
              glib:nick="signed"
              glib:name="GST_AUDIO_FORMAT_FLAG_SIGNED">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="221">signed samples</doc>
      </member>
      <member name="complex"
              value="16"
              c:identifier="GST_AUDIO_FORMAT_FLAG_COMPLEX"
              glib:nick="complex"
              glib:name="GST_AUDIO_FORMAT_FLAG_COMPLEX">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="222">complex layout</doc>
      </member>
      <member name="unpack"
              value="32"
              c:identifier="GST_AUDIO_FORMAT_FLAG_UNPACK"
              glib:nick="unpack"
              glib:name="GST_AUDIO_FORMAT_FLAG_UNPACK">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="223">the format can be used in
#GstAudioFormatUnpack and #GstAudioFormatPack functions</doc>
      </member>
    </bitfield>
    <record name="AudioFormatInfo"
            c:type="GstAudioFormatInfo"
            glib:type-name="GstAudioFormatInfo"
            glib:get-type="gst_audio_format_info_get_type"
            c:symbol-prefix="audio_format_info">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.h"
           line="287">Information for an audio format.</doc>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="320"/>
      <field name="format" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="289">#GstAudioFormat</doc>
        <type name="AudioFormat" c:type="GstAudioFormat"/>
      </field>
      <field name="name" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="290">string representation of the format</doc>
        <type name="utf8" c:type="const gchar*"/>
      </field>
      <field name="description" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="291">user readable description of the format</doc>
        <type name="utf8" c:type="const gchar*"/>
      </field>
      <field name="flags" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="292">#GstAudioFormatFlags</doc>
        <type name="AudioFormatFlags" c:type="GstAudioFormatFlags"/>
      </field>
      <field name="endianness" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="293">the endianness</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="width" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="294">amount of bits used for one sample</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="depth" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="295">amount of valid bits in @width</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="silence" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="296">@width/8 bytes with 1 silent sample</doc>
        <array zero-terminated="0" fixed-size="8">
          <type name="guint8" c:type="guint8"/>
        </array>
      </field>
      <field name="unpack_format" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="297">the format of the unpacked samples</doc>
        <type name="AudioFormat" c:type="GstAudioFormat"/>
      </field>
      <field name="unpack_func" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="298">function to unpack samples</doc>
        <type name="AudioFormatUnpack" c:type="GstAudioFormatUnpack"/>
      </field>
      <field name="pack_func" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="299">function to pack samples</doc>
        <type name="AudioFormatPack" c:type="GstAudioFormatPack"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <method name="fill_silence"
              c:identifier="gst_audio_format_info_fill_silence"
              version="1.20">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.c"
             line="510">Fill @length bytes in @dest with silence samples for @info.</doc>
        <source-position filename="gst-libs/gst/audio/audio-format.h"
                         line="367"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-format.c"
                 line="512">a #GstAudioFormatInfo</doc>
            <type name="AudioFormatInfo" c:type="const GstAudioFormatInfo*"/>
          </instance-parameter>
          <parameter name="dest" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-format.c"
                 line="513">a destination
  to fill</doc>
            <array length="1" zero-terminated="0" c:type="gpointer">
              <type name="guint8"/>
            </array>
          </parameter>
          <parameter name="length" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-format.c"
                 line="515">the length to fill</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </method>
    </record>
    <callback name="AudioFormatPack" c:type="GstAudioFormatPack">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.h"
           line="270">Packs @length samples from @src to the data array in format @info.
The samples from source have each channel interleaved
and will be packed into @data.</doc>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="283"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="info" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.h"
               line="272">a #GstAudioFormatInfo</doc>
          <type name="AudioFormatInfo" c:type="const GstAudioFormatInfo*"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.h"
               line="273">#GstAudioPackFlags</doc>
          <type name="AudioPackFlags" c:type="GstAudioPackFlags"/>
        </parameter>
        <parameter name="src" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.h"
               line="274">a source array</doc>
          <array zero-terminated="0" c:type="gconstpointer">
            <type name="guint8"/>
          </array>
        </parameter>
        <parameter name="data" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.h"
               line="275">pointer to the destination
  data</doc>
          <array zero-terminated="0" c:type="gpointer">
            <type name="guint8"/>
          </array>
        </parameter>
        <parameter name="length" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.h"
               line="277">the amount of samples to pack.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="AudioFormatUnpack" c:type="GstAudioFormatUnpack">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.h"
           line="254">Unpacks @length samples from the given data of format @info.
The samples will be unpacked into @dest which each channel
interleaved. @dest should at least be big enough to hold @length *
channels * size(unpack_format) bytes.</doc>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="267"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="info" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.h"
               line="256">a #GstAudioFormatInfo</doc>
          <type name="AudioFormatInfo" c:type="const GstAudioFormatInfo*"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.h"
               line="257">#GstAudioPackFlags</doc>
          <type name="AudioPackFlags" c:type="GstAudioPackFlags"/>
        </parameter>
        <parameter name="dest" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.h"
               line="258">a destination array</doc>
          <array zero-terminated="0" c:type="gpointer">
            <type name="guint8"/>
          </array>
        </parameter>
        <parameter name="data" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.h"
               line="259">pointer to the audio data</doc>
          <array zero-terminated="0" c:type="gconstpointer">
            <type name="guint8"/>
          </array>
        </parameter>
        <parameter name="length" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.h"
               line="260">the amount of samples to unpack.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </callback>
    <record name="AudioInfo"
            c:type="GstAudioInfo"
            glib:type-name="GstAudioInfo"
            glib:get-type="gst_audio_info_get_type"
            c:symbol-prefix="audio_info">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-info.h"
           line="46">Information describing audio properties. This information can be filled
in from GstCaps with gst_audio_info_from_caps().

Use the provided macros to access the info in this structure.</doc>
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="73"/>
      <field name="finfo" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-info.h"
             line="48">the format info of the audio</doc>
        <type name="AudioFormatInfo" c:type="const GstAudioFormatInfo*"/>
      </field>
      <field name="flags" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-info.h"
             line="49">additional audio flags</doc>
        <type name="AudioFlags" c:type="GstAudioFlags"/>
      </field>
      <field name="layout" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-info.h"
             line="50">audio layout</doc>
        <type name="AudioLayout" c:type="GstAudioLayout"/>
      </field>
      <field name="rate" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-info.h"
             line="51">the audio sample rate</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="channels" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-info.h"
             line="52">the number of channels</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="bpf" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-info.h"
             line="53">the number of bytes for one frame, this is the size of one
        sample * @channels</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="position" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-info.h"
             line="55">the positions for each channel</doc>
        <array zero-terminated="0" fixed-size="64">
          <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/>
        </array>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <constructor name="new" c:identifier="gst_audio_info_new">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-info.c"
             line="83">Allocate a new #GstAudioInfo that is also initialized with
gst_audio_info_init().</doc>
        <source-position filename="gst-libs/gst/audio/audio-info.h"
                         line="105"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-info.c"
               line="89">a new #GstAudioInfo. free with gst_audio_info_free().</doc>
          <type name="AudioInfo" c:type="GstAudioInfo*"/>
        </return-value>
      </constructor>
      <constructor name="new_from_caps"
                   c:identifier="gst_audio_info_new_from_caps"
                   version="1.20">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-info.c"
             line="323">Parse @caps to generate a #GstAudioInfo.</doc>
        <source-position filename="gst-libs/gst/audio/audio-info.h"
                         line="108"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-info.c"
               line="329">A #GstAudioInfo, or %NULL if @caps couldn't be parsed</doc>
          <type name="AudioInfo" c:type="GstAudioInfo*"/>
        </return-value>
        <parameters>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-info.c"
                 line="325">a #GstCaps</doc>
            <type name="Gst.Caps" c:type="const GstCaps*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="convert" c:identifier="gst_audio_info_convert">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-info.c"
             line="426">Converts among various #GstFormat types.  This function handles
GST_FORMAT_BYTES, GST_FORMAT_TIME, and GST_FORMAT_DEFAULT.  For
raw audio, GST_FORMAT_DEFAULT corresponds to audio frames.  This
function can be used to handle pad queries of the type GST_QUERY_CONVERT.</doc>
        <source-position filename="gst-libs/gst/audio/audio-info.h"
                         line="131"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-info.c"
               line="439">TRUE if the conversion was successful.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-info.c"
                 line="428">a #GstAudioInfo</doc>
            <type name="AudioInfo" c:type="const GstAudioInfo*"/>
          </instance-parameter>
          <parameter name="src_fmt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-info.c"
                 line="429">#GstFormat of the @src_val</doc>
            <type name="Gst.Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="src_val" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-info.c"
                 line="430">value to convert</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="dest_fmt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-info.c"
                 line="431">#GstFormat of the @dest_val</doc>
            <type name="Gst.Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="dest_val"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-info.c"
                 line="432">pointer to destination value</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="copy" c:identifier="gst_audio_info_copy">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-info.c"
             line="53">Copy a GstAudioInfo structure.</doc>
        <source-position filename="gst-libs/gst/audio/audio-info.h"
                         line="114"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-info.c"
               line="59">a new #GstAudioInfo. free with gst_audio_info_free.</doc>
          <type name="AudioInfo" c:type="GstAudioInfo*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-info.c"
                 line="55">a #GstAudioInfo</doc>
            <type name="AudioInfo" c:type="const GstAudioInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="free" c:identifier="gst_audio_info_free">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-info.c"
             line="67">Free a GstAudioInfo structure previously allocated with gst_audio_info_new()
or gst_audio_info_copy().</doc>
        <source-position filename="gst-libs/gst/audio/audio-info.h"
                         line="117"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-info.c"
                 line="69">a #GstAudioInfo</doc>
            <type name="AudioInfo" c:type="GstAudioInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_equal"
              c:identifier="gst_audio_info_is_equal"
              version="1.2">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-info.c"
             line="519">Compares two #GstAudioInfo and returns whether they are equal or not</doc>
        <source-position filename="gst-libs/gst/audio/audio-info.h"
                         line="136"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-info.c"
               line="526">%TRUE if @info and @other are equal, else %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-info.c"
                 line="521">a #GstAudioInfo</doc>
            <type name="AudioInfo" c:type="const GstAudioInfo*"/>
          </instance-parameter>
          <parameter name="other" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-info.c"
                 line="522">a #GstAudioInfo</doc>
            <type name="AudioInfo" c:type="const GstAudioInfo*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_format" c:identifier="gst_audio_info_set_format">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-info.c"
             line="118">Set the default info for the audio info of @format and @rate and @channels.

Note: This initializes @info first, no values are preserved.</doc>
        <source-position filename="gst-libs/gst/audio/audio-info.h"
                         line="120"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-info.c"
                 line="120">a #GstAudioInfo</doc>
            <type name="AudioInfo" c:type="GstAudioInfo*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-info.c"
                 line="121">the format</doc>
            <type name="AudioFormat" c:type="GstAudioFormat"/>
          </parameter>
          <parameter name="rate" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-info.c"
                 line="122">the samplerate</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="channels" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-info.c"
                 line="123">the number of channels</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="position"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-info.c"
                 line="124">the channel positions</doc>
            <array zero-terminated="0"
                   c:type="const GstAudioChannelPosition*"
                   fixed-size="64">
              <type name="AudioChannelPosition"
                    c:type="GstAudioChannelPosition"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <method name="to_caps" c:identifier="gst_audio_info_to_caps">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-info.c"
             line="345">Convert the values of @info into a #GstCaps.</doc>
        <source-position filename="gst-libs/gst/audio/audio-info.h"
                         line="128"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-info.c"
               line="351">the new #GstCaps containing the
         info of @info.</doc>
          <type name="Gst.Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-info.c"
                 line="347">a #GstAudioInfo</doc>
            <type name="AudioInfo" c:type="const GstAudioInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <function name="from_caps" c:identifier="gst_audio_info_from_caps">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-info.c"
             line="182">Parse @caps and update @info.</doc>
        <source-position filename="gst-libs/gst/audio/audio-info.h"
                         line="125"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-info.c"
               line="189">TRUE if @caps could be parsed</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="info"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-info.c"
                 line="184">a #GstAudioInfo</doc>
            <type name="AudioInfo" c:type="GstAudioInfo*"/>
          </parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-info.c"
                 line="185">a #GstCaps</doc>
            <type name="Gst.Caps" c:type="const GstCaps*"/>
          </parameter>
        </parameters>
      </function>
      <function name="init" c:identifier="gst_audio_info_init">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-info.c"
             line="102">Initialize @info with default values.</doc>
        <source-position filename="gst-libs/gst/audio/audio-info.h"
                         line="111"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="info"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-info.c"
                 line="104">a #GstAudioInfo</doc>
            <type name="AudioInfo" c:type="GstAudioInfo*"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <enumeration name="AudioLayout"
                 glib:type-name="GstAudioLayout"
                 glib:get-type="gst_audio_layout_get_type"
                 c:type="GstAudioLayout">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.h"
           line="474">Layout of the audio samples for the different channels.</doc>
      <member name="interleaved"
              value="0"
              c:identifier="GST_AUDIO_LAYOUT_INTERLEAVED"
              glib:nick="interleaved"
              glib:name="GST_AUDIO_LAYOUT_INTERLEAVED">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="476">interleaved audio</doc>
      </member>
      <member name="non_interleaved"
              value="1"
              c:identifier="GST_AUDIO_LAYOUT_NON_INTERLEAVED"
              glib:nick="non-interleaved"
              glib:name="GST_AUDIO_LAYOUT_NON_INTERLEAVED">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="477">non-interleaved audio</doc>
      </member>
    </enumeration>
    <record name="AudioLevelMeta" c:type="GstAudioLevelMeta" version="1.20">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiometa.h"
           line="222">Meta containing Audio Level Indication: https://tools.ietf.org/html/rfc6464</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h"
                       line="238"/>
      <field name="meta" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.h"
             line="224">parent #GstMeta</doc>
        <type name="Gst.Meta" c:type="GstMeta"/>
      </field>
      <field name="level" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.h"
             line="225">the -dBov from 0-127 (127 is silence).</doc>
        <type name="guint8" c:type="guint8"/>
      </field>
      <field name="voice_activity" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.h"
             line="226">whether the buffer contains voice activity</doc>
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <function name="get_info"
                c:identifier="gst_audio_level_meta_get_info"
                version="1.20">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.c"
             line="660">Return the #GstMetaInfo associated with #GstAudioLevelMeta.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiometa.h"
                         line="244"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="665">a #GstMetaInfo</doc>
          <type name="Gst.MetaInfo" c:type="const GstMetaInfo*"/>
        </return-value>
      </function>
    </record>
    <record name="AudioMeta" c:type="GstAudioMeta" version="1.16">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiometa.c"
           line="20">#GstAudioDownmixMeta defines an audio downmix matrix to be send along with
audio buffers. These functions in this module help to create and attach the
meta as well as extracting it.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h"
                       line="188"/>
      <field name="meta" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.h"
             line="136">parent #GstMeta</doc>
        <type name="Gst.Meta" c:type="GstMeta"/>
      </field>
      <field name="info" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.h"
             line="137">the audio properties of the buffer</doc>
        <type name="AudioInfo" c:type="GstAudioInfo"/>
      </field>
      <field name="samples" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.h"
             line="138">the number of valid samples in the buffer</doc>
        <type name="gsize" c:type="gsize"/>
      </field>
      <field name="offsets" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.h"
             line="139">the offsets (in bytes) where each channel plane starts in the
  buffer or %NULL if the buffer has interleaved layout; if not %NULL, this
  is guaranteed to be an array of @info.channels elements</doc>
        <array zero-terminated="0" c:type="gsize*">
          <type name="gsize" c:type="gsize"/>
        </array>
      </field>
      <field name="priv_offsets_arr" readable="0" private="1">
        <array zero-terminated="0" fixed-size="8">
          <type name="gsize" c:type="gsize"/>
        </array>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <function name="get_info" c:identifier="gst_audio_meta_get_info">
        <source-position filename="gst-libs/gst/audio/gstaudiometa.h"
                         line="194"/>
        <return-value transfer-ownership="none">
          <type name="Gst.MetaInfo" c:type="const GstMetaInfo*"/>
        </return-value>
      </function>
    </record>
    <enumeration name="AudioNoiseShapingMethod"
                 glib:type-name="GstAudioNoiseShapingMethod"
                 glib:get-type="gst_audio_noise_shaping_method_get_type"
                 c:type="GstAudioNoiseShapingMethod">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-quantize.h"
           line="49">Set of available noise shaping methods</doc>
      <member name="none"
              value="0"
              c:identifier="GST_AUDIO_NOISE_SHAPING_NONE"
              glib:nick="none"
              glib:name="GST_AUDIO_NOISE_SHAPING_NONE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-quantize.h"
             line="51">No noise shaping (default)</doc>
      </member>
      <member name="error_feedback"
              value="1"
              c:identifier="GST_AUDIO_NOISE_SHAPING_ERROR_FEEDBACK"
              glib:nick="error-feedback"
              glib:name="GST_AUDIO_NOISE_SHAPING_ERROR_FEEDBACK">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-quantize.h"
             line="52">Error feedback</doc>
      </member>
      <member name="simple"
              value="2"
              c:identifier="GST_AUDIO_NOISE_SHAPING_SIMPLE"
              glib:nick="simple"
              glib:name="GST_AUDIO_NOISE_SHAPING_SIMPLE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-quantize.h"
             line="53">Simple 2-pole noise shaping</doc>
      </member>
      <member name="medium"
              value="3"
              c:identifier="GST_AUDIO_NOISE_SHAPING_MEDIUM"
              glib:nick="medium"
              glib:name="GST_AUDIO_NOISE_SHAPING_MEDIUM">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-quantize.h"
             line="54">Medium 5-pole noise shaping</doc>
      </member>
      <member name="high"
              value="4"
              c:identifier="GST_AUDIO_NOISE_SHAPING_HIGH"
              glib:nick="high"
              glib:name="GST_AUDIO_NOISE_SHAPING_HIGH">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-quantize.h"
             line="55">High 8-pole noise shaping</doc>
      </member>
    </enumeration>
    <bitfield name="AudioPackFlags"
              glib:type-name="GstAudioPackFlags"
              glib:get-type="gst_audio_pack_flags_get_type"
              c:type="GstAudioPackFlags">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.h"
           line="237">The different flags that can be used when packing and unpacking.</doc>
      <member name="none"
              value="0"
              c:identifier="GST_AUDIO_PACK_FLAG_NONE"
              glib:nick="none"
              glib:name="GST_AUDIO_PACK_FLAG_NONE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="239">No flag</doc>
      </member>
      <member name="truncate_range"
              value="1"
              c:identifier="GST_AUDIO_PACK_FLAG_TRUNCATE_RANGE"
              glib:nick="truncate-range"
              glib:name="GST_AUDIO_PACK_FLAG_TRUNCATE_RANGE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.h"
             line="240">When the source has a smaller depth
  than the target format, set the least significant bits of the target
  to 0. This is likely slightly faster but less accurate. When this flag
  is not specified, the most significant bits of the source are duplicated
  in the least significant bits of the destination.</doc>
      </member>
    </bitfield>
    <record name="AudioQuantize"
            c:type="GstAudioQuantize"
            disguised="1"
            opaque="1">
      <source-position filename="gst-libs/gst/audio/audio-quantize.h"
                       line="82"/>
      <method name="free" c:identifier="gst_audio_quantize_free">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-quantize.c"
             line="477">Free a #GstAudioQuantize.</doc>
        <source-position filename="gst-libs/gst/audio/audio-quantize.h"
                         line="93"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="quant" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-quantize.c"
                 line="479">a #GstAudioQuantize</doc>
            <type name="AudioQuantize" c:type="GstAudioQuantize*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="reset" c:identifier="gst_audio_quantize_reset">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-quantize.c"
             line="496">Reset @quant to the state is was when created, clearing any
history it might have.</doc>
        <source-position filename="gst-libs/gst/audio/audio-quantize.h"
                         line="96"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="quant" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-quantize.c"
                 line="498">a #GstAudioQuantize</doc>
            <type name="AudioQuantize" c:type="GstAudioQuantize*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="samples"
              c:identifier="gst_audio_quantize_samples"
              introspectable="0">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-quantize.c"
             line="511">Perform quantization on @samples in @in and write the result to @out.

In case the samples are interleaved, @in and @out must point to an
array with a single element pointing to a block of interleaved samples.

If non-interleaved samples are used, @in and @out must point to an
array with pointers to memory blocks, one for each channel.

@in and @out may point to the same memory location, in which case samples will be
modified in-place.</doc>
        <source-position filename="gst-libs/gst/audio/audio-quantize.h"
                         line="99"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="quant" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-quantize.c"
                 line="513">a #GstAudioQuantize</doc>
            <type name="AudioQuantize" c:type="GstAudioQuantize*"/>
          </instance-parameter>
          <parameter name="in" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-quantize.c"
                 line="514">input samples</doc>
            <array zero-terminated="0" c:type="const gpointer*">
              <type name="gpointer"/>
            </array>
          </parameter>
          <parameter name="out" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-quantize.c"
                 line="515">output samples</doc>
            <array zero-terminated="0" c:type="gpointer*">
              <type name="gpointer"/>
            </array>
          </parameter>
          <parameter name="samples" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-quantize.c"
                 line="516">number of samples</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <function name="new"
                c:identifier="gst_audio_quantize_new"
                introspectable="0">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-quantize.c"
             line="420">Create a new quantizer object with the given parameters.

Output samples will be quantized to a multiple of @quantizer. Better
performance is achieved when @quantizer is a power of 2.

Dithering and noise-shaping can be performed during quantization with
the @dither and @ns parameters.</doc>
        <source-position filename="gst-libs/gst/audio/audio-quantize.h"
                         line="85"/>
        <return-value>
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-quantize.c"
               line="437">a new #GstAudioQuantize. Free with gst_audio_quantize_free().</doc>
          <type name="AudioQuantize" c:type="GstAudioQuantize*"/>
        </return-value>
        <parameters>
          <parameter name="dither" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-quantize.c"
                 line="422">a #GstAudioDitherMethod</doc>
            <type name="AudioDitherMethod" c:type="GstAudioDitherMethod"/>
          </parameter>
          <parameter name="ns" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-quantize.c"
                 line="423">a #GstAudioNoiseShapingMethod</doc>
            <type name="AudioNoiseShapingMethod"
                  c:type="GstAudioNoiseShapingMethod"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-quantize.c"
                 line="424">#GstAudioQuantizeFlags</doc>
            <type name="AudioQuantizeFlags" c:type="GstAudioQuantizeFlags"/>
          </parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-quantize.c"
                 line="425">the #GstAudioFormat of the samples</doc>
            <type name="AudioFormat" c:type="GstAudioFormat"/>
          </parameter>
          <parameter name="channels" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-quantize.c"
                 line="426">the amount of channels in the samples</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="quantizer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-quantize.c"
                 line="427">the quantizer to use</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <bitfield name="AudioQuantizeFlags"
              glib:type-name="GstAudioQuantizeFlags"
              glib:get-type="gst_audio_quantize_flags_get_type"
              c:type="GstAudioQuantizeFlags">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-quantize.h"
           line="68">Extra flags that can be passed to gst_audio_quantize_new()</doc>
      <member name="none"
              value="0"
              c:identifier="GST_AUDIO_QUANTIZE_FLAG_NONE"
              glib:nick="none"
              glib:name="GST_AUDIO_QUANTIZE_FLAG_NONE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-quantize.h"
             line="70">no flags</doc>
      </member>
      <member name="non_interleaved"
              value="1"
              c:identifier="GST_AUDIO_QUANTIZE_FLAG_NON_INTERLEAVED"
              glib:nick="non-interleaved"
              glib:name="GST_AUDIO_QUANTIZE_FLAG_NON_INTERLEAVED">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-quantize.h"
             line="71">samples are non-interleaved</doc>
      </member>
    </bitfield>
    <record name="AudioResampler"
            c:type="GstAudioResampler"
            disguised="1"
            opaque="1"
            version="1.10">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-resampler.c"
           line="39">#GstAudioResampler is a structure which holds the information
required to perform various kinds of resampling filtering.</doc>
      <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                       line="35"/>
      <method name="free" c:identifier="gst_audio_resampler_free">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.c"
             line="1586">Free a previously allocated #GstAudioResampler @resampler.</doc>
        <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                         line="231"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="resampler" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1588">a #GstAudioResampler</doc>
            <type name="AudioResampler" c:type="GstAudioResampler*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_in_frames"
              c:identifier="gst_audio_resampler_get_in_frames">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.c"
             line="1650">Get the number of input frames that would currently be needed
to produce @out_frames from @resampler.</doc>
        <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                         line="246"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-resampler.c"
               line="1658">The number of input frames needed for producing
@out_frames of data from @resampler.</doc>
          <type name="gsize" c:type="gsize"/>
        </return-value>
        <parameters>
          <instance-parameter name="resampler" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1652">a #GstAudioResampler</doc>
            <type name="AudioResampler" c:type="GstAudioResampler*"/>
          </instance-parameter>
          <parameter name="out_frames" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1653">number of input frames</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_max_latency"
              c:identifier="gst_audio_resampler_get_max_latency">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.c"
             line="1677">Get the maximum number of input samples that the resampler would
need before producing output.</doc>
        <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                         line="250"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-resampler.c"
               line="1684">the latency of @resampler as expressed in the number of
frames.</doc>
          <type name="gsize" c:type="gsize"/>
        </return-value>
        <parameters>
          <instance-parameter name="resampler" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1679">a #GstAudioResampler</doc>
            <type name="AudioResampler" c:type="GstAudioResampler*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_out_frames"
              c:identifier="gst_audio_resampler_get_out_frames">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.c"
             line="1607">Get the number of output frames that would be currently available when
@in_frames are given to @resampler.</doc>
        <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                         line="242"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-resampler.c"
               line="1615">The number of frames that would be available after giving
@in_frames as input to @resampler.</doc>
          <type name="gsize" c:type="gsize"/>
        </return-value>
        <parameters>
          <instance-parameter name="resampler" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1609">a #GstAudioResampler</doc>
            <type name="AudioResampler" c:type="GstAudioResampler*"/>
          </instance-parameter>
          <parameter name="in_frames" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1610">number of input frames</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </method>
      <method name="resample" c:identifier="gst_audio_resampler_resample">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.c"
             line="1695">Perform resampling on @in_frames frames in @in and write @out_frames to @out.

In case the samples are interleaved, @in and @out must point to an
array with a single element pointing to a block of interleaved samples.

If non-interleaved samples are used, @in and @out must point to an
array with pointers to memory blocks, one for each channel.

@in may be %NULL, in which case @in_frames of silence samples are pushed
into the resampler.

This function always produces @out_frames of output and consumes @in_frames of
input. Use gst_audio_resampler_get_out_frames() and
gst_audio_resampler_get_in_frames() to make sure @in_frames and @out_frames
are matching and @in and @out point to enough memory.</doc>
        <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                         line="253"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="resampler" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1697">a #GstAudioResampler</doc>
            <type name="AudioResampler" c:type="GstAudioResampler*"/>
          </instance-parameter>
          <parameter name="in"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1698">input samples</doc>
            <type name="gpointer" c:type="gpointer*"/>
          </parameter>
          <parameter name="in_frames" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1699">number of input frames</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="out"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1700">output samples</doc>
            <type name="gpointer" c:type="gpointer*"/>
          </parameter>
          <parameter name="out_frames" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1701">number of output frames</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </method>
      <method name="reset" c:identifier="gst_audio_resampler_reset">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.c"
             line="1428">Reset @resampler to the state it was when it was first created, discarding
all sample history.</doc>
        <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                         line="234"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="resampler" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1430">a #GstAudioResampler</doc>
            <type name="AudioResampler" c:type="GstAudioResampler*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="update" c:identifier="gst_audio_resampler_update">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.c"
             line="1456">Update the resampler parameters for @resampler. This function should
not be called concurrently with any other function on @resampler.

When @in_rate or @out_rate is 0, its value is unchanged.

When @options is %NULL, the previously configured options are reused.</doc>
        <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                         line="237"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-resampler.c"
               line="1470">%TRUE if the new parameters could be set</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="resampler" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1458">a #GstAudioResampler</doc>
            <type name="AudioResampler" c:type="GstAudioResampler*"/>
          </instance-parameter>
          <parameter name="in_rate" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1459">new input rate</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="out_rate" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1460">new output rate</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="options" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1461">new options or %NULL</doc>
            <type name="Gst.Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </method>
      <function name="new" c:identifier="gst_audio_resampler_new">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.c"
             line="1300">Make a new resampler.</doc>
        <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                         line="224"/>
        <return-value transfer-ownership="full" skip="1">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-resampler.c"
               line="1312">The new #GstAudioResampler.</doc>
          <type name="AudioResampler" c:type="GstAudioResampler*"/>
        </return-value>
        <parameters>
          <parameter name="method" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1302">a #GstAudioResamplerMethod</doc>
            <type name="AudioResamplerMethod"
                  c:type="GstAudioResamplerMethod"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1303">#GstAudioResamplerFlags</doc>
            <type name="AudioResamplerFlags" c:type="GstAudioResamplerFlags"/>
          </parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1304">the #GstAudioFormat</doc>
            <type name="AudioFormat" c:type="GstAudioFormat"/>
          </parameter>
          <parameter name="channels" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1305">the number of channels</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="in_rate" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1306">input rate</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="out_rate" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1307">output rate</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="options" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1308">extra options</doc>
            <type name="Gst.Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </function>
      <function name="options_set_quality"
                c:identifier="gst_audio_resampler_options_set_quality">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.c"
             line="1236">Set the parameters for resampling from @in_rate to @out_rate using @method
for @quality in @options.</doc>
        <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                         line="218"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="method" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1238">a #GstAudioResamplerMethod</doc>
            <type name="AudioResamplerMethod"
                  c:type="GstAudioResamplerMethod"/>
          </parameter>
          <parameter name="quality" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1239">the quality</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="in_rate" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1240">the input rate</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="out_rate" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1241">the output rate</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="options" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/audio-resampler.c"
                 line="1242">a #GstStructure</doc>
            <type name="Gst.Structure" c:type="GstStructure*"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <enumeration name="AudioResamplerFilterInterpolation"
                 version="1.10"
                 glib:type-name="GstAudioResamplerFilterInterpolation"
                 glib:get-type="gst_audio_resampler_filter_interpolation_get_type"
                 c:type="GstAudioResamplerFilterInterpolation">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-resampler.h"
           line="125">The different filter interpolation methods.</doc>
      <member name="none"
              value="0"
              c:identifier="GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_NONE"
              glib:nick="none"
              glib:name="GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_NONE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.h"
             line="127">no interpolation</doc>
      </member>
      <member name="linear"
              value="1"
              c:identifier="GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_LINEAR"
              glib:nick="linear"
              glib:name="GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_LINEAR">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.h"
             line="128">linear interpolation of the
  filter coefficients.</doc>
      </member>
      <member name="cubic"
              value="2"
              c:identifier="GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_CUBIC"
              glib:nick="cubic"
              glib:name="GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_CUBIC">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.h"
             line="130">cubic interpolation of the
  filter coefficients.</doc>
      </member>
    </enumeration>
    <enumeration name="AudioResamplerFilterMode"
                 version="1.10"
                 glib:type-name="GstAudioResamplerFilterMode"
                 glib:get-type="gst_audio_resampler_filter_mode_get_type"
                 c:type="GstAudioResamplerFilterMode">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-resampler.h"
           line="89">Select for the filter tables should be set up.</doc>
      <member name="interpolated"
              value="0"
              c:identifier="GST_AUDIO_RESAMPLER_FILTER_MODE_INTERPOLATED"
              glib:nick="interpolated"
              glib:name="GST_AUDIO_RESAMPLER_FILTER_MODE_INTERPOLATED">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.h"
             line="91">Use interpolated filter tables. This
    uses less memory but more CPU and is slightly less accurate but it allows for more
    efficient variable rate resampling with gst_audio_resampler_update().</doc>
      </member>
      <member name="full"
              value="1"
              c:identifier="GST_AUDIO_RESAMPLER_FILTER_MODE_FULL"
              glib:nick="full"
              glib:name="GST_AUDIO_RESAMPLER_FILTER_MODE_FULL">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.h"
             line="94">Use full filter table. This uses more memory
    but less CPU.</doc>
      </member>
      <member name="auto"
              value="2"
              c:identifier="GST_AUDIO_RESAMPLER_FILTER_MODE_AUTO"
              glib:nick="auto"
              glib:name="GST_AUDIO_RESAMPLER_FILTER_MODE_AUTO">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.h"
             line="96">Automatically choose between interpolated
    and full filter tables.</doc>
      </member>
    </enumeration>
    <bitfield name="AudioResamplerFlags"
              version="1.10"
              glib:type-name="GstAudioResamplerFlags"
              glib:get-type="gst_audio_resampler_flags_get_type"
              c:type="GstAudioResamplerFlags">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-resampler.h"
           line="189">Different resampler flags.</doc>
      <member name="none"
              value="0"
              c:identifier="GST_AUDIO_RESAMPLER_FLAG_NONE"
              glib:nick="none"
              glib:name="GST_AUDIO_RESAMPLER_FLAG_NONE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.h"
             line="191">no flags</doc>
      </member>
      <member name="non_interleaved_in"
              value="1"
              c:identifier="GST_AUDIO_RESAMPLER_FLAG_NON_INTERLEAVED_IN"
              glib:nick="non-interleaved-in"
              glib:name="GST_AUDIO_RESAMPLER_FLAG_NON_INTERLEAVED_IN">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.h"
             line="192">input samples are non-interleaved.
   an array of blocks of samples, one for each channel, should be passed to the
   resample function.</doc>
      </member>
      <member name="non_interleaved_out"
              value="2"
              c:identifier="GST_AUDIO_RESAMPLER_FLAG_NON_INTERLEAVED_OUT"
              glib:nick="non-interleaved-out"
              glib:name="GST_AUDIO_RESAMPLER_FLAG_NON_INTERLEAVED_OUT">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.h"
             line="195">output samples are non-interleaved.
   an array of blocks of samples, one for each channel, should be passed to the
   resample function.</doc>
      </member>
      <member name="variable_rate"
              value="4"
              c:identifier="GST_AUDIO_RESAMPLER_FLAG_VARIABLE_RATE"
              glib:nick="variable-rate"
              glib:name="GST_AUDIO_RESAMPLER_FLAG_VARIABLE_RATE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.h"
             line="198">optimize for dynamic updates of the sample
   rates with gst_audio_resampler_update(). This will select an interpolating filter
   when #GST_AUDIO_RESAMPLER_FILTER_MODE_AUTO is configured.</doc>
      </member>
    </bitfield>
    <enumeration name="AudioResamplerMethod"
                 version="1.10"
                 glib:type-name="GstAudioResamplerMethod"
                 glib:get-type="gst_audio_resampler_method_get_type"
                 c:type="GstAudioResamplerMethod">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-resampler.h"
           line="167">Different subsampling and upsampling methods</doc>
      <member name="nearest"
              value="0"
              c:identifier="GST_AUDIO_RESAMPLER_METHOD_NEAREST"
              glib:nick="nearest"
              glib:name="GST_AUDIO_RESAMPLER_METHOD_NEAREST">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.h"
             line="169">Duplicates the samples when
   upsampling and drops when downsampling</doc>
      </member>
      <member name="linear"
              value="1"
              c:identifier="GST_AUDIO_RESAMPLER_METHOD_LINEAR"
              glib:nick="linear"
              glib:name="GST_AUDIO_RESAMPLER_METHOD_LINEAR">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.h"
             line="171">Uses linear interpolation to reconstruct
   missing samples and averaging to downsample</doc>
      </member>
      <member name="cubic"
              value="2"
              c:identifier="GST_AUDIO_RESAMPLER_METHOD_CUBIC"
              glib:nick="cubic"
              glib:name="GST_AUDIO_RESAMPLER_METHOD_CUBIC">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.h"
             line="173">Uses cubic interpolation</doc>
      </member>
      <member name="blackman_nuttall"
              value="3"
              c:identifier="GST_AUDIO_RESAMPLER_METHOD_BLACKMAN_NUTTALL"
              glib:nick="blackman-nuttall"
              glib:name="GST_AUDIO_RESAMPLER_METHOD_BLACKMAN_NUTTALL">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.h"
             line="174">Uses Blackman-Nuttall windowed sinc interpolation</doc>
      </member>
      <member name="kaiser"
              value="4"
              c:identifier="GST_AUDIO_RESAMPLER_METHOD_KAISER"
              glib:nick="kaiser"
              glib:name="GST_AUDIO_RESAMPLER_METHOD_KAISER">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.h"
             line="175">Uses Kaiser windowed sinc interpolation</doc>
      </member>
    </enumeration>
    <class name="AudioRingBuffer"
           c:symbol-prefix="audio_ring_buffer"
           c:type="GstAudioRingBuffer"
           parent="Gst.Object"
           abstract="1"
           glib:type-name="GstAudioRingBuffer"
           glib:get-type="gst_audio_ring_buffer_get_type"
           glib:type-struct="AudioRingBufferClass">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioringbuffer.c"
           line="20">This object is the base class for audio ringbuffers used by the base
audio source and sink classes.

The ringbuffer abstracts a circular buffer of data. One reader and
one writer can operate on the data from different threads in a lockfree
manner. The base class is sufficiently flexible to be used as an
abstraction for DMA based ringbuffers as well as a pure software
implementations.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="298"/>
      <function name="debug_spec_buff"
                c:identifier="gst_audio_ring_buffer_debug_spec_buff">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="291">Print debug info about the buffer sized in @spec to the debug log.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="323"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="spec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="293">the spec to debug</doc>
            <type name="AudioRingBufferSpec" c:type="GstAudioRingBufferSpec*"/>
          </parameter>
        </parameters>
      </function>
      <function name="debug_spec_caps"
                c:identifier="gst_audio_ring_buffer_debug_spec_caps">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="261">Print debug info about the parsed caps in @spec to the debug log.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="320"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="spec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="263">the spec to debug</doc>
            <type name="AudioRingBufferSpec" c:type="GstAudioRingBufferSpec*"/>
          </parameter>
        </parameters>
      </function>
      <function name="parse_caps"
                c:identifier="gst_audio_ring_buffer_parse_caps">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="315">Parse @caps into @spec.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="317"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="322">TRUE if the caps could be parsed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="spec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="317">a spec</doc>
            <type name="AudioRingBufferSpec" c:type="GstAudioRingBufferSpec*"/>
          </parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="318">a #GstCaps</doc>
            <type name="Gst.Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </function>
      <virtual-method name="acquire" invoker="acquire">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="764">Allocate the resources for the ringbuffer. This function fills
in the data pointer of the ring buffer with a valid #GstBuffer
to which samples can be written.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="276"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="773">TRUE if the device could be acquired, FALSE on error.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="766">the #GstAudioRingBuffer to acquire</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
          <parameter name="spec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="767">the specs of the buffer</doc>
            <type name="AudioRingBufferSpec" c:type="GstAudioRingBufferSpec*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="activate" invoker="activate">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="991">Activate @buf to start or stop pulling data.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="288"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="1000">TRUE if the device could be activated in the requested mode,
FALSE on error.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="993">the #GstAudioRingBuffer to activate</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
          <parameter name="active" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="994">the new mode</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="clear_all" invoker="clear_all">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1605">Clear all samples from the ringbuffer.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="294"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1607">the #GstAudioRingBuffer to clear</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="close_device" invoker="close_device">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="673">Close the audio device associated with the ring buffer. The ring buffer
should already have been released via gst_audio_ring_buffer_release().</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="278"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="680">TRUE if the device could be closed, FALSE on error.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="675">the #GstAudioRingBuffer</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="commit" invoker="commit">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1968">Commit @in_samples samples pointed to by @data to the ringbuffer @buf.

@in_samples and @out_samples define the rate conversion to perform on the
samples in @data. For negative rates, @out_samples must be negative and
@in_samples positive.

When @out_samples is positive, the first sample will be written at position @sample
in the ringbuffer. When @out_samples is negative, the last sample will be written to
@sample in reverse order.

@out_samples does not need to be a multiple of the segment size of the ringbuffer
although it is recommended for optimal performance.

@accum will hold a temporary accumulator used in rate conversion and should be
set to 0 when this function is first called. In case the commit operation is
interrupted, one can resume the processing by passing the previously returned
@accum value back to this function.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="290"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="1997">The number of samples written to the ringbuffer or -1 on error. The
number of samples written can be less than @out_samples when @buf was interrupted
with a flush or stop.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1970">the #GstAudioRingBuffer to commit</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
          <parameter name="sample"
                     direction="inout"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1971">the sample position of the data</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1972">the data to commit</doc>
            <array length="2" zero-terminated="0" c:type="guint8*">
              <type name="guint8" c:type="guint8"/>
            </array>
          </parameter>
          <parameter name="in_samples" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1973">the number of samples in the data to commit</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="out_samples" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1974">the number of samples to write to the ringbuffer</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="accum"
                     direction="inout"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1975">accumulator for rate conversion.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="delay" invoker="delay">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1413">Get the number of samples queued in the audio device. This is
usually less than the segment size but can be bigger when the
implementation uses another internal buffer between the audio
device.

For playback ringbuffers this is the amount of samples transferred from the
ringbuffer to the device but still not played.

For capture ringbuffers this is the amount of samples in the device that are
not yet transferred to the ringbuffer.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="285"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="1428">The number of samples queued in the audio device.

MT safe.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1415">the #GstAudioRingBuffer to query</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="open_device" invoker="open_device">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="612">Open the audio device associated with the ring buffer. Does not perform any
setup on the device. You must open the device before acquiring the ring
buffer.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="275"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="620">TRUE if the device could be opened, FALSE on error.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="614">the #GstAudioRingBuffer</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="pause" invoker="pause">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1300">Pause processing samples from the ringbuffer.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="281"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="1306">TRUE if the device could be paused, FALSE on error.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1302">the #GstAudioRingBuffer to pause</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="release" invoker="release">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="885">Free the resources of the ringbuffer.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="277"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="891">TRUE if the device could be released, FALSE on error.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="887">the #GstAudioRingBuffer to release</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="resume">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="258">resume processing of samples after pause</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="282"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="start" invoker="start">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1133">Start processing samples from the ringbuffer.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="280"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="1139">TRUE if the device could be started, FALSE on error.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1135">the #GstAudioRingBuffer to start</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="stop" invoker="stop">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1344">Stop processing samples from the ringbuffer.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="283"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="1350">TRUE if the device could be stopped, FALSE on error.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1346">the #GstAudioRingBuffer to stop</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="acquire" c:identifier="gst_audio_ring_buffer_acquire">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="764">Allocate the resources for the ringbuffer. This function fills
in the data pointer of the ring buffer with a valid #GstBuffer
to which samples can be written.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="344"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="773">TRUE if the device could be acquired, FALSE on error.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="766">the #GstAudioRingBuffer to acquire</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
          <parameter name="spec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="767">the specs of the buffer</doc>
            <type name="AudioRingBufferSpec" c:type="GstAudioRingBufferSpec*"/>
          </parameter>
        </parameters>
      </method>
      <method name="activate" c:identifier="gst_audio_ring_buffer_activate">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="991">Activate @buf to start or stop pulling data.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="360"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="1000">TRUE if the device could be activated in the requested mode,
FALSE on error.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="993">the #GstAudioRingBuffer to activate</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
          <parameter name="active" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="994">the new mode</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="advance" c:identifier="gst_audio_ring_buffer_advance">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="2218">Subclasses should call this function to notify the fact that
@advance segments are now processed by the device.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="435"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="2220">the #GstAudioRingBuffer to advance</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
          <parameter name="advance" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="2221">the number of segments written</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="clear" c:identifier="gst_audio_ring_buffer_clear">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="2248">Clear the given segment of the buffer with silence samples.
This function is used by subclasses.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="432"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="2250">the #GstAudioRingBuffer to clear</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
          <parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="2251">the segment to clear</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="clear_all" c:identifier="gst_audio_ring_buffer_clear_all">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1605">Clear all samples from the ringbuffer.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="401"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1607">the #GstAudioRingBuffer to clear</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="close_device"
              c:identifier="gst_audio_ring_buffer_close_device">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="673">Close the audio device associated with the ring buffer. The ring buffer
should already have been released via gst_audio_ring_buffer_release().</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="336"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="680">TRUE if the device could be closed, FALSE on error.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="675">the #GstAudioRingBuffer</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="commit" c:identifier="gst_audio_ring_buffer_commit">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1968">Commit @in_samples samples pointed to by @data to the ringbuffer @buf.

@in_samples and @out_samples define the rate conversion to perform on the
samples in @data. For negative rates, @out_samples must be negative and
@in_samples positive.

When @out_samples is positive, the first sample will be written at position @sample
in the ringbuffer. When @out_samples is negative, the last sample will be written to
@sample in reverse order.

@out_samples does not need to be a multiple of the segment size of the ringbuffer
although it is recommended for optimal performance.

@accum will hold a temporary accumulator used in rate conversion and should be
set to 0 when this function is first called. In case the commit operation is
interrupted, one can resume the processing by passing the previously returned
@accum value back to this function.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="406"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="1997">The number of samples written to the ringbuffer or -1 on error. The
number of samples written can be less than @out_samples when @buf was interrupted
with a flush or stop.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1970">the #GstAudioRingBuffer to commit</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
          <parameter name="sample"
                     direction="inout"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1971">the sample position of the data</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1972">the data to commit</doc>
            <array length="2" zero-terminated="0" c:type="guint8*">
              <type name="guint8" c:type="guint8"/>
            </array>
          </parameter>
          <parameter name="in_samples" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1973">the number of samples in the data to commit</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="out_samples" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1974">the number of samples to write to the ringbuffer</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="accum"
                     direction="inout"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1975">accumulator for rate conversion.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="convert" c:identifier="gst_audio_ring_buffer_convert">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="528">Convert @src_val in @src_fmt to the equivalent value in @dest_fmt. The result
will be put in @dest_val.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="326"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="539">TRUE if the conversion succeeded.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="530">the #GstAudioRingBuffer</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
          <parameter name="src_fmt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="531">the source format</doc>
            <type name="Gst.Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="src_val" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="532">the source value</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="dest_fmt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="533">the destination format</doc>
            <type name="Gst.Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="dest_val"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="534">a location to store the converted value</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="delay" c:identifier="gst_audio_ring_buffer_delay">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1413">Get the number of samples queued in the audio device. This is
usually less than the segment size but can be bigger when the
implementation uses another internal buffer between the audio
device.

For playback ringbuffers this is the amount of samples transferred from the
ringbuffer to the device but still not played.

For capture ringbuffers this is the amount of samples in the device that are
not yet transferred to the ringbuffer.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="390"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="1428">The number of samples queued in the audio device.

MT safe.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1415">the #GstAudioRingBuffer to query</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="device_is_open"
              c:identifier="gst_audio_ring_buffer_device_is_open">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="740">Checks the status of the device associated with the ring buffer.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="339"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="746">TRUE if the device was open, FALSE if it was closed.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="742">the #GstAudioRingBuffer</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_segbase"
              c:identifier="gst_audio_ring_buffer_get_segbase"
              version="1.26">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1565">Gets the current segment base number of the ringbuffer.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="447"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="1573">Current segment base number of the ringbuffer.</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1567">the #GstAudioRingBuffer to use</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_segdone"
              c:identifier="gst_audio_ring_buffer_get_segdone"
              version="1.26">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1547">Gets the current segment number of the ringbuffer.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="444"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="1555">Current segment number of the ringbuffer.</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1549">the #GstAudioRingBuffer to use</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_acquired"
              c:identifier="gst_audio_ring_buffer_is_acquired">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="967">Check if the ringbuffer is acquired and ready to use.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="350"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="973">TRUE if the ringbuffer is acquired, FALSE on error.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="969">the #GstAudioRingBuffer to check</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_active" c:identifier="gst_audio_ring_buffer_is_active">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1059">Check if @buf is activated.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="363"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="1067">TRUE if the device is active.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1061">the #GstAudioRingBuffer</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_flushing"
              c:identifier="gst_audio_ring_buffer_is_flushing">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1109">Check if @buf is flushing.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="371"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="1117">TRUE if the device is flushing.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1111">the #GstAudioRingBuffer</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="may_start" c:identifier="gst_audio_ring_buffer_may_start">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="2283">Tell the ringbuffer that it is allowed to start playback when
the ringbuffer is filled with samples.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="438"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="2285">the #GstAudioRingBuffer</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
          <parameter name="allowed" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="2286">the new value</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="open_device"
              c:identifier="gst_audio_ring_buffer_open_device">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="612">Open the audio device associated with the ring buffer. Does not perform any
setup on the device. You must open the device before acquiring the ring
buffer.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="333"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="620">TRUE if the device could be opened, FALSE on error.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="614">the #GstAudioRingBuffer</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="pause" c:identifier="gst_audio_ring_buffer_pause">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1300">Pause processing samples from the ringbuffer.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="379"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="1306">TRUE if the device could be paused, FALSE on error.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1302">the #GstAudioRingBuffer to pause</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="prepare_read"
              c:identifier="gst_audio_ring_buffer_prepare_read">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="2162">Returns a pointer to memory where the data from segment @segment
can be found. This function is mostly used by subclasses.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="428"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="2173">FALSE if the buffer is not started.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="2164">the #GstAudioRingBuffer to read from</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
          <parameter name="segment"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="2165">the segment to read</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="readptr"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="2166">
    the pointer to the memory where samples can be read</doc>
            <array length="2" zero-terminated="0" c:type="guint8**">
              <type name="guint8" c:type="guint8*"/>
            </array>
          </parameter>
          <parameter name="len"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="2168">the number of bytes to read</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="read" c:identifier="gst_audio_ring_buffer_read">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="2021">Read @len samples from the ringbuffer into the memory pointed
to by @data.
The first sample should be read from position @sample in
the ringbuffer.

@len should not be a multiple of the segment size of the ringbuffer
although it is recommended.

@timestamp will return the timestamp associated with the data returned.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="413"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="2039">The number of samples read from the ringbuffer or -1 on
error.

MT safe.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="2023">the #GstAudioRingBuffer to read from</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
          <parameter name="sample" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="2024">the sample position of the data</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="2025">where the data should be read</doc>
            <array length="2" zero-terminated="0" c:type="guint8*">
              <type name="guint8" c:type="guint8"/>
            </array>
          </parameter>
          <parameter name="len" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="2026">the number of samples in data to read</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="timestamp"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="2027">where the timestamp is returned</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime*"/>
          </parameter>
        </parameters>
      </method>
      <method name="release" c:identifier="gst_audio_ring_buffer_release">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="885">Free the resources of the ringbuffer.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="347"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="891">TRUE if the device could be released, FALSE on error.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="887">the #GstAudioRingBuffer to release</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="samples_done"
              c:identifier="gst_audio_ring_buffer_samples_done">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1459">Get the number of samples that were processed by the ringbuffer
since it was last started. This does not include the number of samples not
yet processed (see gst_audio_ring_buffer_delay()).</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="393"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="1467">The number of samples processed by the ringbuffer.

MT safe.</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1461">the #GstAudioRingBuffer to query</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_callback"
              c:identifier="gst_audio_ring_buffer_set_callback"
              shadowed-by="set_callback_full"
              introspectable="0">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="556">Sets the given callback function on the buffer. This function
will be called every time a segment has been written to a device.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="306"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="558">the #GstAudioRingBuffer to set the callback on</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
          <parameter name="cb"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     closure="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="559">the callback to set</doc>
            <type name="AudioRingBufferCallback"
                  c:type="GstAudioRingBufferCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="560">user data passed to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_callback_full"
              c:identifier="gst_audio_ring_buffer_set_callback_full"
              shadows="set_callback"
              version="1.12">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="574">Sets the given callback function on the buffer. This function
will be called every time a segment has been written to a device.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="311"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="576">the #GstAudioRingBuffer to set the callback on</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
          <parameter name="cb"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="577">the callback to set</doc>
            <type name="AudioRingBufferCallback"
                  c:type="GstAudioRingBufferCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="578">user data passed to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="579">function to be called when @user_data is no longer needed</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_channel_positions"
              c:identifier="gst_audio_ring_buffer_set_channel_positions">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="2319">Tell the ringbuffer about the device's channel positions. This must
be called in when the ringbuffer is acquired.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="355"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="2321">the #GstAudioRingBuffer</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
          <parameter name="position" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="2322">the device channel positions</doc>
            <array zero-terminated="0" c:type="const GstAudioChannelPosition*">
              <type name="AudioChannelPosition"
                    c:type="GstAudioChannelPosition"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <method name="set_errored"
              c:identifier="gst_audio_ring_buffer_set_errored"
              version="1.24">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1225">Mark the ringbuffer as errored after it has started.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="385"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1227">the #GstAudioRingBuffer that has encountered an error</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_flushing"
              c:identifier="gst_audio_ring_buffer_set_flushing">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1084">Set the ringbuffer to flushing mode or normal mode.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="368"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1086">the #GstAudioRingBuffer to flush</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
          <parameter name="flushing" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1087">the new mode</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_sample"
              c:identifier="gst_audio_ring_buffer_set_sample">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1488">Make sure that the next sample written to the device is
accounted for as being the @sample sample written to the
device. This value will be used in reporting the current
sample position of the ringbuffer.

This function will also clear the buffer with silence.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="396"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1490">the #GstAudioRingBuffer to use</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
          <parameter name="sample" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1491">the sample number to set</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_segdone"
              c:identifier="gst_audio_ring_buffer_set_segdone"
              version="1.26">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1529">Sets the current segment number of the ringbuffer.

MT safe.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="441"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1531">the #GstAudioRingBuffer to use</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
          <parameter name="segdone" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1532">the segment number to set</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_timestamp"
              c:identifier="gst_audio_ring_buffer_set_timestamp">
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="419"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
          <parameter name="readseg" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="start" c:identifier="gst_audio_ring_buffer_start">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1133">Start processing samples from the ringbuffer.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="376"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="1139">TRUE if the device could be started, FALSE on error.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1135">the #GstAudioRingBuffer to start</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="stop" c:identifier="gst_audio_ring_buffer_stop">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.c"
             line="1344">Stop processing samples from the ringbuffer.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="382"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.c"
               line="1350">TRUE if the device could be stopped, FALSE on error.

MT safe.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1346">the #GstAudioRingBuffer to stop</doc>
            <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <field name="object">
        <type name="Gst.Object" c:type="GstObject"/>
      </field>
      <field name="cond">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="192">used to signal start/stop/pause/resume actions</doc>
        <type name="GLib.Cond" c:type="GCond"/>
      </field>
      <field name="open">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="193">boolean indicating that the ringbuffer is open</doc>
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="acquired">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="194">boolean indicating that the ringbuffer is acquired</doc>
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="memory">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="195">data in the ringbuffer</doc>
        <type name="guint8" c:type="guint8*"/>
      </field>
      <field name="size">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="196">size of data in the ringbuffer</doc>
        <type name="gsize" c:type="gsize"/>
      </field>
      <field name="timestamps" readable="0" private="1">
        <type name="Gst.ClockTime" c:type="GstClockTime*"/>
      </field>
      <field name="spec">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="197">format and layout of the ringbuffer data</doc>
        <type name="AudioRingBufferSpec" c:type="GstAudioRingBufferSpec"/>
      </field>
      <field name="samples_per_seg">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="198">number of samples in one segment</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="empty_seg">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="199">pointer to memory holding one segment of silence samples</doc>
        <type name="guint8" c:type="guint8*"/>
      </field>
      <field name="state">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="200">state of the buffer</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="segdone">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="201">readpointer in the ringbuffer</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="segbase">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="202">segment corresponding to segment 0 (unused)</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="waiting">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="203">is a reader or writer waiting for a free segment</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="callback" readable="0" private="1">
        <type name="AudioRingBufferCallback"
              c:type="GstAudioRingBufferCallback"/>
      </field>
      <field name="cb_data" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="need_reorder" readable="0" private="1">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="channel_reorder_map" readable="0" private="1">
        <array zero-terminated="0" fixed-size="64">
          <type name="gint" c:type="gint"/>
        </array>
      </field>
      <field name="flushing" readable="0" private="1">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="may_start" readable="0" private="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="active" readable="0" private="1">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="cb_data_notify" readable="0" private="1">
        <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="AudioRingBufferPrivate"
              c:type="GstAudioRingBufferPrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="2">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <callback name="AudioRingBufferCallback"
              c:type="GstAudioRingBufferCallback">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioringbuffer.h"
           line="47">This function is set with gst_audio_ring_buffer_set_callback() and is
called to fill the memory at @data with @len bytes of samples.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="57"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="rbuf" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.h"
               line="49">a #GstAudioRingBuffer</doc>
          <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
        </parameter>
        <parameter name="data" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.h"
               line="50">target to fill</doc>
          <array length="2" zero-terminated="0" c:type="guint8*">
            <type name="guint8" c:type="guint8"/>
          </array>
        </parameter>
        <parameter name="len" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.h"
               line="51">amount to fill</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="3">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioringbuffer.h"
               line="52">user data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="AudioRingBufferClass"
            c:type="GstAudioRingBufferClass"
            glib:is-gtype-struct-for="AudioRingBuffer">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioringbuffer.h"
           line="249">The vmethods that subclasses can override to implement the ringbuffer.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="298"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="251">parent class</doc>
        <type name="Gst.ObjectClass" c:type="GstObjectClass"/>
      </field>
      <field name="open_device">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="252">open the device, don't set any params or allocate anything</doc>
        <callback name="open_device">
          <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                           line="275"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="620">TRUE if the device could be opened, FALSE on error.

MT safe.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="buf" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                   line="614">the #GstAudioRingBuffer</doc>
              <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="acquire">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="253">allocate the resources for the ringbuffer using the given spec</doc>
        <callback name="acquire">
          <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                           line="276"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="773">TRUE if the device could be acquired, FALSE on error.

MT safe.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="buf" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                   line="766">the #GstAudioRingBuffer to acquire</doc>
              <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
            </parameter>
            <parameter name="spec" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                   line="767">the specs of the buffer</doc>
              <type name="AudioRingBufferSpec"
                    c:type="GstAudioRingBufferSpec*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="release">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="254">free resources of the ringbuffer</doc>
        <callback name="release">
          <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                           line="277"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="891">TRUE if the device could be released, FALSE on error.

MT safe.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="buf" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                   line="887">the #GstAudioRingBuffer to release</doc>
              <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="close_device">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="255">close the device</doc>
        <callback name="close_device">
          <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                           line="278"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="680">TRUE if the device could be closed, FALSE on error.

MT safe.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="buf" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                   line="675">the #GstAudioRingBuffer</doc>
              <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="start">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="256">start processing of samples</doc>
        <callback name="start">
          <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                           line="280"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1139">TRUE if the device could be started, FALSE on error.

MT safe.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="buf" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                   line="1135">the #GstAudioRingBuffer to start</doc>
              <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="pause">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="257">pause processing of samples</doc>
        <callback name="pause">
          <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                           line="281"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1306">TRUE if the device could be paused, FALSE on error.

MT safe.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="buf" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                   line="1302">the #GstAudioRingBuffer to pause</doc>
              <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="resume">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="258">resume processing of samples after pause</doc>
        <callback name="resume">
          <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                           line="282"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="buf" transfer-ownership="none">
              <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="stop">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="259">stop processing of samples</doc>
        <callback name="stop">
          <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                           line="283"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1350">TRUE if the device could be stopped, FALSE on error.

MT safe.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="buf" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                   line="1346">the #GstAudioRingBuffer to stop</doc>
              <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="delay">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="260">get number of frames queued in device</doc>
        <callback name="delay">
          <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                           line="285"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1428">The number of samples queued in the audio device.

MT safe.</doc>
            <type name="guint" c:type="guint"/>
          </return-value>
          <parameters>
            <parameter name="buf" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                   line="1415">the #GstAudioRingBuffer to query</doc>
              <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="activate">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="261">activate the thread that starts pulling and monitoring the
consumed segments in the device.</doc>
        <callback name="activate">
          <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                           line="288"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1000">TRUE if the device could be activated in the requested mode,
FALSE on error.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="buf" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                   line="993">the #GstAudioRingBuffer to activate</doc>
              <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
            </parameter>
            <parameter name="active" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                   line="994">the new mode</doc>
              <type name="gboolean" c:type="gboolean"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="commit">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="263">write samples into the ringbuffer</doc>
        <callback name="commit">
          <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                           line="290"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                 line="1997">The number of samples written to the ringbuffer or -1 on error. The
number of samples written can be less than @out_samples when @buf was interrupted
with a flush or stop.</doc>
            <type name="guint" c:type="guint"/>
          </return-value>
          <parameters>
            <parameter name="buf" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                   line="1970">the #GstAudioRingBuffer to commit</doc>
              <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
            </parameter>
            <parameter name="sample"
                       direction="inout"
                       caller-allocates="0"
                       transfer-ownership="full">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                   line="1971">the sample position of the data</doc>
              <type name="guint64" c:type="guint64*"/>
            </parameter>
            <parameter name="data" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                   line="1972">the data to commit</doc>
              <array length="3" zero-terminated="0" c:type="guint8*">
                <type name="guint8" c:type="guint8"/>
              </array>
            </parameter>
            <parameter name="in_samples" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                   line="1973">the number of samples in the data to commit</doc>
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="out_samples" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                   line="1974">the number of samples to write to the ringbuffer</doc>
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="accum"
                       direction="inout"
                       caller-allocates="0"
                       transfer-ownership="full">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                   line="1975">accumulator for rate conversion.</doc>
              <type name="gint" c:type="gint*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="clear_all">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="264">Optional.
            Clear the entire ringbuffer.
            Subclasses should chain up to the parent implementation to
            invoke the default handler.</doc>
        <callback name="clear_all">
          <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                           line="294"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="buf" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudioringbuffer.c"
                   line="1607">the #GstAudioRingBuffer to clear</doc>
              <type name="AudioRingBuffer" c:type="GstAudioRingBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <enumeration name="AudioRingBufferFormatType"
                 glib:type-name="GstAudioRingBufferFormatType"
                 glib:get-type="gst_audio_ring_buffer_format_type_get_type"
                 c:type="GstAudioRingBufferFormatType">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioringbuffer.h"
           line="77">The format of the samples in the ringbuffer.</doc>
      <member name="raw"
              value="0"
              c:identifier="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_RAW"
              glib:nick="raw"
              glib:name="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_RAW">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="79">samples in linear or float</doc>
      </member>
      <member name="mu_law"
              value="1"
              c:identifier="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MU_LAW"
              glib:nick="mu-law"
              glib:name="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MU_LAW">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="80">samples in mulaw</doc>
      </member>
      <member name="a_law"
              value="2"
              c:identifier="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_A_LAW"
              glib:nick="a-law"
              glib:name="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_A_LAW">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="81">samples in alaw</doc>
      </member>
      <member name="ima_adpcm"
              value="3"
              c:identifier="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_IMA_ADPCM"
              glib:nick="ima-adpcm"
              glib:name="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_IMA_ADPCM">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="82">samples in ima adpcm</doc>
      </member>
      <member name="mpeg"
              value="4"
              c:identifier="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG"
              glib:nick="mpeg"
              glib:name="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="83">samples in mpeg audio (but not AAC) format</doc>
      </member>
      <member name="gsm"
              value="5"
              c:identifier="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_GSM"
              glib:nick="gsm"
              glib:name="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_GSM">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="84">samples in gsm format</doc>
      </member>
      <member name="iec958"
              value="6"
              c:identifier="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_IEC958"
              glib:nick="iec958"
              glib:name="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_IEC958">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="85">samples in IEC958 frames (e.g. AC3)</doc>
      </member>
      <member name="ac3"
              value="7"
              c:identifier="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_AC3"
              glib:nick="ac3"
              glib:name="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_AC3">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="86">samples in AC3 format</doc>
      </member>
      <member name="eac3"
              value="8"
              c:identifier="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_EAC3"
              glib:nick="eac3"
              glib:name="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_EAC3">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="87">samples in EAC3 format</doc>
      </member>
      <member name="dts"
              value="9"
              c:identifier="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_DTS"
              glib:nick="dts"
              glib:name="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_DTS">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="88">samples in DTS format</doc>
      </member>
      <member name="mpeg2_aac"
              value="10"
              c:identifier="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC"
              glib:nick="mpeg2-aac"
              glib:name="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="89">samples in MPEG-2 AAC ADTS format</doc>
      </member>
      <member name="mpeg4_aac"
              value="11"
              c:identifier="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC"
              glib:nick="mpeg4-aac"
              glib:name="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="90">samples in MPEG-4 AAC ADTS format</doc>
      </member>
      <member name="mpeg2_aac_raw"
              value="12"
              c:identifier="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC_RAW"
              glib:nick="mpeg2-aac-raw"
              glib:name="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC_RAW">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="91">samples in MPEG-2 AAC raw format (Since: 1.12)</doc>
      </member>
      <member name="mpeg4_aac_raw"
              value="13"
              c:identifier="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC_RAW"
              glib:nick="mpeg4-aac-raw"
              glib:name="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC_RAW">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="92">samples in MPEG-4 AAC raw format (Since: 1.12)</doc>
      </member>
      <member name="flac"
              value="14"
              c:identifier="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_FLAC"
              glib:nick="flac"
              glib:name="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_FLAC">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="93">samples in FLAC format (Since: 1.12)</doc>
      </member>
      <member name="dsd"
              value="15"
              c:identifier="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_DSD"
              glib:nick="dsd"
              glib:name="GST_AUDIO_RING_BUFFER_FORMAT_TYPE_DSD">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="94">samples in DSD format (Since: 1.24)</doc>
      </member>
    </enumeration>
    <record name="AudioRingBufferPrivate"
            c:type="GstAudioRingBufferPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="45"/>
    </record>
    <record name="AudioRingBufferSpec" c:type="GstAudioRingBufferSpec">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioringbuffer.h"
           line="118">The structure containing the format specification of the ringbuffer.

When @type is GST_AUDIO_RING_BUFFER_FORMAT_TYPE_DSD, the @dsd_format
is valid (otherwise it is unused). Also, when DSD is the sample type,
only the rate, channels, position, and bpf fields in @info are populated.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="174"/>
      <field name="caps" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="120">The caps that generated the Spec.</doc>
        <type name="Gst.Caps" c:type="GstCaps*"/>
      </field>
      <field name="type" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="121">the sample type</doc>
        <type name="AudioRingBufferFormatType"
              c:type="GstAudioRingBufferFormatType"/>
      </field>
      <field name="info" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="122">the #GstAudioInfo</doc>
        <type name="AudioInfo" c:type="GstAudioInfo"/>
      </field>
      <field name="latency_time" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="123">the latency in microseconds</doc>
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="buffer_time" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="124">the total buffer size in microseconds</doc>
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="segsize" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="125">the size of one segment in bytes</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="segtotal" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="126">the total number of segments</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="seglatency" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="127">number of segments queued in the lower level device,
 defaults to segtotal</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <union name="ABI" c:type="ABI">
        <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                         line="173"/>
        <record name="abi" c:type="abi">
          <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                           line="170"/>
          <field name="dsd_format" writable="1">
            <type name="DsdFormat" c:type="GstDsdFormat"/>
          </field>
        </record>
        <field name="_gst_reserved" readable="0" private="1">
          <array zero-terminated="0" fixed-size="4">
            <type name="gpointer" c:type="gpointer"/>
          </array>
        </field>
      </union>
    </record>
    <enumeration name="AudioRingBufferState"
                 glib:type-name="GstAudioRingBufferState"
                 glib:get-type="gst_audio_ring_buffer_state_get_type"
                 c:type="GstAudioRingBufferState">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioringbuffer.h"
           line="59">The state of the ringbuffer.</doc>
      <member name="stopped"
              value="0"
              c:identifier="GST_AUDIO_RING_BUFFER_STATE_STOPPED"
              glib:nick="stopped"
              glib:name="GST_AUDIO_RING_BUFFER_STATE_STOPPED">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="61">The ringbuffer is stopped</doc>
      </member>
      <member name="paused"
              value="1"
              c:identifier="GST_AUDIO_RING_BUFFER_STATE_PAUSED"
              glib:nick="paused"
              glib:name="GST_AUDIO_RING_BUFFER_STATE_PAUSED">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="62">The ringbuffer is paused</doc>
      </member>
      <member name="started"
              value="2"
              c:identifier="GST_AUDIO_RING_BUFFER_STATE_STARTED"
              glib:nick="started"
              glib:name="GST_AUDIO_RING_BUFFER_STATE_STARTED">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="63">The ringbuffer is started</doc>
      </member>
      <member name="error"
              value="3"
              c:identifier="GST_AUDIO_RING_BUFFER_STATE_ERROR"
              glib:nick="error"
              glib:name="GST_AUDIO_RING_BUFFER_STATE_ERROR">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioringbuffer.h"
             line="64">The ringbuffer has encountered an
    error after it has been started, e.g. because the device was
    disconnected (Since: 1.2)</doc>
      </member>
    </enumeration>
    <class name="AudioSink"
           c:symbol-prefix="audio_sink"
           c:type="GstAudioSink"
           parent="AudioBaseSink"
           glib:type-name="GstAudioSink"
           glib:get-type="gst_audio_sink_get_type"
           glib:type-struct="AudioSinkClass">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiosink.c"
           line="23">This is the most simple base class for audio sinks that only requires
subclasses to implement a set of simple functions:

* `open()` :Open the device.

* `prepare()` :Configure the device with the specified format.

* `write()` :Write samples to the device.

* `reset()` :Unblock writes and flush the device.

* `delay()` :Get the number of samples written but not yet played
by the device.

* `unprepare()` :Undo operations done by prepare.

* `close()` :Close the device.

All scheduling of samples and timestamps is done in this base class
together with #GstAudioBaseSink using a default implementation of a
#GstAudioRingBuffer that uses threads.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                       line="120"/>
      <virtual-method name="close">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="68">Close the device.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                         line="100"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <type name="AudioSink" c:type="GstAudioSink*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="delay">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="73">Return how many frames are still in the device. Participates in
        computing the time for audio clocks and drives the synchronisation.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                         line="109"/>
        <return-value transfer-ownership="none">
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <type name="AudioSink" c:type="GstAudioSink*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="open">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="64">Open the device. No configuration needs to be done at this point.
       This function is also used to check if the device is available.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                         line="94"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <type name="AudioSink" c:type="GstAudioSink*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="pause">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="78">Pause the device and unblock write as fast as possible.
        For retro compatibility, the audio sink will fallback
        to calling reset if this vmethod is not provided. Since: 1.18</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                         line="113"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <type name="AudioSink" c:type="GstAudioSink*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="prepare">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="66">Prepare the device to operate with the specified parameters.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                         line="96"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <type name="AudioSink" c:type="GstAudioSink*"/>
          </instance-parameter>
          <parameter name="spec" transfer-ownership="none">
            <type name="AudioRingBufferSpec" c:type="GstAudioRingBufferSpec*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="reset">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="75">Returns as quickly as possible from a write and flush any pending
        samples from the device.
        This vmethod is deprecated. Please provide pause and stop instead.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                         line="111"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <type name="AudioSink" c:type="GstAudioSink*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="resume">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="81">Resume the device. Since: 1.18</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                         line="115"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <type name="AudioSink" c:type="GstAudioSink*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="stop">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="82">Stop the device and unblock write as fast as possible.
       Pending samples are flushed from the device.
       For retro compatibility, the audio sink will fallback
       to calling reset if this vmethod is not provided. Since: 1.18</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                         line="117"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <type name="AudioSink" c:type="GstAudioSink*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="unprepare">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="67">Undo operations done in prepare.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                         line="98"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <type name="AudioSink" c:type="GstAudioSink*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="write">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="101">Write samples to the device.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                         line="107"/>
        <return-value transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <type name="AudioSink" c:type="GstAudioSink*"/>
          </instance-parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiosink.h"
                 line="103">the sample data</doc>
            <array length="1" zero-terminated="0" c:type="gpointer">
              <type name="guint8" c:type="gpointer"/>
            </array>
          </parameter>
          <parameter name="length" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <field name="element">
        <type name="AudioBaseSink" c:type="GstAudioBaseSink"/>
      </field>
      <field name="thread" readable="0" private="1">
        <type name="GLib.Thread" c:type="GThread*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="AudioSinkClass"
            c:type="GstAudioSinkClass"
            glib:is-gtype-struct-for="AudioSink">
      <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                       line="120"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="63">the parent class structure.</doc>
        <type name="AudioBaseSinkClass" c:type="GstAudioBaseSinkClass"/>
      </field>
      <field name="open">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="64">Open the device. No configuration needs to be done at this point.
       This function is also used to check if the device is available.</doc>
        <callback name="open">
          <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                           line="94"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="sink" transfer-ownership="none">
              <type name="AudioSink" c:type="GstAudioSink*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="prepare">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="66">Prepare the device to operate with the specified parameters.</doc>
        <callback name="prepare">
          <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                           line="96"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="sink" transfer-ownership="none">
              <type name="AudioSink" c:type="GstAudioSink*"/>
            </parameter>
            <parameter name="spec" transfer-ownership="none">
              <type name="AudioRingBufferSpec"
                    c:type="GstAudioRingBufferSpec*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="unprepare">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="67">Undo operations done in prepare.</doc>
        <callback name="unprepare">
          <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                           line="98"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="sink" transfer-ownership="none">
              <type name="AudioSink" c:type="GstAudioSink*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="close">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="68">Close the device.</doc>
        <callback name="close">
          <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                           line="100"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="sink" transfer-ownership="none">
              <type name="AudioSink" c:type="GstAudioSink*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="write">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="69">Write data to the device.
        This vmethod is allowed to block until all the data is written.
        If such is the case then it is expected that pause, stop and
        reset will unblock the write when called.</doc>
        <callback name="write">
          <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                           line="107"/>
          <return-value transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </return-value>
          <parameters>
            <parameter name="sink" transfer-ownership="none">
              <type name="AudioSink" c:type="GstAudioSink*"/>
            </parameter>
            <parameter name="data" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudiosink.h"
                   line="103">the sample data</doc>
              <array length="2" zero-terminated="0" c:type="gpointer">
                <type name="guint8" c:type="gpointer"/>
              </array>
            </parameter>
            <parameter name="length" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="delay">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="73">Return how many frames are still in the device. Participates in
        computing the time for audio clocks and drives the synchronisation.</doc>
        <callback name="delay">
          <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                           line="109"/>
          <return-value transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </return-value>
          <parameters>
            <parameter name="sink" transfer-ownership="none">
              <type name="AudioSink" c:type="GstAudioSink*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="reset">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="75">Returns as quickly as possible from a write and flush any pending
        samples from the device.
        This vmethod is deprecated. Please provide pause and stop instead.</doc>
        <callback name="reset">
          <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                           line="111"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="sink" transfer-ownership="none">
              <type name="AudioSink" c:type="GstAudioSink*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="pause">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="78">Pause the device and unblock write as fast as possible.
        For retro compatibility, the audio sink will fallback
        to calling reset if this vmethod is not provided. Since: 1.18</doc>
        <callback name="pause">
          <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                           line="113"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="sink" transfer-ownership="none">
              <type name="AudioSink" c:type="GstAudioSink*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="resume">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="81">Resume the device. Since: 1.18</doc>
        <callback name="resume">
          <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                           line="115"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="sink" transfer-ownership="none">
              <type name="AudioSink" c:type="GstAudioSink*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="stop">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="82">Stop the device and unblock write as fast as possible.
       Pending samples are flushed from the device.
       For retro compatibility, the audio sink will fallback
       to calling reset if this vmethod is not provided. Since: 1.18</doc>
        <callback name="stop">
          <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                           line="117"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="sink" transfer-ownership="none">
              <type name="AudioSink" c:type="GstAudioSink*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="extension">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosink.h"
             line="86">class extension structure. Since: 1.18</doc>
        <type name="AudioSinkClassExtension"
              c:type="GstAudioSinkClassExtension*"/>
      </field>
    </record>
    <record name="AudioSinkClassExtension" c:type="GstAudioSinkClassExtension">
      <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                       line="132"/>
      <field name="clear_all">
        <callback name="clear_all">
          <source-position filename="gst-libs/gst/audio/gstaudiosink.h"
                           line="129"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="sink" transfer-ownership="none">
              <type name="AudioSink" c:type="GstAudioSink*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <class name="AudioSrc"
           c:symbol-prefix="audio_src"
           c:type="GstAudioSrc"
           parent="AudioBaseSrc"
           glib:type-name="GstAudioSrc"
           glib:get-type="gst_audio_src_get_type"
           glib:type-struct="AudioSrcClass">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiosrc.c"
           line="23">This is the most simple base class for audio sources that only requires
subclasses to implement a set of simple functions:

* `open()` :Open the device.
* `prepare()` :Configure the device with the specified format.
* `read()` :Read samples from the device.
* `reset()` :Unblock reads and flush the device.
* `delay()` :Get the number of samples in the device but not yet read.
* `unprepare()` :Undo operations done by prepare.
* `close()` :Close the device.

All scheduling of samples and timestamps is done in this base class
together with #GstAudioBaseSrc using a default implementation of a
#GstAudioRingBuffer that uses threads.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiosrc.h" line="103"/>
      <virtual-method name="close">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosrc.h"
             line="66">close the device</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiosrc.h"
                         line="86"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <type name="AudioSrc" c:type="GstAudioSrc*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="delay">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosrc.h"
             line="68">the number of frames queued in the device</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiosrc.h"
                         line="97"/>
        <return-value transfer-ownership="none">
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <type name="AudioSrc" c:type="GstAudioSrc*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="open">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosrc.h"
             line="63">open the device with the specified caps</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiosrc.h"
                         line="80"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <type name="AudioSrc" c:type="GstAudioSrc*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="prepare">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosrc.h"
             line="64">configure device with format</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiosrc.h"
                         line="82"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <type name="AudioSrc" c:type="GstAudioSrc*"/>
          </instance-parameter>
          <parameter name="spec" transfer-ownership="none">
            <type name="AudioRingBufferSpec" c:type="GstAudioRingBufferSpec*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="read">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosrc.h"
             line="87">Read samples from the device.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiosrc.h"
                         line="94"/>
        <return-value transfer-ownership="none">
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <type name="AudioSrc" c:type="GstAudioSrc*"/>
          </instance-parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiosrc.h"
                 line="89">the sample data</doc>
            <array length="1" zero-terminated="0" c:type="gpointer">
              <type name="guint8" c:type="gpointer"/>
            </array>
          </parameter>
          <parameter name="length" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="timestamp"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiosrc.h"
                 line="90">a #GstClockTime</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="reset">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosrc.h"
             line="69">unblock a read to the device and reset.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiosrc.h"
                         line="99"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <type name="AudioSrc" c:type="GstAudioSrc*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="unprepare">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosrc.h"
             line="65">undo the configuration</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiosrc.h"
                         line="84"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <type name="AudioSrc" c:type="GstAudioSrc*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <field name="element">
        <type name="AudioBaseSrc" c:type="GstAudioBaseSrc"/>
      </field>
      <field name="thread" readable="0" private="1">
        <type name="GLib.Thread" c:type="GThread*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="AudioSrcClass"
            c:type="GstAudioSrcClass"
            glib:is-gtype-struct-for="AudioSrc">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiosrc.h"
           line="60">#GstAudioSrc class. Override the vmethod to implement
functionality.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiosrc.h" line="103"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosrc.h"
             line="62">the parent class.</doc>
        <type name="AudioBaseSrcClass" c:type="GstAudioBaseSrcClass"/>
      </field>
      <field name="open">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosrc.h"
             line="63">open the device with the specified caps</doc>
        <callback name="open">
          <source-position filename="gst-libs/gst/audio/gstaudiosrc.h"
                           line="80"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="src" transfer-ownership="none">
              <type name="AudioSrc" c:type="GstAudioSrc*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="prepare">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosrc.h"
             line="64">configure device with format</doc>
        <callback name="prepare">
          <source-position filename="gst-libs/gst/audio/gstaudiosrc.h"
                           line="82"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="src" transfer-ownership="none">
              <type name="AudioSrc" c:type="GstAudioSrc*"/>
            </parameter>
            <parameter name="spec" transfer-ownership="none">
              <type name="AudioRingBufferSpec"
                    c:type="GstAudioRingBufferSpec*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="unprepare">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosrc.h"
             line="65">undo the configuration</doc>
        <callback name="unprepare">
          <source-position filename="gst-libs/gst/audio/gstaudiosrc.h"
                           line="84"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="src" transfer-ownership="none">
              <type name="AudioSrc" c:type="GstAudioSrc*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="close">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosrc.h"
             line="66">close the device</doc>
        <callback name="close">
          <source-position filename="gst-libs/gst/audio/gstaudiosrc.h"
                           line="86"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="src" transfer-ownership="none">
              <type name="AudioSrc" c:type="GstAudioSrc*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="read">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosrc.h"
             line="67">read samples from the audio device</doc>
        <callback name="read">
          <source-position filename="gst-libs/gst/audio/gstaudiosrc.h"
                           line="94"/>
          <return-value transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </return-value>
          <parameters>
            <parameter name="src" transfer-ownership="none">
              <type name="AudioSrc" c:type="GstAudioSrc*"/>
            </parameter>
            <parameter name="data" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudiosrc.h"
                   line="89">the sample data</doc>
              <array length="2" zero-terminated="0" c:type="gpointer">
                <type name="guint8" c:type="gpointer"/>
              </array>
            </parameter>
            <parameter name="length" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
            <parameter name="timestamp"
                       direction="out"
                       caller-allocates="0"
                       transfer-ownership="full">
              <doc xml:space="preserve"
                   filename="gst-libs/gst/audio/gstaudiosrc.h"
                   line="90">a #GstClockTime</doc>
              <type name="Gst.ClockTime" c:type="GstClockTime*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="delay">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosrc.h"
             line="68">the number of frames queued in the device</doc>
        <callback name="delay">
          <source-position filename="gst-libs/gst/audio/gstaudiosrc.h"
                           line="97"/>
          <return-value transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </return-value>
          <parameters>
            <parameter name="src" transfer-ownership="none">
              <type name="AudioSrc" c:type="GstAudioSrc*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="reset">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiosrc.h"
             line="69">unblock a read to the device and reset.</doc>
        <callback name="reset">
          <source-position filename="gst-libs/gst/audio/gstaudiosrc.h"
                           line="99"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="src" transfer-ownership="none">
              <type name="AudioSrc" c:type="GstAudioSrc*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="AudioStreamAlign"
            c:type="GstAudioStreamAlign"
            opaque="1"
            version="1.14"
            glib:type-name="GstAudioStreamAlign"
            glib:get-type="gst_audio_stream_align_get_type"
            c:symbol-prefix="audio_stream_align">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiostreamalign.c"
           line="28">#GstAudioStreamAlign provides a helper object that helps tracking audio
stream alignment and discontinuities, and detects discontinuities if
possible.

See gst_audio_stream_align_new() for a description of its parameters and
gst_audio_stream_align_process() for the details of the processing.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiostreamalign.h"
                       line="39"/>
      <constructor name="new"
                   c:identifier="gst_audio_stream_align_new"
                   version="1.14">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiostreamalign.c"
             line="60">Allocate a new #GstAudioStreamAlign with the given configuration. All
processing happens according to sample rate @rate, until
gst_audio_stream_align_set_rate() is called with a new @rate.
A negative rate can be used for reverse playback.

@alignment_threshold gives the tolerance in nanoseconds after which a
timestamp difference is considered a discontinuity. Once detected,
@discont_wait nanoseconds have to pass without going below the threshold
again until the output buffer is marked as a discontinuity. These can later
be re-configured with gst_audio_stream_align_set_alignment_threshold() and
gst_audio_stream_align_set_discont_wait().</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiostreamalign.h"
                         line="45"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiostreamalign.c"
               line="78">a new #GstAudioStreamAlign. free with gst_audio_stream_align_free().</doc>
          <type name="AudioStreamAlign" c:type="GstAudioStreamAlign*"/>
        </return-value>
        <parameters>
          <parameter name="rate" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="62">a sample rate</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="alignment_threshold" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="63">a alignment threshold in nanoseconds</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="discont_wait" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="64">discont wait in nanoseconds</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="copy"
              c:identifier="gst_audio_stream_align_copy"
              version="1.14">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiostreamalign.c"
             line="104">Copy a GstAudioStreamAlign structure.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiostreamalign.h"
                         line="49"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiostreamalign.c"
               line="110">a new #GstAudioStreamAlign. free with gst_audio_stream_align_free.</doc>
          <type name="AudioStreamAlign" c:type="GstAudioStreamAlign*"/>
        </return-value>
        <parameters>
          <instance-parameter name="align" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="106">a #GstAudioStreamAlign</doc>
            <type name="AudioStreamAlign" c:type="const GstAudioStreamAlign*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="free"
              c:identifier="gst_audio_stream_align_free"
              version="1.14">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiostreamalign.c"
             line="127">Free a GstAudioStreamAlign structure previously allocated with gst_audio_stream_align_new()
or gst_audio_stream_align_copy().</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiostreamalign.h"
                         line="51"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="align" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="129">a #GstAudioStreamAlign</doc>
            <type name="AudioStreamAlign" c:type="GstAudioStreamAlign*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_alignment_threshold"
              c:identifier="gst_audio_stream_align_get_alignment_threshold"
              version="1.14">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiostreamalign.c"
             line="203">Gets the currently configured alignment threshold.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiostreamalign.h"
                         line="63"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiostreamalign.c"
               line="209">The currently configured alignment threshold</doc>
          <type name="Gst.ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="align" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="205">a #GstAudioStreamAlign</doc>
            <type name="AudioStreamAlign" c:type="const GstAudioStreamAlign*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_discont_wait"
              c:identifier="gst_audio_stream_align_get_discont_wait"
              version="1.14">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiostreamalign.c"
             line="241">Gets the currently configured discont wait.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiostreamalign.h"
                         line="69"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiostreamalign.c"
               line="247">The currently configured discont wait</doc>
          <type name="Gst.ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="align" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="243">a #GstAudioStreamAlign</doc>
            <type name="AudioStreamAlign" c:type="const GstAudioStreamAlign*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_rate"
              c:identifier="gst_audio_stream_align_get_rate"
              version="1.14">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiostreamalign.c"
             line="166">Gets the currently configured sample rate.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiostreamalign.h"
                         line="57"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiostreamalign.c"
               line="172">The currently configured sample rate</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="align" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="168">a #GstAudioStreamAlign</doc>
            <type name="AudioStreamAlign" c:type="const GstAudioStreamAlign*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_samples_since_discont"
              c:identifier="gst_audio_stream_align_get_samples_since_discont"
              version="1.14">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiostreamalign.c"
             line="296">Returns the number of samples that were processed since the last
discontinuity was detected.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiostreamalign.h"
                         line="79"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiostreamalign.c"
               line="303">The number of samples processed since the last discontinuity.</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="align" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="298">a #GstAudioStreamAlign</doc>
            <type name="AudioStreamAlign" c:type="const GstAudioStreamAlign*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_timestamp_at_discont"
              c:identifier="gst_audio_stream_align_get_timestamp_at_discont"
              version="1.14">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiostreamalign.c"
             line="276">Timestamp that was passed when a discontinuity was detected, i.e. the first
timestamp after the discontinuity.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiostreamalign.h"
                         line="76"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiostreamalign.c"
               line="283">The last timestamp at when a discontinuity was detected</doc>
          <type name="Gst.ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <instance-parameter name="align" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="278">a #GstAudioStreamAlign</doc>
            <type name="AudioStreamAlign" c:type="const GstAudioStreamAlign*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="mark_discont"
              c:identifier="gst_audio_stream_align_mark_discont"
              version="1.14">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiostreamalign.c"
             line="259">Marks the next buffer as discontinuous and resets timestamp tracking.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiostreamalign.h"
                         line="73"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="align" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="261">a #GstAudioStreamAlign</doc>
            <type name="AudioStreamAlign" c:type="GstAudioStreamAlign*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="process"
              c:identifier="gst_audio_stream_align_process"
              version="1.14">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiostreamalign.c"
             line="316">Processes data with @timestamp and @n_samples, and returns the output
timestamp, duration and sample position together with a boolean to signal
whether a discontinuity was detected or not. All non-discontinuous data
will have perfect timestamps and durations.

A discontinuity is detected once the difference between the actual
timestamp and the timestamp calculated from the sample count since the last
discontinuity differs by more than the alignment threshold for a duration
longer than discont wait.

Note: In reverse playback, every buffer is considered discontinuous in the
context of buffer flags because the last sample of the previous buffer is
discontinuous with the first sample of the current one. However for this
function they are only considered discontinuous in reverse playback if the
first sample of the previous buffer is discontinuous with the last sample
of the current one.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiostreamalign.h"
                         line="82"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiostreamalign.c"
               line="343">%TRUE if a discontinuity was detected, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="align" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="318">a #GstAudioStreamAlign</doc>
            <type name="AudioStreamAlign" c:type="GstAudioStreamAlign*"/>
          </instance-parameter>
          <parameter name="discont" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="319">if this data is considered to be discontinuous</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="320">a #GstClockTime of the start of the data</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="n_samples" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="321">number of samples to process</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="out_timestamp"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="322">output timestamp of the data</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime*"/>
          </parameter>
          <parameter name="out_duration"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="323">output duration of the data</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime*"/>
          </parameter>
          <parameter name="out_sample_position"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="324">output sample position of the start of the data</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_alignment_threshold"
              c:identifier="gst_audio_stream_align_set_alignment_threshold"
              version="1.14">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiostreamalign.c"
             line="184">Sets @alignment_treshold as new alignment threshold for the following processing.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiostreamalign.h"
                         line="60"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="align" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="186">a #GstAudioStreamAlign</doc>
            <type name="AudioStreamAlign" c:type="GstAudioStreamAlign*"/>
          </instance-parameter>
          <parameter name="alignment_threshold" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="187">a new alignment threshold</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_discont_wait"
              c:identifier="gst_audio_stream_align_set_discont_wait"
              version="1.14">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiostreamalign.c"
             line="222">Sets @alignment_treshold as new discont wait for the following processing.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiostreamalign.h"
                         line="66"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="align" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="224">a #GstAudioStreamAlign</doc>
            <type name="AudioStreamAlign" c:type="GstAudioStreamAlign*"/>
          </instance-parameter>
          <parameter name="discont_wait" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="225">a new discont wait</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_rate"
              c:identifier="gst_audio_stream_align_set_rate"
              version="1.14">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiostreamalign.c"
             line="143">Sets @rate as new sample rate for the following processing. If the sample
rate differs this implicitly marks the next data as discontinuous.</doc>
        <source-position filename="gst-libs/gst/audio/gstaudiostreamalign.h"
                         line="54"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="align" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="145">a #GstAudioStreamAlign</doc>
            <type name="AudioStreamAlign" c:type="GstAudioStreamAlign*"/>
          </instance-parameter>
          <parameter name="rate" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstaudiostreamalign.c"
                 line="146">a new sample rate</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
    </record>
    <function-macro name="CLOCK_TIME_TO_FRAMES"
                    c:identifier="GST_CLOCK_TIME_TO_FRAMES"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio.h"
           line="53">Calculate frames from @clocktime and sample @rate.</doc>
      <source-position filename="gst-libs/gst/audio/audio.h" line="60"/>
      <parameters>
        <parameter name="clocktime">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio.h"
               line="55">clock time</doc>
        </parameter>
        <parameter name="rate">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio.h"
               line="56">sampling rate</doc>
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DSD_CAPS_MAKE"
                    c:identifier="GST_DSD_CAPS_MAKE"
                    version="1.24"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstdsd.h"
           line="37">Generic caps string for DSD audio, for use in pad templates.</doc>
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="46"/>
      <parameters>
        <parameter name="format">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.h"
               line="39">string format that describes the DSD bits grouping,
    as string (e.g. "DSDU32BE", "DSDU8", etc.)</doc>
        </parameter>
      </parameters>
    </function-macro>
    <constant name="DSD_FORMATS_ALL"
              value="{ DSDU32BE, DSDU16BE, DSDU8, DSDU32LE, DSDU16LE }"
              c:type="GST_DSD_FORMATS_ALL"
              version="1.24">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstdsdformat.h"
           line="64">List of all DSD formats, for use in template caps strings.

Big endian formats are preferred, since little-endian ones flip around
the DSD bytes, and most DSD hardware uses big endian formats.</doc>
      <source-position filename="gst-libs/gst/audio/gstdsdformat.h" line="74"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <function-macro name="DSD_INFO_CHANNELS"
                    c:identifier="GST_DSD_INFO_CHANNELS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="182"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DSD_INFO_FORMAT"
                    c:identifier="GST_DSD_INFO_FORMAT"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="180"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DSD_INFO_IS_VALID"
                    c:identifier="GST_DSD_INFO_IS_VALID"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="178"/>
      <parameters>
        <parameter name="i">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DSD_INFO_LAYOUT"
                    c:identifier="GST_DSD_INFO_LAYOUT"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="183"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DSD_INFO_POSITION"
                    c:identifier="GST_DSD_INFO_POSITION"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="185"/>
      <parameters>
        <parameter name="info">
        </parameter>
        <parameter name="c">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DSD_INFO_RATE"
                    c:identifier="GST_DSD_INFO_RATE"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="181"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DSD_INFO_REVERSED_BYTES"
                    c:identifier="GST_DSD_INFO_REVERSED_BYTES"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="184"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DSD_INFO_STRIDE"
                    c:identifier="GST_DSD_INFO_STRIDE"
                    version="1.24"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstdsd.h"
           line="187">Calculates the stride for a given #GstDsdInfo.

Note that this is only useful if the info's audio layout
is GST_AUDIO_LAYOUT_INTERLEAVED.</doc>
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="197"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DSD_MAKE_DSD_RATE_44x"
                    c:identifier="GST_DSD_MAKE_DSD_RATE_44x"
                    version="1.24"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstdsd.h"
           line="54">Calculates a valid DSD-44x rate (in bytes) from commonly used rate
multiplier specifications like DSD64, DSD128 etc.

For example, to get the rate for DSD64-44x, use 64 as the multiplier
argument.</doc>
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="65"/>
      <parameters>
        <parameter name="multiplier">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DSD_MAKE_DSD_RATE_48x"
                    c:identifier="GST_DSD_MAKE_DSD_RATE_48x"
                    version="1.24"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstdsd.h"
           line="68">Calculates a valid DSD-48x rate (in bytes) from commonly used rate
multiplier specifications like DSD64, DSD128 etc.

For example, to get the rate for DSD64-48x, use 64 as the multiplier
argument.</doc>
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="79"/>
      <parameters>
        <parameter name="multiplier">
        </parameter>
      </parameters>
    </function-macro>
    <constant name="DSD_MEDIA_TYPE"
              value="audio/x-dsd"
              c:type="GST_DSD_MEDIA_TYPE"
              version="1.24">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstdsd.h"
           line="28">The GStreamer media type for DSD.</doc>
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="35"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="DSD_SILENCE_PATTERN_BYTE"
              value="105"
              c:type="GST_DSD_SILENCE_PATTERN_BYTE"
              version="1.24">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstdsd.h"
           line="81">Silence pattern for DSD data.

In DSD, a nullbyte does not correspond to silence. To fill memory regions
with "DSD silence", these regions must be filled with byte 0x69 instead
(this is the DSD silence pattern). This constant provides that pattern
in a more readable fashion.</doc>
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="93"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <enumeration name="DsdFormat"
                 version="1.24"
                 glib:type-name="GstDsdFormat"
                 glib:get-type="gst_dsd_format_get_type"
                 c:type="GstDsdFormat">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstdsdformat.h"
           line="33">Enum value describing how DSD bits are grouped.</doc>
      <member name="dsd_format_unknown"
              value="0"
              c:identifier="GST_DSD_FORMAT_UNKNOWN"
              glib:nick="dsd-format-unknown"
              glib:name="GST_DSD_FORMAT_UNKNOWN">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsdformat.h"
             line="35">unknown / invalid DSD format</doc>
      </member>
      <member name="dsd_format_u8"
              value="1"
              c:identifier="GST_DSD_FORMAT_U8"
              glib:nick="dsd-format-u8"
              glib:name="GST_DSD_FORMAT_U8">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsdformat.h"
             line="36">8 DSD bits in 1 byte</doc>
      </member>
      <member name="dsd_format_u16le"
              value="2"
              c:identifier="GST_DSD_FORMAT_U16LE"
              glib:nick="dsd-format-u16le"
              glib:name="GST_DSD_FORMAT_U16LE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsdformat.h"
             line="37">16 DSD bits in 2 bytes, little endian order</doc>
      </member>
      <member name="dsd_format_u16be"
              value="3"
              c:identifier="GST_DSD_FORMAT_U16BE"
              glib:nick="dsd-format-u16be"
              glib:name="GST_DSD_FORMAT_U16BE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsdformat.h"
             line="38">16 DSD bits in 2 bytes, big endian order</doc>
      </member>
      <member name="dsd_format_u32le"
              value="4"
              c:identifier="GST_DSD_FORMAT_U32LE"
              glib:nick="dsd-format-u32le"
              glib:name="GST_DSD_FORMAT_U32LE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsdformat.h"
             line="39">32 DSD bits in 4 bytes, little endian order</doc>
      </member>
      <member name="dsd_format_u32be"
              value="5"
              c:identifier="GST_DSD_FORMAT_U32BE"
              glib:nick="dsd-format-u32be"
              glib:name="GST_DSD_FORMAT_U32BE">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsdformat.h"
             line="40">32 DSD bits in 4 bytes, big endian order</doc>
      </member>
      <member name="num_dsd_formats"
              value="6"
              c:identifier="GST_NUM_DSD_FORMATS"
              glib:nick="num-dsd-formats"
              glib:name="GST_NUM_DSD_FORMATS">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsdformat.h"
             line="41">number of valid DSD formats</doc>
      </member>
      <member name="dsd_format_u16"
              value="2"
              c:identifier="GST_DSD_FORMAT_U16"
              glib:nick="dsd-format-u16"
              glib:name="GST_DSD_FORMAT_U16">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsdformat.h"
             line="42">16 DSD bits in 2 bytes, native endianness</doc>
      </member>
      <member name="dsd_format_u32"
              value="4"
              c:identifier="GST_DSD_FORMAT_U32"
              glib:nick="dsd-format-u32"
              glib:name="GST_DSD_FORMAT_U32">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsdformat.h"
             line="43">32 DSD bits in 4 bytes, native endianness</doc>
      </member>
      <function name="from_string"
                c:identifier="gst_dsd_format_from_string"
                version="1.24">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsdformat.c"
             line="26">Convert the DSD format string @str to its #GstDsdFormat.</doc>
        <source-position filename="gst-libs/gst/audio/gstdsdformat.h"
                         line="77"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsdformat.c"
               line="32">the #GstDsdFormat for @format or GST_DSD_FORMAT_UNKNOWN when the
string is not a known format.</doc>
          <type name="DsdFormat" c:type="GstDsdFormat"/>
        </return-value>
        <parameters>
          <parameter name="str" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstdsdformat.c"
                 line="28">a DSD format string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_width"
                c:identifier="gst_dsd_format_get_width"
                version="1.24">
        <source-position filename="gst-libs/gst/audio/gstdsdformat.h"
                         line="83"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsdformat.c"
               line="88">Number of bytes in this DSD grouping format.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstdsdformat.c"
                 line="86">a #GstDsdFormat</doc>
            <type name="DsdFormat" c:type="GstDsdFormat"/>
          </parameter>
        </parameters>
      </function>
      <function name="to_string"
                c:identifier="gst_dsd_format_to_string"
                version="1.24">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsdformat.c"
             line="54">Returns a string containing a descriptive name for
the #GstDsdFormat if there is one, or NULL otherwise.</doc>
        <source-position filename="gst-libs/gst/audio/gstdsdformat.h"
                         line="80"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsdformat.c"
               line="61">the name corresponding to @format</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstdsdformat.c"
                 line="56">a #GstDsdFormat</doc>
            <type name="DsdFormat" c:type="GstDsdFormat"/>
          </parameter>
        </parameters>
      </function>
    </enumeration>
    <record name="DsdInfo"
            c:type="GstDsdInfo"
            version="1.24"
            glib:type-name="GstDsdInfo"
            glib:get-type="gst_dsd_info_get_type"
            c:symbol-prefix="dsd_info">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstdsd.h"
           line="97">Information describing DSD audio properties.

In DSD, the "sample format" is the bit. Unlike PCM, there are no further
"sample formats" in DSD. However, in software, DSD bits are grouped into
bytes (since dealing with individual bits is impractical), and these bytes
in turn are grouped into words. This becomes relevant when interleaving
channels and transmitting DSD data through audio APIs. The different
types of grouping DSD bytes are referred to as the "DSD grouping forma"
or just "DSD format". #GstDsdFormat has a list of valid ways of grouping
DSD bytes into words.

DSD rates are equivalent to PCM sample rates, except that they specify
how many DSD bytes are consumed per second. This refers to the bytes per
second _per channel_; the rate does not change when the number of channel
changes. (Strictly speaking, it would be more correct to measure the
*bits* per second, since the bit is the DSD "sample format", but it is
more practical to use bytes.) In DSD, bit rates are always an integer
multiple of the CD audio rate (44100) or the DAT rate (48000). DSD64-44x
is 44100 * 64 = 2822400 bits per second, or 352800 bytes per second
(the latter would be used in this info structure). DSD64-48x is
48000 * 64 = 3072000 bits per second, or 384000 bytes per second.
#GST_DSD_MAKE_DSD_RATE_44x can be used for specifying DSD-44x rates,
*and #GST_DSD_MAKE_DSD_RATE_48x can be used for specifying DSD-48x ones.
Also, since DSD-48x is less well known, when the multiplier is given
without the 44x/48x specifier, 44x is typically implied.

It is important to know that in DSD, different format widths correspond
to different playtimes. That is, a word with 32 DSD bits covers two times
as much playtime as a word with 16 DSD bits. This is in contrast to PCM,
where one word (= one PCM sample) always covers a time period of 1/samplerate,
no matter how many bits a PCM sample is made of. For this reason, DSD
and PCM widths and strides cannot be used the same way.

Multiple channels are arranged in DSD data either interleaved or non-
interleaved. This is similar to PCM. Interleaved layouts rotate between
channels and words. First, word 0 of channel 0 is present. Then word
0 of channel 1 follows. Then word 0 of channel 2 etc. until all
channels are through, then comes word 1 of channel 0 etc.

Non-interleaved data is planar. First, all words of channel 0 are
present, then all words of channel 1 etc. Unlike interleaved data,
non-interleaved data can be sparse, that is, there can be space in
between the planes. the @positions array specifies the plane offsets.

In uncommon cases, the DSD bits in the data bytes can be stored in reverse
order. For example, normally, in DSDU8, the first byte contains DSD bits
0 to 7, and the most significant bit of that byte is DSD bit 0. If this
order is reversed, then bit 7 is the first one instead. In that ase,
@reversed_bytes is set to TRUE.

Use the provided macros to access the info in this structure.</doc>
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="172"/>
      <field name="format" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.h"
             line="99">DSD grouping format</doc>
        <type name="DsdFormat" c:type="GstDsdFormat"/>
      </field>
      <field name="rate" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.h"
             line="100">DSD rate</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="channels" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.h"
             line="101">number of channels (must be at least 1)</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="layout" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.h"
             line="102">audio layout</doc>
        <type name="AudioLayout" c:type="GstAudioLayout"/>
      </field>
      <field name="reversed_bytes" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.h"
             line="103">true if the DSD bits in the data bytes are reversed,
  that is, the least significant bit comes first</doc>
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="positions" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.h"
             line="105">positions for each channel</doc>
        <array zero-terminated="0" fixed-size="64">
          <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/>
        </array>
      </field>
      <field name="flags" writable="1">
        <type name="AudioFlags" c:type="GstAudioFlags"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <constructor name="new" c:identifier="gst_dsd_info_new" version="1.24">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.c"
             line="277">Allocate a new #GstDsdInfo that is also initialized with
gst_dsd_info_init().</doc>
        <source-position filename="gst-libs/gst/audio/gstdsd.h" line="271"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="283">a new #GstDsdInfo. free with gst_dsd_info_free().</doc>
          <type name="DsdInfo" c:type="GstDsdInfo*"/>
        </return-value>
      </constructor>
      <constructor name="new_from_caps"
                   c:identifier="gst_dsd_info_new_from_caps"
                   version="1.24">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.c"
             line="298">Parse @caps to generate a #GstDsdInfo.</doc>
        <source-position filename="gst-libs/gst/audio/gstdsd.h" line="274"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="304">A #GstDsdInfo, or %NULL if @caps couldn't be parsed</doc>
          <type name="DsdInfo" c:type="GstDsdInfo*"/>
        </return-value>
        <parameters>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstdsd.c"
                 line="300">a #GstCaps</doc>
            <type name="Gst.Caps" c:type="const GstCaps*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="copy" c:identifier="gst_dsd_info_copy" version="1.24">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.c"
             line="404">Copy a GstDsdInfo structure.</doc>
        <source-position filename="gst-libs/gst/audio/gstdsd.h" line="287"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="410">a new #GstDsdInfo. free with gst_dsd_info_free.</doc>
          <type name="DsdInfo" c:type="GstDsdInfo*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstdsd.c"
                 line="406">a #GstDsdInfo</doc>
            <type name="DsdInfo" c:type="const GstDsdInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="free" c:identifier="gst_dsd_info_free" version="1.24">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.c"
             line="420">Free a GstDsdInfo structure previously allocated with gst_dsd_info_new()
or gst_dsd_info_copy().</doc>
        <source-position filename="gst-libs/gst/audio/gstdsd.h" line="290"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstdsd.c"
                 line="422">a #GstDsdInfo</doc>
            <type name="DsdInfo" c:type="GstDsdInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_equal"
              c:identifier="gst_dsd_info_is_equal"
              version="1.24">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.c"
             line="642">Compares two #GstDsdInfo and returns whether they are equal or not</doc>
        <source-position filename="gst-libs/gst/audio/gstdsd.h" line="300"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="649">%TRUE if @info and @other are equal, else %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstdsd.c"
                 line="644">a #GstDsdInfo</doc>
            <type name="DsdInfo" c:type="const GstDsdInfo*"/>
          </instance-parameter>
          <parameter name="other" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstdsd.c"
                 line="645">a #GstDsdInfo</doc>
            <type name="DsdInfo" c:type="const GstDsdInfo*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_format"
              c:identifier="gst_dsd_info_set_format"
              version="1.24">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.c"
             line="342">Set the default info for the DSD info of @format and @rate and @channels.

Note: This initializes @info first, no values are preserved.</doc>
        <source-position filename="gst-libs/gst/audio/gstdsd.h" line="280"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstdsd.c"
                 line="344">a #GstDsdInfo</doc>
            <type name="DsdInfo" c:type="GstDsdInfo*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstdsd.c"
                 line="345">the format</doc>
            <type name="DsdFormat" c:type="GstDsdFormat"/>
          </parameter>
          <parameter name="rate" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstdsd.c"
                 line="346">the DSD rate</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="channels" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstdsd.c"
                 line="347">the number of channels</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="positions"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstdsd.c"
                 line="348">the channel positions</doc>
            <array zero-terminated="0"
                   c:type="const GstAudioChannelPosition*"
                   fixed-size="64">
              <type name="AudioChannelPosition"
                    c:type="GstAudioChannelPosition"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <method name="to_caps"
              c:identifier="gst_dsd_info_to_caps"
              version="1.24">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.c"
             line="566">Convert the values of @info into a #GstCaps.</doc>
        <source-position filename="gst-libs/gst/audio/gstdsd.h" line="297"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="572">the new #GstCaps containing the
         info of @info.</doc>
          <type name="Gst.Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstdsd.c"
                 line="568">a #GstDsdInfo</doc>
            <type name="DsdInfo" c:type="const GstDsdInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <function name="from_caps"
                c:identifier="gst_dsd_info_from_caps"
                version="1.24">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.c"
             line="435">Parse @caps and update @info.</doc>
        <source-position filename="gst-libs/gst/audio/gstdsd.h" line="293"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="442">TRUE if @caps could be parsed</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="info"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstdsd.c"
                 line="437">a #GstDsdInfo</doc>
            <type name="DsdInfo" c:type="GstDsdInfo*"/>
          </parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstdsd.c"
                 line="438">a #GstCaps</doc>
            <type name="Gst.Caps" c:type="const GstCaps*"/>
          </parameter>
        </parameters>
      </function>
      <function name="init" c:identifier="gst_dsd_info_init" version="1.24">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.c"
             line="325">Initialize @info with default values.</doc>
        <source-position filename="gst-libs/gst/audio/gstdsd.h" line="277"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="info"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/gstdsd.c"
                 line="327">a #GstDsdInfo</doc>
            <type name="DsdInfo" c:type="GstDsdInfo*"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <record name="DsdPlaneOffsetMeta"
            c:type="GstDsdPlaneOffsetMeta"
            version="1.24">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstdsd.h"
           line="215">Buffer metadata describing planar DSD contents in the buffer. This is not needed
for interleaved DSD data, and is required for non-interleaved (= planar) data.

The different channels in @offsets are always in the GStreamer channel order.
Zero-copy channel reordering can be implemented by swapping the values in
@offsets.

It is not allowed for channels to overlap in memory,
i.e. for each i in [0, channels), the range
[@offsets[i], @offsets[i] + @num_bytes_per_channel) must not overlap
with any other such range.

It is, however, allowed to have parts of the buffer memory unused, by using
@offsets and @num_bytes_per_channel in such a way that leave gaps on it.
This is used to implement zero-copy clipping in non-interleaved buffers.

Obviously, due to the above, it is not safe to infer the
number of valid bytes from the size of the buffer. You should always
use the @num_bytes_per_channel variable of this metadata.</doc>
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="253"/>
      <field name="meta" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.h"
             line="217">parent #GstMeta</doc>
        <type name="Gst.Meta" c:type="GstMeta"/>
      </field>
      <field name="num_channels" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.h"
             line="218">number of channels in the DSD data</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="num_bytes_per_channel" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.h"
             line="219">the number of valid bytes per channel in the buffer</doc>
        <type name="gsize" c:type="gsize"/>
      </field>
      <field name="offsets" writable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.h"
             line="220">the offsets (in bytes) where each channel plane starts in the buffer</doc>
        <type name="gsize" c:type="gsize*"/>
      </field>
      <field name="priv_offsets_arr" readable="0" private="1">
        <array zero-terminated="0" fixed-size="8">
          <type name="gsize" c:type="gsize"/>
        </array>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <function name="get_info"
                c:identifier="gst_dsd_plane_offset_meta_get_info">
        <source-position filename="gst-libs/gst/audio/gstdsd.h" line="259"/>
        <return-value transfer-ownership="none">
          <type name="Gst.MetaInfo" c:type="const GstMetaInfo*"/>
        </return-value>
      </function>
    </record>
    <function-macro name="FRAMES_TO_CLOCK_TIME"
                    c:identifier="GST_FRAMES_TO_CLOCK_TIME"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio.h"
           line="43">Calculate clocktime from sample @frames and @rate.</doc>
      <source-position filename="gst-libs/gst/audio/audio.h" line="50"/>
      <parameters>
        <parameter name="frames">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio.h"
               line="45">sample frames</doc>
        </parameter>
        <parameter name="rate">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio.h"
               line="46">sampling rate</doc>
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_AGGREGATOR"
                    c:identifier="GST_IS_AUDIO_AGGREGATOR"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="166"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_AGGREGATOR_CLASS"
                    c:identifier="GST_IS_AUDIO_AGGREGATOR_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="167"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_AGGREGATOR_CONVERT_PAD"
                    c:identifier="GST_IS_AUDIO_AGGREGATOR_CONVERT_PAD"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="112"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_AGGREGATOR_CONVERT_PAD_CLASS"
                    c:identifier="GST_IS_AUDIO_AGGREGATOR_CONVERT_PAD_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="113"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_AGGREGATOR_PAD"
                    c:identifier="GST_IS_AUDIO_AGGREGATOR_PAD"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="49"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_AGGREGATOR_PAD_CLASS"
                    c:identifier="GST_IS_AUDIO_AGGREGATOR_PAD_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioaggregator.h"
                       line="50"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_BASE_SINK"
                    c:identifier="GST_IS_AUDIO_BASE_SINK"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                       line="65"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_BASE_SINK_CLASS"
                    c:identifier="GST_IS_AUDIO_BASE_SINK_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiobasesink.h"
                       line="66"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_BASE_SRC"
                    c:identifier="GST_IS_AUDIO_BASE_SRC"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiobasesrc.h"
                       line="43"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_BASE_SRC_CLASS"
                    c:identifier="GST_IS_AUDIO_BASE_SRC_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiobasesrc.h"
                       line="44"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_CD_SRC"
                    c:identifier="GST_IS_AUDIO_CD_SRC"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiocdsrc.h"
                       line="35"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_CD_SRC_CLASS"
                    c:identifier="GST_IS_AUDIO_CD_SRC_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiocdsrc.h"
                       line="36"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_CLOCK"
                    c:identifier="GST_IS_AUDIO_CLOCK"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioclock.h"
                       line="40"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_CLOCK_CLASS"
                    c:identifier="GST_IS_AUDIO_CLOCK_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioclock.h"
                       line="42"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_DECODER"
                    c:identifier="GST_IS_AUDIO_DECODER"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                       line="43"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_DECODER_CLASS"
                    c:identifier="GST_IS_AUDIO_DECODER_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiodecoder.h"
                       line="45"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_ENCODER"
                    c:identifier="GST_IS_AUDIO_ENCODER"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                       line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_ENCODER_CLASS"
                    c:identifier="GST_IS_AUDIO_ENCODER_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioencoder.h"
                       line="38"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_FILTER"
                    c:identifier="GST_IS_AUDIO_FILTER"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiofilter.h"
                       line="46"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_FILTER_CLASS"
                    c:identifier="GST_IS_AUDIO_FILTER_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiofilter.h"
                       line="48"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_RING_BUFFER"
                    c:identifier="GST_IS_AUDIO_RING_BUFFER"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="39"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_RING_BUFFER_CLASS"
                    c:identifier="GST_IS_AUDIO_RING_BUFFER_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudioringbuffer.h"
                       line="40"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_SINK"
                    c:identifier="GST_IS_AUDIO_SINK"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiosink.h" line="39"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_SINK_CLASS"
                    c:identifier="GST_IS_AUDIO_SINK_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiosink.h" line="40"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_SRC"
                    c:identifier="GST_IS_AUDIO_SRC"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiosrc.h" line="39"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_SRC_CLASS"
                    c:identifier="GST_IS_AUDIO_SRC_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiosrc.h" line="40"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <constant name="META_TAG_AUDIO_CHANNELS_STR"
              value="channels"
              c:type="GST_META_TAG_AUDIO_CHANNELS_STR"
              version="1.2">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio.h"
           line="73">This metadata stays relevant as long as channels are unchanged.</doc>
      <source-position filename="gst-libs/gst/audio/audio.h" line="80"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="META_TAG_AUDIO_RATE_STR"
              value="rate"
              c:type="GST_META_TAG_AUDIO_RATE_STR"
              version="1.8">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio.h"
           line="82">This metadata stays relevant as long as sample rate is unchanged.</doc>
      <source-position filename="gst-libs/gst/audio/audio.h" line="89"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="META_TAG_AUDIO_STR"
              value="audio"
              c:type="GST_META_TAG_AUDIO_STR"
              version="1.2">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio.h"
           line="65">This metadata is relevant for audio streams.</doc>
      <source-position filename="gst-libs/gst/audio/audio.h" line="72"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="META_TAG_DSD_PLANE_OFFSETS_STR"
              value="dsdplaneoffsets"
              c:type="GST_META_TAG_DSD_PLANE_OFFSETS_STR"
              version="1.24">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstdsd.h"
           line="204">This metadata stays relevant as long as the DSD plane offsets are unchanged.</doc>
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="211"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <function-macro name="STREAM_VOLUME_GET_INTERFACE"
                    c:identifier="GST_STREAM_VOLUME_GET_INTERFACE"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/streamvolume.h" line="33"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <interface name="StreamVolume"
               c:symbol-prefix="stream_volume"
               c:type="GstStreamVolume"
               glib:type-name="GstStreamVolume"
               glib:get-type="gst_stream_volume_get_type"
               glib:type-struct="StreamVolumeInterface">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/streamvolume.c"
           line="20">This interface is implemented by elements that provide a stream volume. Examples for
such elements are #volume and #playbin.

Applications can use this interface to get or set the current stream volume. For this
the "volume" #GObject property can be used or the helper functions gst_stream_volume_set_volume()
and gst_stream_volume_get_volume(). This volume is always a linear factor, i.e. 0.0 is muted
1.0 is 100%. For showing the volume in a GUI it might make sense to convert it to
a different format by using gst_stream_volume_convert_volume(). Volume sliders should usually
use a cubic volume.

Separate from the volume the stream can also be muted by the "mute" #GObject property or
gst_stream_volume_set_mute() and gst_stream_volume_get_mute().

Elements that provide some kind of stream volume should implement the "volume" and
"mute" #GObject properties and handle setting and getting of them properly.
The volume property is defined to be a linear volume factor.</doc>
      <source-position filename="gst-libs/gst/audio/streamvolume.h" line="37"/>
      <function name="convert_volume"
                c:identifier="gst_stream_volume_convert_volume">
        <source-position filename="gst-libs/gst/audio/streamvolume.h"
                         line="74"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/streamvolume.c"
               line="170">the converted volume</doc>
          <type name="gdouble" c:type="gdouble"/>
        </return-value>
        <parameters>
          <parameter name="from" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/streamvolume.c"
                 line="166">#GstStreamVolumeFormat to convert from</doc>
            <type name="StreamVolumeFormat" c:type="GstStreamVolumeFormat"/>
          </parameter>
          <parameter name="to" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/streamvolume.c"
                 line="167">#GstStreamVolumeFormat to convert to</doc>
            <type name="StreamVolumeFormat" c:type="GstStreamVolumeFormat"/>
          </parameter>
          <parameter name="val" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/streamvolume.c"
                 line="168">Volume in @from format that should be converted</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
        </parameters>
      </function>
      <method name="get_mute"
              c:identifier="gst_stream_volume_get_mute"
              glib:get-property="mute">
        <source-position filename="gst-libs/gst/audio/streamvolume.h"
                         line="71"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/streamvolume.c"
               line="138">Returns %TRUE if the stream is muted</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="volume" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/streamvolume.c"
                 line="136">#GstStreamVolume that should be used</doc>
            <type name="StreamVolume" c:type="GstStreamVolume*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_volume"
              c:identifier="gst_stream_volume_get_volume"
              glib:get-property="volume">
        <source-position filename="gst-libs/gst/audio/streamvolume.h"
                         line="63"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/streamvolume.c"
               line="97">The current stream volume as linear factor</doc>
          <type name="gdouble" c:type="gdouble"/>
        </return-value>
        <parameters>
          <instance-parameter name="volume" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/streamvolume.c"
                 line="94">#GstStreamVolume that should be used</doc>
            <type name="StreamVolume" c:type="GstStreamVolume*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/streamvolume.c"
                 line="95">#GstStreamVolumeFormat which should be returned</doc>
            <type name="StreamVolumeFormat" c:type="GstStreamVolumeFormat"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_mute"
              c:identifier="gst_stream_volume_set_mute"
              glib:set-property="mute">
        <source-position filename="gst-libs/gst/audio/streamvolume.h"
                         line="67"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="volume" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/streamvolume.c"
                 line="153">#GstStreamVolume that should be used</doc>
            <type name="StreamVolume" c:type="GstStreamVolume*"/>
          </instance-parameter>
          <parameter name="mute" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/streamvolume.c"
                 line="154">Mute state that should be set</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_volume"
              c:identifier="gst_stream_volume_set_volume"
              glib:set-property="volume">
        <source-position filename="gst-libs/gst/audio/streamvolume.h"
                         line="58"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="volume" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/streamvolume.c"
                 line="117">#GstStreamVolume that should be used</doc>
            <type name="StreamVolume" c:type="GstStreamVolume*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/streamvolume.c"
                 line="118">#GstStreamVolumeFormat of @val</doc>
            <type name="StreamVolumeFormat" c:type="GstStreamVolumeFormat"/>
          </parameter>
          <parameter name="val" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/audio/streamvolume.c"
                 line="119">Linear volume factor that should be set</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
        </parameters>
      </method>
      <property name="mute"
                writable="1"
                transfer-ownership="none"
                setter="set_mute"
                getter="get_mute"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="volume"
                writable="1"
                transfer-ownership="none"
                setter="set_volume"
                getter="get_volume"
                default-value="1.000000">
        <type name="gdouble" c:type="gdouble"/>
      </property>
    </interface>
    <enumeration name="StreamVolumeFormat" c:type="GstStreamVolumeFormat">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/streamvolume.h"
           line="39">Different representations of a stream volume. gst_stream_volume_convert_volume()
allows to convert between the different representations.

Formulas to convert from a linear to a cubic or dB volume are
cbrt(val) and 20 * log10 (val).</doc>
      <source-position filename="gst-libs/gst/audio/streamvolume.h" line="55"/>
      <member name="linear"
              value="0"
              c:identifier="GST_STREAM_VOLUME_FORMAT_LINEAR">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/streamvolume.h"
             line="41">Linear scale factor, 1.0 = 100%</doc>
      </member>
      <member name="cubic"
              value="1"
              c:identifier="GST_STREAM_VOLUME_FORMAT_CUBIC">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/streamvolume.h"
             line="42">Cubic volume scale</doc>
      </member>
      <member name="db" value="2" c:identifier="GST_STREAM_VOLUME_FORMAT_DB">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/streamvolume.h"
             line="43">Logarithmic volume scale (dB, amplitude not power)</doc>
      </member>
    </enumeration>
    <record name="StreamVolumeInterface"
            c:type="GstStreamVolumeInterface"
            glib:is-gtype-struct-for="StreamVolume">
      <source-position filename="gst-libs/gst/audio/streamvolume.h" line="37"/>
      <field name="iface">
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
      </field>
    </record>
    <function name="audio_buffer_clip"
              c:identifier="gst_audio_buffer_clip"
              moved-to="AudioBuffer.clip">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio.c"
           line="58">Clip the buffer to the given %GstSegment.

After calling this function the caller does not own a reference to
@buffer anymore.</doc>
      <source-position filename="gst-libs/gst/audio/audio.h" line="97"/>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio.c"
             line="72">%NULL if the buffer is completely outside the configured segment,
otherwise the clipped buffer is returned.

If the buffer has no timestamp, it is assumed to be inside the segment and
is not clipped</doc>
        <type name="Gst.Buffer" c:type="GstBuffer*"/>
      </return-value>
      <parameters>
        <parameter name="buffer" transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio.c"
               line="60">The buffer to clip.</doc>
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </parameter>
        <parameter name="segment" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio.c"
               line="61">Segment in %GST_FORMAT_TIME or %GST_FORMAT_DEFAULT to which
          the buffer should be clipped.</doc>
          <type name="Gst.Segment" c:type="const GstSegment*"/>
        </parameter>
        <parameter name="rate" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio.c"
               line="63">sample rate.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="bpf" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio.c"
               line="64">size of one audio frame in bytes. This is the size of one sample *
number of channels.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_buffer_map"
              c:identifier="gst_audio_buffer_map"
              moved-to="AudioBuffer.map"
              version="1.16">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-buffer.c"
           line="69">Maps an audio @gstbuffer so that it can be read or written and stores the
result of the map operation in @buffer.

This is especially useful when the @gstbuffer is in non-interleaved (planar)
layout, in which case this function will use the information in the
@gstbuffer's attached #GstAudioMeta in order to map each channel in a
separate "plane" in #GstAudioBuffer. If a #GstAudioMeta is not attached
on the @gstbuffer, then it must be in interleaved layout.

If a #GstAudioMeta is attached, then the #GstAudioInfo on the meta is checked
against @info. Normally, they should be equal, but in case they are not,
a g_critical will be printed and the #GstAudioInfo from the meta will be
used.

In non-interleaved buffers, it is possible to have each channel on a separate
#GstMemory. In this case, each memory will be mapped separately to avoid
copying their contents in a larger memory area. Do note though that it is
not supported to have a single channel spanning over two or more different
#GstMemory objects. Although the map operation will likely succeed in this
case, it will be highly sub-optimal and it is recommended to merge all the
memories in the buffer before calling this function.

Note: The actual #GstBuffer is not ref'ed, but it is required to stay valid
as long as it's mapped.</doc>
      <source-position filename="gst-libs/gst/audio/audio-buffer.h" line="77"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-buffer.c"
             line="101">%TRUE if the map operation succeeded or %FALSE on failure</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="buffer"
                   direction="out"
                   caller-allocates="1"
                   transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-buffer.c"
               line="71">pointer to a #GstAudioBuffer</doc>
          <type name="AudioBuffer" c:type="GstAudioBuffer*"/>
        </parameter>
        <parameter name="info" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-buffer.c"
               line="72">the audio properties of the buffer</doc>
          <type name="AudioInfo" c:type="const GstAudioInfo*"/>
        </parameter>
        <parameter name="gstbuffer" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-buffer.c"
               line="73">the #GstBuffer to be mapped</doc>
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-buffer.c"
               line="74">the access mode for the memory</doc>
          <type name="Gst.MapFlags" c:type="GstMapFlags"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_buffer_reorder_channels"
              c:identifier="gst_audio_buffer_reorder_channels"
              moved-to="AudioBuffer.reorder_channels">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-channels.c"
           line="316">Reorders @buffer 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.
@buffer must be writable.</doc>
      <source-position filename="gst-libs/gst/audio/audio-channels.h"
                       line="157"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.c"
             line="329">%TRUE if the reordering was possible.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="buffer" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="318">The buffer to reorder.</doc>
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </parameter>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="319">The %GstAudioFormat of the buffer.</doc>
          <type name="AudioFormat" c:type="GstAudioFormat"/>
        </parameter>
        <parameter name="channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="320">The number of channels.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="from" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="321">The channel positions in the buffer.</doc>
          <array length="2"
                 zero-terminated="0"
                 c:type="const GstAudioChannelPosition*">
            <type name="AudioChannelPosition"
                  c:type="GstAudioChannelPosition"/>
          </array>
        </parameter>
        <parameter name="to" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="322">The channel positions to convert to.</doc>
          <array length="2"
                 zero-terminated="0"
                 c:type="const GstAudioChannelPosition*">
            <type name="AudioChannelPosition"
                  c:type="GstAudioChannelPosition"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="audio_buffer_truncate"
              c:identifier="gst_audio_buffer_truncate"
              moved-to="AudioBuffer.truncate"
              version="1.16">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio.c"
           line="247">Truncate the buffer to finally have @samples number of samples, removing
the necessary amount of samples from the end and @trim number of samples
from the beginning.

This function does not know the audio rate, therefore the caller is
responsible for re-setting the correct timestamp and duration to the
buffer. However, timestamp will be preserved if trim == 0, and duration
will also be preserved if there is no trimming to be done. Offset and
offset end will be preserved / updated.

After calling this function the caller does not own a reference to
@buffer anymore.</doc>
      <source-position filename="gst-libs/gst/audio/audio.h" line="102"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio.c"
             line="270">the truncated buffer</doc>
        <type name="Gst.Buffer" c:type="GstBuffer*"/>
      </return-value>
      <parameters>
        <parameter name="buffer" transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio.c"
               line="249">The buffer to truncate.</doc>
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </parameter>
        <parameter name="bpf" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio.c"
               line="250">size of one audio frame in bytes. This is the size of one sample *
number of channels.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="trim" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio.c"
               line="252">the number of samples to remove from the beginning of the buffer</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
        <parameter name="samples" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio.c"
               line="253">the final number of samples that should exist in this buffer or -1
to use all the remaining samples if you are only removing samples from the
beginning.</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_channel_get_fallback_mask"
              c:identifier="gst_audio_channel_get_fallback_mask"
              version="1.8">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-channels.c"
           line="607">Get the fallback channel-mask for the given number of channels.

This function returns a reasonable fallback channel-mask and should be
called as a last resort when the specific channel map is unknown.</doc>
      <source-position filename="gst-libs/gst/audio/audio-channels.h"
                       line="200"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.c"
             line="616">a fallback channel-mask for @channels or 0 when there is no
mask and mono.</doc>
        <type name="guint64" c:type="guint64"/>
      </return-value>
      <parameters>
        <parameter name="channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="609">the number of channels</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_channel_mixer_new"
              c:identifier="gst_audio_channel_mixer_new"
              moved-to="AudioChannelMixer.new"
              introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-channel-mixer.c"
           line="1365">Create a new channel mixer object for the given parameters.</doc>
      <source-position filename="gst-libs/gst/audio/audio-channel-mixer.h"
                       line="50"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channel-mixer.c"
             line="1375">a new #GstAudioChannelMixer object.
  Free with gst_audio_channel_mixer_free() after usage.</doc>
        <type name="AudioChannelMixer" c:type="GstAudioChannelMixer*"/>
      </return-value>
      <parameters>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channel-mixer.c"
               line="1367">#GstAudioChannelMixerFlags</doc>
          <type name="AudioChannelMixerFlags"
                c:type="GstAudioChannelMixerFlags"/>
        </parameter>
        <parameter name="format" transfer-ownership="none">
          <type name="AudioFormat" c:type="GstAudioFormat"/>
        </parameter>
        <parameter name="in_channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channel-mixer.c"
               line="1368">number of input channels</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="in_position" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channel-mixer.c"
               line="1369">positions of input channels</doc>
          <array length="2"
                 zero-terminated="0"
                 c:type="GstAudioChannelPosition*">
            <type name="AudioChannelPosition"
                  c:type="GstAudioChannelPosition"/>
          </array>
        </parameter>
        <parameter name="out_channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channel-mixer.c"
               line="1370">number of output channels</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="out_position" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channel-mixer.c"
               line="1371">positions of output channels</doc>
          <array length="4"
                 zero-terminated="0"
                 c:type="GstAudioChannelPosition*">
            <type name="AudioChannelPosition"
                  c:type="GstAudioChannelPosition"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="audio_channel_mixer_new_with_matrix"
              c:identifier="gst_audio_channel_mixer_new_with_matrix"
              moved-to="AudioChannelMixer.new_with_matrix"
              version="1.14"
              introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-channel-mixer.c"
           line="1125">Create a new channel mixer object for the given parameters.</doc>
      <source-position filename="gst-libs/gst/audio/audio-channel-mixer.h"
                       line="58"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channel-mixer.c"
             line="1136">a new #GstAudioChannelMixer object.
  Free with gst_audio_channel_mixer_free() after usage.</doc>
        <type name="AudioChannelMixer" c:type="GstAudioChannelMixer*"/>
      </return-value>
      <parameters>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channel-mixer.c"
               line="1127">#GstAudioChannelMixerFlags</doc>
          <type name="AudioChannelMixerFlags"
                c:type="GstAudioChannelMixerFlags"/>
        </parameter>
        <parameter name="format" transfer-ownership="none">
          <type name="AudioFormat" c:type="GstAudioFormat"/>
        </parameter>
        <parameter name="in_channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channel-mixer.c"
               line="1128">number of input channels</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="out_channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channel-mixer.c"
               line="1129">number of output channels</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="matrix"
                   transfer-ownership="full"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channel-mixer.c"
               line="1130">channel conversion matrix, m[@in_channels][@out_channels].
  If identity matrix, passthrough applies. If %NULL, a (potentially truncated)
  identity matrix is generated.</doc>
          <array zero-terminated="0" c:type="gfloat**">
            <type name="gfloat"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="audio_channel_positions_from_mask"
              c:identifier="gst_audio_channel_positions_from_mask">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-channels.c"
           line="405">Convert the @channels present in @channel_mask to a @position array
(which should have at least @channels entries ensured by caller).
If @channel_mask is set to 0, it is considered as 'not present' for purpose
of conversion.
A partially valid @channel_mask with less bits set than the number
of channels is considered valid.</doc>
      <source-position filename="gst-libs/gst/audio/audio-channels.h"
                       line="190"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.c"
             line="419">%TRUE if channel and channel mask are valid and could be converted</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="407">The number of channels</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="channel_mask" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="408">The input channel_mask</doc>
          <type name="guint64" c:type="guint64"/>
        </parameter>
        <parameter name="position" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="409">The
  %GstAudioChannelPosition&lt;!-- --&gt;s</doc>
          <array length="0"
                 zero-terminated="0"
                 c:type="GstAudioChannelPosition*">
            <type name="AudioChannelPosition"
                  c:type="GstAudioChannelPosition"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="audio_channel_positions_to_mask"
              c:identifier="gst_audio_channel_positions_to_mask">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-channels.c"
           line="383">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.</doc>
      <source-position filename="gst-libs/gst/audio/audio-channels.h"
                       line="185"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.c"
             line="395">%TRUE if the channel positions are valid and could be converted.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="position" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="385">The %GstAudioChannelPositions</doc>
          <array length="1"
                 zero-terminated="0"
                 c:type="const GstAudioChannelPosition*">
            <type name="AudioChannelPosition"
                  c:type="GstAudioChannelPosition"/>
          </array>
        </parameter>
        <parameter name="channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="386">The number of channels.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="force_order" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="387">Only consider the GStreamer channel order.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
        <parameter name="channel_mask"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="388">the output channel mask</doc>
          <type name="guint64" c:type="guint64*"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_channel_positions_to_string"
              c:identifier="gst_audio_channel_positions_to_string"
              version="1.10">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-channels.c"
           line="705">Converts @position to a human-readable string representation for
debugging purposes.</doc>
      <source-position filename="gst-libs/gst/audio/audio-channels.h"
                       line="203"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.c"
             line="714">a newly allocated string representing
@position</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="position" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="707">The %GstAudioChannelPositions
  to convert.</doc>
          <array length="1"
                 zero-terminated="0"
                 c:type="const GstAudioChannelPosition*">
            <type name="AudioChannelPosition"
                  c:type="GstAudioChannelPosition"/>
          </array>
        </parameter>
        <parameter name="channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="709">The number of channels.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_channel_positions_to_valid_order"
              c:identifier="gst_audio_channel_positions_to_valid_order">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-channels.c"
           line="530">Reorders the channel positions in @position from any order to
the GStreamer channel order.</doc>
      <source-position filename="gst-libs/gst/audio/audio-channels.h"
                       line="177"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.c"
             line="539">%TRUE if the channel positions are valid and reordering
was successful.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="position" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="532">The channel positions to
  reorder to.</doc>
          <array length="1"
                 zero-terminated="0"
                 c:type="GstAudioChannelPosition*">
            <type name="AudioChannelPosition"
                  c:type="GstAudioChannelPosition"/>
          </array>
        </parameter>
        <parameter name="channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="534">The number of channels.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_check_valid_channel_positions"
              c:identifier="gst_audio_check_valid_channel_positions">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-channels.c"
           line="363">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.</doc>
      <source-position filename="gst-libs/gst/audio/audio-channels.h"
                       line="181"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.c"
             line="374">%TRUE if the channel positions are valid.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="position" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="365">The %GstAudioChannelPositions
  to check.</doc>
          <array length="1"
                 zero-terminated="0"
                 c:type="const GstAudioChannelPosition*">
            <type name="AudioChannelPosition"
                  c:type="GstAudioChannelPosition"/>
          </array>
        </parameter>
        <parameter name="channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="367">The number of channels.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="force_order" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="368">Only consider the GStreamer channel order.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_clipping_meta_api_get_type"
              c:identifier="gst_audio_clipping_meta_api_get_type">
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h"
                       line="115"/>
      <return-value transfer-ownership="none">
        <type name="GType" c:type="GType"/>
      </return-value>
    </function>
    <function name="audio_clipping_meta_get_info"
              c:identifier="gst_audio_clipping_meta_get_info"
              moved-to="AudioClippingMeta.get_info">
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h"
                       line="118"/>
      <return-value transfer-ownership="none">
        <type name="Gst.MetaInfo" c:type="const GstMetaInfo*"/>
      </return-value>
    </function>
    <function name="audio_downmix_meta_api_get_type"
              c:identifier="gst_audio_downmix_meta_api_get_type">
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h" line="60"/>
      <return-value transfer-ownership="none">
        <type name="GType" c:type="GType"/>
      </return-value>
    </function>
    <function name="audio_downmix_meta_get_info"
              c:identifier="gst_audio_downmix_meta_get_info"
              moved-to="AudioDownmixMeta.get_info">
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h" line="63"/>
      <return-value transfer-ownership="none">
        <type name="Gst.MetaInfo" c:type="const GstMetaInfo*"/>
      </return-value>
    </function>
    <function name="audio_format_build_integer"
              c:identifier="gst_audio_format_build_integer"
              moved-to="AudioFormat.build_integer">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.c"
           line="384">Construct a #GstAudioFormat with given parameters.</doc>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="353"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.c"
             line="393">a #GstAudioFormat or GST_AUDIO_FORMAT_UNKNOWN when no audio format
exists with the given parameters.</doc>
        <type name="AudioFormat" c:type="GstAudioFormat"/>
      </return-value>
      <parameters>
        <parameter name="sign" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.c"
               line="386">signed or unsigned format</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
        <parameter name="endianness" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.c"
               line="387">G_LITTLE_ENDIAN or G_BIG_ENDIAN</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.c"
               line="388">amount of bits used per sample</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="depth" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.c"
               line="389">amount of used bits in @width</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_format_fill_silence"
              c:identifier="gst_audio_format_fill_silence"
              moved-to="AudioFormat.fill_silence"
              deprecated="1"
              deprecated-version="1.20">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.c"
           line="492">Fill @length bytes in @dest with silence samples for @info.</doc>
      <doc-deprecated xml:space="preserve">Use gst_audio_format_info_fill_silence() instead.</doc-deprecated>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="370"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="info" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.c"
               line="494">a #GstAudioFormatInfo</doc>
          <type name="AudioFormatInfo" c:type="const GstAudioFormatInfo*"/>
        </parameter>
        <parameter name="dest" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.c"
               line="495">a destination
  to fill</doc>
          <array length="2" zero-terminated="0" c:type="gpointer">
            <type name="guint8"/>
          </array>
        </parameter>
        <parameter name="length" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.c"
               line="497">the length to fill</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_format_from_string"
              c:identifier="gst_audio_format_from_string"
              moved-to="AudioFormat.from_string">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.c"
           line="430">Convert the @format string to its #GstAudioFormat.</doc>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="357"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.c"
             line="436">the #GstAudioFormat for @format or GST_AUDIO_FORMAT_UNKNOWN when the
string is not a known format.</doc>
        <type name="AudioFormat" c:type="GstAudioFormat"/>
      </return-value>
      <parameters>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.c"
               line="432">a format string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_format_get_info"
              c:identifier="gst_audio_format_get_info"
              moved-to="AudioFormat.get_info">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.c"
           line="476">Get the #GstAudioFormatInfo for @format</doc>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="364"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.c"
             line="482">The #GstAudioFormatInfo for @format.</doc>
        <type name="AudioFormatInfo" c:type="const GstAudioFormatInfo*"/>
      </return-value>
      <parameters>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.c"
               line="478">a #GstAudioFormat</doc>
          <type name="AudioFormat" c:type="GstAudioFormat"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_format_to_string"
              c:identifier="gst_audio_format_to_string"
              moved-to="AudioFormat.to_string">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.c"
           line="453">Returns a string containing a descriptive name for the #GstAudioFormat.

Since 1.26 this can also be used with %GST_AUDIO_FORMAT_UNKNOWN, previous
versions were printing a critical warning and returned %NULL.</doc>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="360"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.c"
             line="462">the name corresponding to @format</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.c"
               line="455">a #GstAudioFormat audio format</doc>
          <type name="AudioFormat" c:type="GstAudioFormat"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_formats_raw"
              c:identifier="gst_audio_formats_raw"
              version="1.18">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.c"
           line="618">Return all the raw audio formats supported by GStreamer.</doc>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="440"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.c"
             line="624">an array of #GstAudioFormat</doc>
        <array length="0" zero-terminated="0" c:type="const GstAudioFormat*">
          <type name="AudioFormat" c:type="GstAudioFormat"/>
        </array>
      </return-value>
      <parameters>
        <parameter name="len"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.c"
               line="620">the number of elements in the returned array</doc>
          <type name="guint" c:type="guint*"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_get_channel_reorder_map"
              c:identifier="gst_audio_get_channel_reorder_map">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-channels.c"
           line="467">Returns a reorder map for @from to @to that can be used in
custom channel reordering code, e.g. to convert from or to the
GStreamer channel order. @from and @to must contain the same
number of positions and the same positions, only in a
different order.

The resulting @reorder_map can be used for reordering by assigning
channel i of the input to channel reorder_map[i] of the output.</doc>
      <source-position filename="gst-libs/gst/audio/audio-channels.h"
                       line="194"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.c"
             line="483">%TRUE if the channel positions are valid and reordering
is possible.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="469">The number of channels.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="from" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="470">The channel positions to reorder from.</doc>
          <array length="0"
                 zero-terminated="0"
                 c:type="const GstAudioChannelPosition*">
            <type name="AudioChannelPosition"
                  c:type="GstAudioChannelPosition"/>
          </array>
        </parameter>
        <parameter name="to" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="471">The channel positions to reorder to.</doc>
          <array length="0"
                 zero-terminated="0"
                 c:type="const GstAudioChannelPosition*">
            <type name="AudioChannelPosition"
                  c:type="GstAudioChannelPosition"/>
          </array>
        </parameter>
        <parameter name="reorder_map" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="472">Pointer to the reorder map.</doc>
          <array length="0" zero-terminated="0" c:type="gint*">
            <type name="gint" c:type="gint"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="audio_iec61937_frame_size"
              c:identifier="gst_audio_iec61937_frame_size">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioiec61937.c"
           line="65">Calculated the size of the buffer expected by gst_audio_iec61937_payload() for
payloading type from @spec.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudioiec61937.h"
                       line="30"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioiec61937.c"
             line="72">the size or 0 if the given @type is not supported or cannot be
payloaded.</doc>
        <type name="guint" c:type="guint"/>
      </return-value>
      <parameters>
        <parameter name="spec" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioiec61937.c"
               line="67">the ringbufer spec</doc>
          <type name="AudioRingBufferSpec"
                c:type="const GstAudioRingBufferSpec*"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_iec61937_payload"
              c:identifier="gst_audio_iec61937_payload">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioiec61937.c"
           line="142">Payloads @src in the form specified by IEC 61937 for the type from @spec and
stores the result in @dst. @src must contain exactly one frame of data and
the frame is not checked for errors.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudioiec61937.h"
                       line="33"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudioiec61937.c"
             line="156">transfer-full: %TRUE if the payloading was successful, %FALSE
otherwise.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="src" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioiec61937.c"
               line="144">a buffer containing the data to payload</doc>
          <array length="1" zero-terminated="0" c:type="const guint8*">
            <type name="guint8" c:type="guint8"/>
          </array>
        </parameter>
        <parameter name="src_n" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioiec61937.c"
               line="145">size of @src in bytes</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="dst" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioiec61937.c"
               line="146">the destination buffer to store the
      payloaded contents in. Should not overlap with @src</doc>
          <array length="3" zero-terminated="0" c:type="guint8*">
            <type name="guint8" c:type="guint8"/>
          </array>
        </parameter>
        <parameter name="dst_n" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioiec61937.c"
               line="148">size of @dst in bytes</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="spec" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioiec61937.c"
               line="149">the ringbufer spec for @src</doc>
          <type name="AudioRingBufferSpec"
                c:type="const GstAudioRingBufferSpec*"/>
        </parameter>
        <parameter name="endianness" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudioiec61937.c"
               line="150">the expected byte order of the payloaded data</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_info_from_caps"
              c:identifier="gst_audio_info_from_caps"
              moved-to="AudioInfo.from_caps">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-info.c"
           line="182">Parse @caps and update @info.</doc>
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="125"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-info.c"
             line="189">TRUE if @caps could be parsed</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="info"
                   direction="out"
                   caller-allocates="1"
                   transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-info.c"
               line="184">a #GstAudioInfo</doc>
          <type name="AudioInfo" c:type="GstAudioInfo*"/>
        </parameter>
        <parameter name="caps" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-info.c"
               line="185">a #GstCaps</doc>
          <type name="Gst.Caps" c:type="const GstCaps*"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_info_init"
              c:identifier="gst_audio_info_init"
              moved-to="AudioInfo.init">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-info.c"
           line="102">Initialize @info with default values.</doc>
      <source-position filename="gst-libs/gst/audio/audio-info.h" line="111"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="info"
                   direction="out"
                   caller-allocates="1"
                   transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-info.c"
               line="104">a #GstAudioInfo</doc>
          <type name="AudioInfo" c:type="GstAudioInfo*"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_level_meta_api_get_type"
              c:identifier="gst_audio_level_meta_api_get_type"
              version="1.20">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiometa.c"
           line="607">Return the #GType associated with #GstAudioLevelMeta.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h"
                       line="241"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.c"
             line="612">a #GType</doc>
        <type name="GType" c:type="GType"/>
      </return-value>
    </function>
    <function name="audio_level_meta_get_info"
              c:identifier="gst_audio_level_meta_get_info"
              moved-to="AudioLevelMeta.get_info"
              version="1.20">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiometa.c"
           line="660">Return the #GstMetaInfo associated with #GstAudioLevelMeta.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h"
                       line="244"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.c"
             line="665">a #GstMetaInfo</doc>
        <type name="Gst.MetaInfo" c:type="const GstMetaInfo*"/>
      </return-value>
    </function>
    <function name="audio_make_raw_caps"
              c:identifier="gst_audio_make_raw_caps"
              version="1.18">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-format.c"
           line="642">Return a generic raw audio caps for formats defined in @formats.
If @formats is %NULL returns a caps for all the supported raw audio formats,
see gst_audio_formats_raw().</doc>
      <source-position filename="gst-libs/gst/audio/audio-format.h"
                       line="487"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-format.c"
             line="652">an audio @GstCaps</doc>
        <type name="Gst.Caps" c:type="GstCaps*"/>
      </return-value>
      <parameters>
        <parameter name="formats"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.c"
               line="644">an array of raw #GstAudioFormat, or %NULL</doc>
          <array length="1" zero-terminated="0" c:type="const GstAudioFormat*">
            <type name="AudioFormat" c:type="GstAudioFormat"/>
          </array>
        </parameter>
        <parameter name="len" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.c"
               line="645">the size of @formats</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="layout" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-format.c"
               line="646">the layout of audio samples</doc>
          <type name="AudioLayout" c:type="GstAudioLayout"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_meta_api_get_type"
              c:identifier="gst_audio_meta_api_get_type">
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h"
                       line="191"/>
      <return-value transfer-ownership="none">
        <type name="GType" c:type="GType"/>
      </return-value>
    </function>
    <function name="audio_meta_get_info"
              c:identifier="gst_audio_meta_get_info"
              moved-to="AudioMeta.get_info">
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h"
                       line="194"/>
      <return-value transfer-ownership="none">
        <type name="Gst.MetaInfo" c:type="const GstMetaInfo*"/>
      </return-value>
    </function>
    <function name="audio_quantize_new"
              c:identifier="gst_audio_quantize_new"
              moved-to="AudioQuantize.new"
              introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-quantize.c"
           line="420">Create a new quantizer object with the given parameters.

Output samples will be quantized to a multiple of @quantizer. Better
performance is achieved when @quantizer is a power of 2.

Dithering and noise-shaping can be performed during quantization with
the @dither and @ns parameters.</doc>
      <source-position filename="gst-libs/gst/audio/audio-quantize.h"
                       line="85"/>
      <return-value>
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-quantize.c"
             line="437">a new #GstAudioQuantize. Free with gst_audio_quantize_free().</doc>
        <type name="AudioQuantize" c:type="GstAudioQuantize*"/>
      </return-value>
      <parameters>
        <parameter name="dither" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-quantize.c"
               line="422">a #GstAudioDitherMethod</doc>
          <type name="AudioDitherMethod" c:type="GstAudioDitherMethod"/>
        </parameter>
        <parameter name="ns" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-quantize.c"
               line="423">a #GstAudioNoiseShapingMethod</doc>
          <type name="AudioNoiseShapingMethod"
                c:type="GstAudioNoiseShapingMethod"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-quantize.c"
               line="424">#GstAudioQuantizeFlags</doc>
          <type name="AudioQuantizeFlags" c:type="GstAudioQuantizeFlags"/>
        </parameter>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-quantize.c"
               line="425">the #GstAudioFormat of the samples</doc>
          <type name="AudioFormat" c:type="GstAudioFormat"/>
        </parameter>
        <parameter name="channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-quantize.c"
               line="426">the amount of channels in the samples</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="quantizer" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-quantize.c"
               line="427">the quantizer to use</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_reorder_channels"
              c:identifier="gst_audio_reorder_channels">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-channels.c"
           line="231">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</doc>
      <source-position filename="gst-libs/gst/audio/audio-channels.h"
                       line="164"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-channels.c"
             line="253">%TRUE if the reordering was possible.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="data" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="233">The pointer to
  the memory.</doc>
          <array length="1" zero-terminated="0" c:type="gpointer">
            <type name="guint8"/>
          </array>
        </parameter>
        <parameter name="size" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="235">The size of the memory.</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="236">The %GstAudioFormat of the buffer.</doc>
          <type name="AudioFormat" c:type="GstAudioFormat"/>
        </parameter>
        <parameter name="channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="237">The number of channels.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="from" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="238">The channel positions in the buffer.</doc>
          <array length="3"
                 zero-terminated="0"
                 c:type="const GstAudioChannelPosition*">
            <type name="AudioChannelPosition"
                  c:type="GstAudioChannelPosition"/>
          </array>
        </parameter>
        <parameter name="to" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="239">The channel positions to convert to.</doc>
          <array length="3"
                 zero-terminated="0"
                 c:type="const GstAudioChannelPosition*">
            <type name="AudioChannelPosition"
                  c:type="GstAudioChannelPosition"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="audio_reorder_channels_with_reorder_map"
              c:identifier="gst_audio_reorder_channels_with_reorder_map"
              version="1.26">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-channels.c"
           line="185">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</doc>
      <source-position filename="gst-libs/gst/audio/audio-channels.h"
                       line="171"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="data" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="187">The pointer to
  the memory.</doc>
          <array length="1" zero-terminated="0" c:type="gpointer">
            <type name="guint8"/>
          </array>
        </parameter>
        <parameter name="size" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="189">The size of the memory.</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
        <parameter name="bps" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="190">The number of bytes per sample.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="191">The number of channels.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="reorder_map" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-channels.c"
               line="192">The channel reorder map.</doc>
          <array length="3" zero-terminated="0" c:type="const gint*">
            <type name="gint" c:type="gint"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="audio_resampler_new"
              c:identifier="gst_audio_resampler_new"
              moved-to="AudioResampler.new">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-resampler.c"
           line="1300">Make a new resampler.</doc>
      <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                       line="224"/>
      <return-value transfer-ownership="full" skip="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/audio-resampler.c"
             line="1312">The new #GstAudioResampler.</doc>
        <type name="AudioResampler" c:type="GstAudioResampler*"/>
      </return-value>
      <parameters>
        <parameter name="method" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-resampler.c"
               line="1302">a #GstAudioResamplerMethod</doc>
          <type name="AudioResamplerMethod" c:type="GstAudioResamplerMethod"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-resampler.c"
               line="1303">#GstAudioResamplerFlags</doc>
          <type name="AudioResamplerFlags" c:type="GstAudioResamplerFlags"/>
        </parameter>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-resampler.c"
               line="1304">the #GstAudioFormat</doc>
          <type name="AudioFormat" c:type="GstAudioFormat"/>
        </parameter>
        <parameter name="channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-resampler.c"
               line="1305">the number of channels</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="in_rate" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-resampler.c"
               line="1306">input rate</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="out_rate" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-resampler.c"
               line="1307">output rate</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="options" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-resampler.c"
               line="1308">extra options</doc>
          <type name="Gst.Structure" c:type="GstStructure*"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_resampler_options_set_quality"
              c:identifier="gst_audio_resampler_options_set_quality"
              moved-to="AudioResampler.options_set_quality">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-resampler.c"
           line="1236">Set the parameters for resampling from @in_rate to @out_rate using @method
for @quality in @options.</doc>
      <source-position filename="gst-libs/gst/audio/audio-resampler.h"
                       line="218"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="method" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-resampler.c"
               line="1238">a #GstAudioResamplerMethod</doc>
          <type name="AudioResamplerMethod" c:type="GstAudioResamplerMethod"/>
        </parameter>
        <parameter name="quality" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-resampler.c"
               line="1239">the quality</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="in_rate" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-resampler.c"
               line="1240">the input rate</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="out_rate" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-resampler.c"
               line="1241">the output rate</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="options" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/audio-resampler.c"
               line="1242">a #GstStructure</doc>
          <type name="Gst.Structure" c:type="GstStructure*"/>
        </parameter>
      </parameters>
    </function>
    <function name="buffer_add_audio_clipping_meta"
              c:identifier="gst_buffer_add_audio_clipping_meta"
              version="1.8">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiometa.c"
           line="249">Attaches #GstAudioClippingMeta metadata to @buffer with the given parameters.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h"
                       line="123"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.c"
             line="258">the #GstAudioClippingMeta on @buffer.</doc>
        <type name="AudioClippingMeta" c:type="GstAudioClippingMeta*"/>
      </return-value>
      <parameters>
        <parameter name="buffer" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="251">a #GstBuffer</doc>
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </parameter>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="252">GstFormat of @start and @stop, GST_FORMAT_DEFAULT is samples</doc>
          <type name="Gst.Format" c:type="GstFormat"/>
        </parameter>
        <parameter name="start" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="253">Amount of audio to clip from start of buffer</doc>
          <type name="guint64" c:type="guint64"/>
        </parameter>
        <parameter name="end" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="254">Amount of  to clip from end of buffer</doc>
          <type name="guint64" c:type="guint64"/>
        </parameter>
      </parameters>
    </function>
    <function name="buffer_add_audio_downmix_meta"
              c:identifier="gst_buffer_add_audio_downmix_meta"
              introspectable="0">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiometa.c"
           line="117">Attaches #GstAudioDownmixMeta metadata to @buffer with the given parameters.

@matrix is an two-dimensional array of @to_channels times @from_channels
coefficients, i.e. the i-th output channels is constructed by multiplicating
the input channels with the coefficients in @matrix[i] and taking the sum
of the results.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h" line="72"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.c"
             line="135">the #GstAudioDownmixMeta on @buffer.</doc>
        <type name="AudioDownmixMeta" c:type="GstAudioDownmixMeta*"/>
      </return-value>
      <parameters>
        <parameter name="buffer" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="119">a #GstBuffer</doc>
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </parameter>
        <parameter name="from_position" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="120">the channel positions
  of the source</doc>
          <array length="2"
                 zero-terminated="0"
                 c:type="const GstAudioChannelPosition*">
            <type name="AudioChannelPosition"
                  c:type="GstAudioChannelPosition"/>
          </array>
        </parameter>
        <parameter name="from_channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="122">The number of channels of the source</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="to_position" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="123">the channel positions of
  the destination</doc>
          <array length="4"
                 zero-terminated="0"
                 c:type="const GstAudioChannelPosition*">
            <type name="AudioChannelPosition"
                  c:type="GstAudioChannelPosition"/>
          </array>
        </parameter>
        <parameter name="to_channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="125">The number of channels of the destination</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="matrix" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="126">The matrix coefficients.</doc>
          <array zero-terminated="0" c:type="const gfloat**">
            <type name="gpointer"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="buffer_add_audio_level_meta"
              c:identifier="gst_buffer_add_audio_level_meta"
              version="1.20">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiometa.c"
           line="686">Attaches audio level information to @buffer. (RFC 6464)</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h"
                       line="247"/>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.c"
             line="694">the #GstAudioLevelMeta on @buffer.</doc>
        <type name="AudioLevelMeta" c:type="GstAudioLevelMeta*"/>
      </return-value>
      <parameters>
        <parameter name="buffer" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="688">a #GstBuffer</doc>
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </parameter>
        <parameter name="level" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="689">the -dBov from 0-127 (127 is silence).</doc>
          <type name="guint8" c:type="guint8"/>
        </parameter>
        <parameter name="voice_activity" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="690">whether the buffer contains voice activity.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
    <function name="buffer_add_audio_meta"
              c:identifier="gst_buffer_add_audio_meta"
              version="1.16">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiometa.c"
           line="460">Allocates and attaches a #GstAudioMeta on @buffer, which must be writable
for that purpose. The fields of the #GstAudioMeta are directly populated
from the arguments of this function.

When @info-&gt;layout is %GST_AUDIO_LAYOUT_NON_INTERLEAVED and @offsets is
%NULL, the offsets are calculated with a formula that assumes the planes are
tightly packed and in sequence:
offsets[channel] = channel * @samples * sample_stride

It is not allowed for channels to overlap in memory,
i.e. for each i in [0, channels), the range
[@offsets[i], @offsets[i] + @samples * sample_stride) must not overlap
with any other such range. This function will assert if the parameters
specified cause this restriction to be violated.

It is, obviously, also not allowed to specify parameters that would cause
out-of-bounds memory access on @buffer. This is also checked, which means
that you must add enough memory on the @buffer before adding this meta.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h"
                       line="200"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.c"
             line="488">the #GstAudioMeta that was attached on the @buffer</doc>
        <type name="AudioMeta" c:type="GstAudioMeta*"/>
      </return-value>
      <parameters>
        <parameter name="buffer" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="462">a #GstBuffer</doc>
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </parameter>
        <parameter name="info" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="463">the audio properties of the buffer</doc>
          <type name="AudioInfo" c:type="const GstAudioInfo*"/>
        </parameter>
        <parameter name="samples" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="464">the number of valid samples in the buffer</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
        <parameter name="offsets"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="465">the offsets (in bytes) where each channel plane starts
  in the buffer or %NULL to calculate it (see below); must be %NULL also
  when @info-&gt;layout is %GST_AUDIO_LAYOUT_INTERLEAVED</doc>
          <array zero-terminated="0" c:type="gsize*">
            <type name="gsize" c:type="gsize"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="buffer_add_dsd_plane_offset_meta"
              c:identifier="gst_buffer_add_dsd_plane_offset_meta"
              version="1.24">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstdsd.c"
           line="178">Allocates and attaches a #GstDsdPlaneOffsetMeta on @buffer, which must be
writable for that purpose. The fields of the #GstDsdPlaneOffsetMeta are
directly populated from the arguments of this function.

If @offsets is NULL, then the meta's offsets field is left uninitialized.
This is useful if for example offset values are to be calculated in the
meta's offsets field in-place. Similarly, @num_bytes_per_channel can be
set to 0, but only if @offsets is NULL. This is useful if the number of
bytes per channel is known only later.

It is not allowed for channels to overlap in memory,
i.e. for each i in [0, channels), the range
[@offsets[i], @offsets[i] + @num_bytes_per_channel) must not overlap
with any other such range. This function will assert if the parameters
specified cause this restriction to be violated.

It is, obviously, also not allowed to specify parameters that would cause
out-of-bounds memory access on @buffer. This is also checked, which means
that you must add enough memory on the @buffer before adding this meta.

This meta is only needed for non-interleaved (= planar) DSD data.</doc>
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="265"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.c"
             line="208">the #GstDsdPlaneOffsetMeta that was attached
  on the @buffer</doc>
        <type name="DsdPlaneOffsetMeta" c:type="GstDsdPlaneOffsetMeta*"/>
      </return-value>
      <parameters>
        <parameter name="buffer" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="180">a #GstBuffer</doc>
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </parameter>
        <parameter name="num_channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="181">Number of channels in the DSD data</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="num_bytes_per_channel" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="182">Number of bytes per channel</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
        <parameter name="offsets"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="183">the offsets (in bytes) where each channel plane starts
  in the buffer</doc>
          <array length="1" zero-terminated="0" c:type="gsize*">
            <type name="gsize" c:type="gsize"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function-macro name="buffer_get_audio_clipping_meta"
                    c:identifier="gst_buffer_get_audio_clipping_meta"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h"
                       line="120"/>
      <parameters>
        <parameter name="b">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="buffer_get_audio_downmix_meta"
                    c:identifier="gst_buffer_get_audio_downmix_meta"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h" line="65"/>
      <parameters>
        <parameter name="b">
        </parameter>
      </parameters>
    </function-macro>
    <function name="buffer_get_audio_downmix_meta_for_channels"
              c:identifier="gst_buffer_get_audio_downmix_meta_for_channels">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiometa.c"
           line="85">Find the #GstAudioDownmixMeta on @buffer for the given destination
channel positions.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h" line="67"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.c"
             line="95">the #GstAudioDownmixMeta on @buffer.</doc>
        <type name="AudioDownmixMeta" c:type="GstAudioDownmixMeta*"/>
      </return-value>
      <parameters>
        <parameter name="buffer" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="87">a #GstBuffer</doc>
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </parameter>
        <parameter name="to_position" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="88">the channel positions of
  the destination</doc>
          <array length="2"
                 zero-terminated="0"
                 c:type="const GstAudioChannelPosition*">
            <type name="AudioChannelPosition"
                  c:type="GstAudioChannelPosition"/>
          </array>
        </parameter>
        <parameter name="to_channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="90">The number of channels of the destination</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="buffer_get_audio_level_meta"
              c:identifier="gst_buffer_get_audio_level_meta"
              version="1.20">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudiometa.c"
           line="717">Find the #GstAudioLevelMeta on @buffer.</doc>
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h"
                       line="251"/>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstaudiometa.c"
             line="723">the #GstAudioLevelMeta or %NULL when
there is no such metadata on @buffer.</doc>
        <type name="AudioLevelMeta" c:type="GstAudioLevelMeta*"/>
      </return-value>
      <parameters>
        <parameter name="buffer" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstaudiometa.c"
               line="719">a #GstBuffer</doc>
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </parameter>
      </parameters>
    </function>
    <function-macro name="buffer_get_audio_meta"
                    c:identifier="gst_buffer_get_audio_meta"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstaudiometa.h"
                       line="196"/>
      <parameters>
        <parameter name="b">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="buffer_get_dsd_plane_offset_meta"
                    c:identifier="gst_buffer_get_dsd_plane_offset_meta"
                    introspectable="0">
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="261"/>
      <parameters>
        <parameter name="b">
        </parameter>
      </parameters>
    </function-macro>
    <function name="dsd_convert" c:identifier="gst_dsd_convert" version="1.24">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstdsd.c"
           line="964">Converts DSD data from one layout and grouping format to another.
@num_bytes must be an integer multiple of the width of both input
and output format. For example, if the input format is GST_DSD_FORMAT_U32LE,
and the output format is GST_DSD_FORMAT_U16BE, then @num_bytes must
be an integer multiple of both 4 (U32LE width) and 2 (U16BE width).

@reverse_byte_bits is necessary if the bit order within the DSD bytes
needs to be reversed. This is rarely necessary, and is not to be
confused with the endianness of formats (which determines the ordering
of *bytes*).

@input_plane_offsets must not be NULL if @input_layout is set to
#GST_AUDIO_LAYOUT_NON_INTERLEAVED. The same applies to @output_plane_offsets.
These plane offsets define the starting offset of the planes (there is
exactly one plane per channel) within @input_data and @output_data
respectively. If GST_AUDIO_LAYOUT_INTERLEAVED is used, the plane offsets
are ignored.</doc>
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="304"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="input_data" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="966">the DSD format conversion's input source</doc>
          <array zero-terminated="0" c:type="const guint8*">
            <type name="guint8" c:type="guint8"/>
          </array>
        </parameter>
        <parameter name="output_data" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="967">the DSD format conversion's output destination</doc>
          <array zero-terminated="0" c:type="guint8*">
            <type name="guint8" c:type="guint8"/>
          </array>
        </parameter>
        <parameter name="input_format" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="968">DSD format of the input data to convert from</doc>
          <type name="DsdFormat" c:type="GstDsdFormat"/>
        </parameter>
        <parameter name="output_format" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="969">DSD format of the output data to convert to</doc>
          <type name="DsdFormat" c:type="GstDsdFormat"/>
        </parameter>
        <parameter name="input_layout" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="970">Input data layout</doc>
          <type name="AudioLayout" c:type="GstAudioLayout"/>
        </parameter>
        <parameter name="output_layout" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="971">Output data layout</doc>
          <type name="AudioLayout" c:type="GstAudioLayout"/>
        </parameter>
        <parameter name="input_plane_offsets"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="972">Plane offsets for non-interleaved input data</doc>
          <array length="9" zero-terminated="0" c:type="const gsize*">
            <type name="gsize" c:type="gsize"/>
          </array>
        </parameter>
        <parameter name="output_plane_offsets"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="973">Plane offsets for non-interleaved output data</doc>
          <array length="9" zero-terminated="0" c:type="const gsize*">
            <type name="gsize" c:type="gsize"/>
          </array>
        </parameter>
        <parameter name="num_dsd_bytes" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="974">How many bytes with DSD data to convert</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
        <parameter name="num_channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="975">Number of channels (must be at least 1)</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="reverse_byte_bits" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="976">If TRUE, reverse the bits in each DSD byte</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
    <function name="dsd_format_from_string"
              c:identifier="gst_dsd_format_from_string"
              moved-to="DsdFormat.from_string"
              version="1.24">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstdsdformat.c"
           line="26">Convert the DSD format string @str to its #GstDsdFormat.</doc>
      <source-position filename="gst-libs/gst/audio/gstdsdformat.h" line="77"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsdformat.c"
             line="32">the #GstDsdFormat for @format or GST_DSD_FORMAT_UNKNOWN when the
string is not a known format.</doc>
        <type name="DsdFormat" c:type="GstDsdFormat"/>
      </return-value>
      <parameters>
        <parameter name="str" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsdformat.c"
               line="28">a DSD format string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="dsd_format_get_width"
              c:identifier="gst_dsd_format_get_width"
              moved-to="DsdFormat.get_width"
              version="1.24">
      <source-position filename="gst-libs/gst/audio/gstdsdformat.h" line="83"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsdformat.c"
             line="88">Number of bytes in this DSD grouping format.</doc>
        <type name="guint" c:type="guint"/>
      </return-value>
      <parameters>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsdformat.c"
               line="86">a #GstDsdFormat</doc>
          <type name="DsdFormat" c:type="GstDsdFormat"/>
        </parameter>
      </parameters>
    </function>
    <function name="dsd_format_to_string"
              c:identifier="gst_dsd_format_to_string"
              moved-to="DsdFormat.to_string"
              version="1.24">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstdsdformat.c"
           line="54">Returns a string containing a descriptive name for
the #GstDsdFormat if there is one, or NULL otherwise.</doc>
      <source-position filename="gst-libs/gst/audio/gstdsdformat.h" line="80"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsdformat.c"
             line="61">the name corresponding to @format</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsdformat.c"
               line="56">a #GstDsdFormat</doc>
          <type name="DsdFormat" c:type="GstDsdFormat"/>
        </parameter>
      </parameters>
    </function>
    <function name="dsd_info_from_caps"
              c:identifier="gst_dsd_info_from_caps"
              moved-to="DsdInfo.from_caps"
              version="1.24">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstdsd.c"
           line="435">Parse @caps and update @info.</doc>
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="293"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/gstdsd.c"
             line="442">TRUE if @caps could be parsed</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="info"
                   direction="out"
                   caller-allocates="1"
                   transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="437">a #GstDsdInfo</doc>
          <type name="DsdInfo" c:type="GstDsdInfo*"/>
        </parameter>
        <parameter name="caps" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="438">a #GstCaps</doc>
          <type name="Gst.Caps" c:type="const GstCaps*"/>
        </parameter>
      </parameters>
    </function>
    <function name="dsd_info_init"
              c:identifier="gst_dsd_info_init"
              moved-to="DsdInfo.init"
              version="1.24">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstdsd.c"
           line="325">Initialize @info with default values.</doc>
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="277"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="info"
                   direction="out"
                   caller-allocates="1"
                   transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/gstdsd.c"
               line="327">a #GstDsdInfo</doc>
          <type name="DsdInfo" c:type="GstDsdInfo*"/>
        </parameter>
      </parameters>
    </function>
    <function name="dsd_plane_offset_meta_api_get_type"
              c:identifier="gst_dsd_plane_offset_meta_api_get_type">
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="256"/>
      <return-value transfer-ownership="none">
        <type name="GType" c:type="GType"/>
      </return-value>
    </function>
    <function name="dsd_plane_offset_meta_get_info"
              c:identifier="gst_dsd_plane_offset_meta_get_info"
              moved-to="DsdPlaneOffsetMeta.get_info">
      <source-position filename="gst-libs/gst/audio/gstdsd.h" line="259"/>
      <return-value transfer-ownership="none">
        <type name="Gst.MetaInfo" c:type="const GstMetaInfo*"/>
      </return-value>
    </function>
    <docsection name="gstaudio">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio.c"
           line="19">This library contains some helper functions for audio elements.</doc>
    </docsection>
    <docsection name="gstaudiochannels">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/audio-channels.c"
           line="19">This library contains some helper functions for multichannel audio.</doc>
    </docsection>
    <docsection name="gstaudioiec61937">
      <doc xml:space="preserve"
           filename="gst-libs/gst/audio/gstaudioiec61937.c"
           line="22">This module contains some helper functions for encapsulating various
audio formats in IEC 61937 headers and padding.</doc>
    </docsection>
    <function name="stream_volume_convert_volume"
              c:identifier="gst_stream_volume_convert_volume"
              moved-to="StreamVolume.convert_volume">
      <source-position filename="gst-libs/gst/audio/streamvolume.h" line="74"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gst-libs/gst/audio/streamvolume.c"
             line="170">the converted volume</doc>
        <type name="gdouble" c:type="gdouble"/>
      </return-value>
      <parameters>
        <parameter name="from" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/streamvolume.c"
               line="166">#GstStreamVolumeFormat to convert from</doc>
          <type name="StreamVolumeFormat" c:type="GstStreamVolumeFormat"/>
        </parameter>
        <parameter name="to" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/streamvolume.c"
               line="167">#GstStreamVolumeFormat to convert to</doc>
          <type name="StreamVolumeFormat" c:type="GstStreamVolumeFormat"/>
        </parameter>
        <parameter name="val" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/audio/streamvolume.c"
               line="168">Volume in @from format that should be converted</doc>
          <type name="gdouble" c:type="gdouble"/>
        </parameter>
      </parameters>
    </function>
  </namespace>
</repository>
