<?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:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="Gst" version="0.10"/>
  <include name="GstBase" version="0.10"/>
  <include name="GstInterfaces" version="0.10"/>
  <package name="gstreamer-audio-0.10"/>
  <c:include name="gst/audio/audio-enumtypes.h"/>
  <c:include name="gst/audio/audio.h"/>
  <c:include name="gst/audio/gstaudioclock.h"/>
  <c:include name="gst/audio/gstaudiodecoder.h"/>
  <c:include name="gst/audio/gstaudioencoder.h"/>
  <c:include name="gst/audio/gstaudiofilter.h"/>
  <c:include name="gst/audio/gstaudioiec61937.h"/>
  <c:include name="gst/audio/gstaudiosink.h"/>
  <c:include name="gst/audio/gstaudiosrc.h"/>
  <c:include name="gst/audio/gstbaseaudiosink.h"/>
  <c:include name="gst/audio/gstbaseaudiosrc.h"/>
  <c:include name="gst/audio/gstringbuffer.h"/>
  <c:include name="gst/audio/mixerutils.h"/>
  <c:include name="gst/audio/multichannel.h"/>
  <namespace name="GstAudio"
             version="0.10"
             shared-library="libgstaudio-0.10.so.2.6"
             c:identifier-prefixes="Gst"
             c:symbol-prefixes="gst">
    <function-macro name="AUDIO_CLOCK"
                    c:identifier="GST_AUDIO_CLOCK"
                    introspectable="0">
      <source-position filename="gstaudioclock.h" line="32"/>
      <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="gstaudioclock.h" line="40"/>
      <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="gstaudioclock.h" line="34"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_DECODER"
                    c:identifier="GST_AUDIO_DECODER"
                    introspectable="0">
      <source-position filename="gstaudiodecoder.h" line="33"/>
      <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="gstaudiodecoder.h" line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_DECODER_ERROR"
                    c:identifier="GST_AUDIO_DECODER_ERROR"
                    version="0.10.36"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gstaudiodecoder.h"
           line="97">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="gstaudiodecoder.h" line="119"/>
      <parameters>
        <parameter name="el">
          <doc xml:space="preserve"
               filename="gstaudiodecoder.h"
               line="99">the base audio decoder element that generates the error</doc>
        </parameter>
        <parameter name="weight">
          <doc xml:space="preserve"
               filename="gstaudiodecoder.h"
               line="100">element defined weight of the error, added to error count</doc>
        </parameter>
        <parameter name="domain">
          <doc xml:space="preserve"
               filename="gstaudiodecoder.h"
               line="101">like CORE, LIBRARY, RESOURCE or STREAM (see #gstreamer-GstGError)</doc>
        </parameter>
        <parameter name="code">
          <doc xml:space="preserve"
               filename="gstaudiodecoder.h"
               line="102">error code defined for that domain (see #gstreamer-GstGError)</doc>
        </parameter>
        <parameter name="text">
          <doc xml:space="preserve"
               filename="gstaudiodecoder.h"
               line="103">the message to display (format string and args enclosed in
         parentheses)</doc>
        </parameter>
        <parameter name="debug">
          <doc xml:space="preserve"
               filename="gstaudiodecoder.h"
               line="105">debugging information for the message (format string and args
         enclosed in parentheses)</doc>
        </parameter>
        <parameter name="ret">
          <doc xml:space="preserve"
               filename="gstaudiodecoder.h"
               line="107">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="gstaudiodecoder.h" line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <constant name="AUDIO_DECODER_MAX_ERRORS"
              value="10"
              c:type="GST_AUDIO_DECODER_MAX_ERRORS"
              version="0.10.36">
      <doc xml:space="preserve"
           filename="gstaudiodecoder.h"
           line="131">Default maximum number of errors tolerated before signaling error.</doc>
      <source-position filename="gstaudiodecoder.h" line="137"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="AUDIO_DECODER_SINK_NAME"
              value="sink"
              c:type="GST_AUDIO_DECODER_SINK_NAME"
              version="0.10.36">
      <doc xml:space="preserve"
           filename="gstaudiodecoder.h"
           line="45">The name of the templates for the sink pad.</doc>
      <source-position filename="gstaudiodecoder.h" line="51"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <function-macro name="AUDIO_DECODER_SINK_PAD"
                    c:identifier="GST_AUDIO_DECODER_SINK_PAD"
                    version="0.10.36"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gstaudiodecoder.h"
           line="72">Gives the pointer to the sink #GstPad object of the element.</doc>
      <source-position filename="gstaudiodecoder.h" line="79"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="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"
              version="0.10.36">
      <doc xml:space="preserve"
           filename="gstaudiodecoder.h"
           line="53">The name of the templates for the source pad.</doc>
      <source-position filename="gstaudiodecoder.h" line="59"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <function-macro name="AUDIO_DECODER_SRC_PAD"
                    c:identifier="GST_AUDIO_DECODER_SRC_PAD"
                    version="0.10.36"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gstaudiodecoder.h"
           line="62">Gives the pointer to the source #GstPad object of the element.</doc>
      <source-position filename="gstaudiodecoder.h" line="69"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="gstaudiodecoder.h"
               line="64">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="gstaudiodecoder.h" line="81"/>
      <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="gstaudiodecoder.h" line="82"/>
      <parameters>
        <parameter name="dec">
        </parameter>
      </parameters>
    </function-macro>
    <constant name="AUDIO_DEF_RATE" value="44100" c:type="GST_AUDIO_DEF_RATE">
      <doc xml:space="preserve"
           filename="audio.h"
           line="335">Standard sampling rate used in consumer audio.</doc>
      <source-position filename="audio.h" line="340"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <function-macro name="AUDIO_ENCODER"
                    c:identifier="GST_AUDIO_ENCODER"
                    introspectable="0">
      <source-position filename="gstaudioencoder.h" line="31"/>
      <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="gstaudioencoder.h" line="36"/>
      <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="gstaudioencoder.h" line="32"/>
      <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="gstaudioencoder.h" line="33"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_ENCODER_SEGMENT"
                    c:identifier="GST_AUDIO_ENCODER_SEGMENT"
                    version="0.10.36"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gstaudioencoder.h"
           line="75">Gives the segment of the element.</doc>
      <source-position filename="gstaudioencoder.h" line="83"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="gstaudioencoder.h"
               line="77">base parse instance</doc>
        </parameter>
      </parameters>
    </function-macro>
    <constant name="AUDIO_ENCODER_SINK_NAME"
              value="sink"
              c:type="GST_AUDIO_ENCODER_SINK_NAME"
              version="0.10.36">
      <doc xml:space="preserve"
           filename="gstaudioencoder.h"
           line="38">the name of the templates for the sink pad</doc>
      <source-position filename="gstaudioencoder.h" line="45"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <function-macro name="AUDIO_ENCODER_SINK_PAD"
                    c:identifier="GST_AUDIO_ENCODER_SINK_PAD"
                    version="0.10.36"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gstaudioencoder.h"
           line="65">Gives the pointer to the sink #GstPad object of the element.</doc>
      <source-position filename="gstaudioencoder.h" line="73"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="gstaudioencoder.h"
               line="67">base parse instance</doc>
        </parameter>
      </parameters>
    </function-macro>
    <constant name="AUDIO_ENCODER_SRC_NAME"
              value="src"
              c:type="GST_AUDIO_ENCODER_SRC_NAME"
              version="0.10.36">
      <doc xml:space="preserve"
           filename="gstaudioencoder.h"
           line="46">the name of the templates for the source pad</doc>
      <source-position filename="gstaudioencoder.h" line="53"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <function-macro name="AUDIO_ENCODER_SRC_PAD"
                    c:identifier="GST_AUDIO_ENCODER_SRC_PAD"
                    version="0.10.36"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gstaudioencoder.h"
           line="55">Gives the pointer to the source #GstPad object of the element.</doc>
      <source-position filename="gstaudioencoder.h" line="63"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="gstaudioencoder.h"
               line="57">base parse 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="gstaudioencoder.h" line="85"/>
      <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="gstaudioencoder.h" line="86"/>
      <parameters>
        <parameter name="enc">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FILTER"
                    c:identifier="GST_AUDIO_FILTER"
                    introspectable="0">
      <source-position filename="gstaudiofilter.h" line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FILTER_CAST"
                    c:identifier="GST_AUDIO_FILTER_CAST"
                    introspectable="0">
      <source-position filename="gstaudiofilter.h" line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_FILTER_CLASS"
                    c:identifier="GST_AUDIO_FILTER_CLASS"
                    introspectable="0">
      <source-position filename="gstaudiofilter.h" line="38"/>
      <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="gstaudiofilter.h" line="40"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <constant name="AUDIO_FLOAT_PAD_TEMPLATE_CAPS"
              value="audio/x-raw-float, rate = (int) [ 1, MAX ], channels = (int) [ 1, MAX ], endianness = (int) { LITTLE_ENDIAN , BIG_ENDIAN }, width = (int) { 32, 64 }"
              c:type="GST_AUDIO_FLOAT_PAD_TEMPLATE_CAPS">
      <doc xml:space="preserve"
           filename="audio.h"
           line="372">Template caps for float audio. Can be used when defining a
#GstStaticPadTemplate</doc>
      <source-position filename="audio.h" line="364"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="AUDIO_FLOAT_STANDARD_PAD_TEMPLATE_CAPS"
              value="audio/x-raw-float, width = (int) 32, rate = (int) [ 1, MAX ], channels = (int) 1, endianness = (int) BYTE_ORDER"
              c:type="GST_AUDIO_FLOAT_STANDARD_PAD_TEMPLATE_CAPS">
      <doc xml:space="preserve"
           filename="audio.h"
           line="385">Template caps for 32bit float mono audio in native byte-order.
Can be used when defining a #GstStaticPadTemplate</doc>
      <source-position filename="audio.h" line="372"/>
      <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="audio.h" line="207"/>
      <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="audio.h" line="203"/>
      <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="audio.h" line="197"/>
      <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="audio.h" line="195"/>
      <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="audio.h" line="205"/>
      <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="audio.h" line="200"/>
      <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="audio.h" line="199"/>
      <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="audio.h" line="204"/>
      <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="audio.h" line="201"/>
      <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="audio.h" line="196"/>
      <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="audio.h" line="206"/>
      <parameters>
        <parameter name="info">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_BPF"
                    c:identifier="GST_AUDIO_INFO_BPF"
                    introspectable="0">
      <source-position filename="audio.h" line="274"/>
      <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="audio.h" line="259"/>
      <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="audio.h" line="273"/>
      <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="audio.h" line="258"/>
      <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="audio.h" line="265"/>
      <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="audio.h" line="269"/>
      <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="audio.h" line="255"/>
      <parameters>
        <parameter name="i">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_HAS_DEFAULT_POSITIONS"
                    c:identifier="GST_AUDIO_INFO_HAS_DEFAULT_POSITIONS"
                    introspectable="0">
      <source-position filename="audio.h" line="270"/>
      <parameters>
        <parameter name="info">
        </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="audio.h" line="267"/>
      <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="audio.h" line="262"/>
      <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="audio.h" line="261"/>
      <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="audio.h" line="266"/>
      <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="audio.h" line="263"/>
      <parameters>
        <parameter name="i">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_IS_VALID"
                    c:identifier="GST_AUDIO_INFO_IS_VALID"
                    introspectable="0">
      <source-position filename="audio.h" line="253"/>
      <parameters>
        <parameter name="i">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_INFO_NAME"
                    c:identifier="GST_AUDIO_INFO_NAME"
                    introspectable="0">
      <source-position filename="audio.h" line="256"/>
      <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="audio.h" line="275"/>
      <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="audio.h" line="272"/>
      <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="audio.h" line="257"/>
      <parameters>
        <parameter name="i">
        </parameter>
      </parameters>
    </function-macro>
    <constant name="AUDIO_INT_PAD_TEMPLATE_CAPS"
              value="audio/x-raw-int, rate = (int) [ 1, MAX ], channels = (int) [ 1, MAX ], endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, width = (int) { 8, 16, 24, 32 }, depth = (int) [ 1, 32 ], signed = (boolean) { true, false }"
              c:type="GST_AUDIO_INT_PAD_TEMPLATE_CAPS">
      <doc xml:space="preserve"
           filename="audio.h"
           line="342">Template caps for integer audio. Can be used when defining a
#GstStaticPadTemplate</doc>
      <source-position filename="audio.h" line="348"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="AUDIO_INT_STANDARD_PAD_TEMPLATE_CAPS"
              value="audio/x-raw-int, rate = (int) [ 1, MAX ], channels = (int) 2, endianness = (int) BYTE_ORDER, width = (int) 16, depth = (int) 16, signed = (boolean) true"
              c:type="GST_AUDIO_INT_STANDARD_PAD_TEMPLATE_CAPS">
      <doc xml:space="preserve"
           filename="audio.h"
           line="357">Template caps for 16bit integer stereo audio in native byte-order.
Can be used when defining a #GstStaticPadTemplate</doc>
      <source-position filename="audio.h" line="356"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <function-macro name="AUDIO_SINK"
                    c:identifier="GST_AUDIO_SINK"
                    introspectable="0">
      <source-position filename="gstaudiosink.h" line="32"/>
      <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="gstaudiosink.h" line="33"/>
      <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="gstaudiosink.h" line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="AUDIO_SRC"
                    c:identifier="GST_AUDIO_SRC"
                    introspectable="0">
      <source-position filename="gstaudiosrc.h" line="32"/>
      <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="gstaudiosrc.h" line="33"/>
      <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="gstaudiosrc.h" line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <enumeration name="AudioChannelPosition"
                 glib:type-name="GstAudioChannelPosition"
                 glib:get-type="gst_audio_channel_position_get_type"
                 c:type="GstAudioChannelPosition">
      <doc xml:space="preserve"
           filename="multichannel.h"
           line="28">Audio channel positions.</doc>
      <member name="invalid"
              value="-1"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_INVALID"
              glib:nick="invalid">
        <doc xml:space="preserve"
             filename="multichannel.h"
             line="45">invalid position</doc>
      </member>
      <member name="front_mono"
              value="0"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_FRONT_MONO"
              glib:nick="front-mono">
        <doc xml:space="preserve"
             filename="multichannel.h"
             line="30">front mono</doc>
      </member>
      <member name="front_left"
              value="1"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT"
              glib:nick="front-left">
        <doc xml:space="preserve"
             filename="multichannel.h"
             line="31">front left</doc>
      </member>
      <member name="front_right"
              value="2"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT"
              glib:nick="front-right">
        <doc xml:space="preserve"
             filename="multichannel.h"
             line="32">front right</doc>
      </member>
      <member name="rear_center"
              value="3"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_REAR_CENTER"
              glib:nick="rear-center">
        <doc xml:space="preserve"
             filename="multichannel.h"
             line="33">rear center</doc>
      </member>
      <member name="rear_left"
              value="4"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_REAR_LEFT"
              glib:nick="rear-left">
        <doc xml:space="preserve"
             filename="multichannel.h"
             line="34">rear left</doc>
      </member>
      <member name="rear_right"
              value="5"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT"
              glib:nick="rear-right">
        <doc xml:space="preserve"
             filename="multichannel.h"
             line="35">rear right</doc>
      </member>
      <member name="lfe"
              value="6"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_LFE"
              glib:nick="lfe">
        <doc xml:space="preserve"
             filename="multichannel.h"
             line="36">subwoofer</doc>
      </member>
      <member name="front_center"
              value="7"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER"
              glib:nick="front-center">
        <doc xml:space="preserve"
             filename="multichannel.h"
             line="37">front center</doc>
      </member>
      <member name="front_left_of_center"
              value="8"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER"
              glib:nick="front-left-of-center">
        <doc xml:space="preserve"
             filename="multichannel.h"
             line="38">front left of center</doc>
      </member>
      <member name="front_right_of_center"
              value="9"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER"
              glib:nick="front-right-of-center">
        <doc xml:space="preserve"
             filename="multichannel.h"
             line="39">front right of center</doc>
      </member>
      <member name="side_left"
              value="10"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT"
              glib:nick="side-left">
        <doc xml:space="preserve"
             filename="multichannel.h"
             line="40">side left</doc>
      </member>
      <member name="side_right"
              value="11"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT"
              glib:nick="side-right">
        <doc xml:space="preserve"
             filename="multichannel.h"
             line="41">side right</doc>
      </member>
      <member name="none"
              value="12"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_NONE"
              glib:nick="none">
        <doc xml:space="preserve"
             filename="multichannel.h"
             line="42">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="num"
              value="13"
              c:identifier="GST_AUDIO_CHANNEL_POSITION_NUM"
              glib:nick="num">
      </member>
    </enumeration>
    <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="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 #GstBaseAudioSink.

Last reviewed on 2006-09-27 (0.10.12)</doc>
      <source-position filename="gstaudioclock.h" line="91"/>
      <constructor name="new"
                   c:identifier="gst_audio_clock_new"
                   introspectable="0">
        <doc xml:space="preserve"
             filename="gstaudioclock.c"
             line="122">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="gstaudioclock.h" line="94"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gstaudioclock.c"
               line="132">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="gstaudioclock.c"
                 line="124">the name of the clock</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="func" transfer-ownership="none" closure="2">
            <doc xml:space="preserve"
                 filename="gstaudioclock.c"
                 line="125">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="gstaudioclock.c"
                 line="126">user data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_full"
                   c:identifier="gst_audio_clock_new_full"
                   version="0.10.31">
        <doc xml:space="preserve"
             filename="gstaudioclock.c"
             line="147">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="gstaudioclock.h" line="96"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gstaudioclock.c"
               line="158">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="gstaudioclock.c"
                 line="149">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="gstaudioclock.c"
                 line="150">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="gstaudioclock.c"
                 line="151">user data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="destroy_notify"
                     transfer-ownership="none"
                     scope="async">
            <doc xml:space="preserve"
                 filename="gstaudioclock.c"
                 line="152">#GDestroyNotify for @user_data</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </constructor>
      <function name="adjust"
                c:identifier="gst_audio_clock_adjust"
                version="0.10.23">
        <doc xml:space="preserve"
             filename="gstaudioclock.c"
             line="269">Adjust @time with the internal offset of the audio clock.</doc>
        <source-position filename="gstaudioclock.h" line="101"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudioclock.c"
               line="276">@time adjusted with the internal offset.</doc>
          <type name="Gst.ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioclock.c"
                 line="271">a #GstAudioClock</doc>
            <type name="Gst.Clock" c:type="GstClock*"/>
          </parameter>
          <parameter name="time" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioclock.c"
                 line="272">a #GstClockTime</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_time"
                c:identifier="gst_audio_clock_get_time"
                version="0.10.23">
        <doc xml:space="preserve"
             filename="gstaudioclock.c"
             line="237">Report the time as returned by the #GstAudioClockGetTimeFunc without applying
any offsets.</doc>
        <source-position filename="gstaudioclock.h" line="100"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudioclock.c"
               line="244">the time as reported by the time function of the audio clock</doc>
          <type name="Gst.ClockTime" c:type="GstClockTime"/>
        </return-value>
        <parameters>
          <parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioclock.c"
                 line="239">a #GstAudioClock</doc>
            <type name="Gst.Clock" c:type="GstClock*"/>
          </parameter>
        </parameters>
      </function>
      <function name="invalidate"
                c:identifier="gst_audio_clock_invalidate"
                version="0.10.31">
        <doc xml:space="preserve"
             filename="gstaudioclock.c"
             line="293">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="gstaudioclock.h" line="103"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="clock" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioclock.c"
                 line="295">a #GstAudioClock</doc>
            <type name="Gst.Clock" c:type="GstClock*"/>
          </parameter>
        </parameters>
      </function>
      <method name="reset" c:identifier="gst_audio_clock_reset">
        <doc xml:space="preserve"
             filename="gstaudioclock.c"
             line="176">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="gstaudioclock.h" line="98"/>
        <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="gstaudioclock.c"
                 line="178">a #GstAudioClock</doc>
            <type name="AudioClock" c:type="GstAudioClock*"/>
          </instance-parameter>
          <parameter name="time" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioclock.c"
                 line="179">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="last_time">
        <type name="Gst.ClockTime" c:type="GstClockTime"/>
      </field>
      <union name="abidata" c:type="abidata">
        <source-position filename="gstaudioclock.h" line="83"/>
        <record name="ABI" c:type="ABI">
          <source-position filename="gstaudioclock.h" line="80"/>
          <field name="time_offset" writable="1">
            <type name="Gst.ClockTimeDiff" c:type="GstClockTimeDiff"/>
          </field>
          <field name="destroy_notify" writable="1">
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </field>
        </record>
        <field name="_gst_reserved" writable="1">
          <array zero-terminated="0" fixed-size="4">
            <type name="gpointer" c:type="gpointer"/>
          </array>
        </field>
      </union>
    </class>
    <record name="AudioClockClass"
            c:type="GstAudioClockClass"
            glib:is-gtype-struct-for="AudioClock">
      <source-position filename="gstaudioclock.h" line="91"/>
      <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="gstaudioclock.h"
           line="47">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="gstaudioclock.h" line="59"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gstaudioclock.h"
             line="56">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="gstaudioclock.h"
               line="49">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="gstaudioclock.h"
               line="50">user data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <class name="AudioDecoder"
           c:symbol-prefix="audio_decoder"
           c:type="GstAudioDecoder"
           version="0.10.36"
           parent="Gst.Element"
           glib:type-name="GstAudioDecoder"
           glib:get-type="gst_audio_decoder_get_type"
           glib:type-struct="AudioDecoderClass">
      <doc xml:space="preserve"
           filename="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.
&lt;orderedlist&gt;
&lt;listitem&gt;
  &lt;itemizedlist&gt;&lt;title&gt;Configuration&lt;/title&gt;
  &lt;listitem&gt;&lt;para&gt;
    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).
  &lt;/para&gt;&lt;/listitem&gt;
  &lt;listitem&gt;&lt;para&gt;
    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.
  &lt;/para&gt;&lt;/listitem&gt;
  &lt;listitem&gt;&lt;para&gt;
    GstAudioDecoder calls @stop at end of all processing.
  &lt;/para&gt;&lt;/listitem&gt;
  &lt;/itemizedlist&gt;
&lt;/listitem&gt;
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.
&lt;listitem&gt;
  &lt;itemizedlist&gt;
  &lt;title&gt;Data processing&lt;/title&gt;
    &lt;listitem&gt;&lt;para&gt;
      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.
    &lt;/para&gt;&lt;/listitem&gt;
    &lt;listitem&gt;&lt;para&gt;
      Input frame is provided to subclass' @handle_frame.
    &lt;/para&gt;&lt;/listitem&gt;
    &lt;listitem&gt;&lt;para&gt;
      If codec processing results in decoded data, subclass should call
      @gst_audio_decoder_finish_frame to have decoded data pushed
      downstream.
    &lt;/para&gt;&lt;/listitem&gt;
    &lt;listitem&gt;&lt;para&gt;
      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.
    &lt;/para&gt;&lt;/listitem&gt;
    &lt;listitem&gt;&lt;para&gt;
      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.
    &lt;/para&gt;&lt;/listitem&gt;
  &lt;/itemizedlist&gt;
&lt;/listitem&gt;
&lt;listitem&gt;
  &lt;itemizedlist&gt;&lt;title&gt;Shutdown phase&lt;/title&gt;
  &lt;listitem&gt;&lt;para&gt;
    GstAudioDecoder class calls @stop to inform the subclass that data
    parsing will be stopped.
  &lt;/para&gt;&lt;/listitem&gt;
  &lt;/itemizedlist&gt;
&lt;/listitem&gt;
&lt;/orderedlist&gt;

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.

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:
&lt;itemizedlist&gt;
  &lt;listitem&gt;&lt;para&gt;Provide pad templates&lt;/para&gt;&lt;/listitem&gt;
  &lt;listitem&gt;&lt;para&gt;
     Set source pad caps when appropriate
  &lt;/para&gt;&lt;/listitem&gt;
  &lt;listitem&gt;&lt;para&gt;
     Set user-configurable properties to sane defaults for format and
     implementing codec at hand, and convey some subclass capabilities and
     expectations in context.
  &lt;/para&gt;&lt;/listitem&gt;
  &lt;listitem&gt;&lt;para&gt;
     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.
  &lt;/para&gt;&lt;/listitem&gt;
&lt;/itemizedlist&gt;</doc>
      <source-position filename="gstaudiodecoder.h" line="240"/>
      <virtual-method name="event">
        <source-position filename="gstaudiodecoder.h" line="235"/>
        <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="flush">
        <source-position filename="gstaudiodecoder.h" line="230"/>
        <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="handle_frame">
        <source-position filename="gstaudiodecoder.h" line="227"/>
        <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="parse">
        <source-position filename="gstaudiodecoder.h" line="223"/>
        <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" transfer-ownership="none">
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="length" transfer-ownership="none">
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="pre_push">
        <source-position filename="gstaudiodecoder.h" line="232"/>
        <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="set_format">
        <source-position filename="gstaudiodecoder.h" line="220"/>
        <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="start">
        <source-position filename="gstaudiodecoder.h" line="216"/>
        <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">
        <source-position filename="gstaudiodecoder.h" line="218"/>
        <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>
      <method name="finish_frame"
              c:identifier="gst_audio_decoder_finish_frame"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudiodecoder.c"
             line="729">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 gst_audio_decoder_handle_frame() may be
invalidated by a call to this function.</doc>
        <source-position filename="gstaudiodecoder.h" line="244"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudiodecoder.c"
               line="746">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="gstaudiodecoder.c"
                 line="731">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="buf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudiodecoder.c"
                 line="732">decoded data</doc>
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </parameter>
          <parameter name="frames" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudiodecoder.c"
                 line="733">number of decoded frames represented by decoded data</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_audio_info"
              c:identifier="gst_audio_decoder_get_audio_info"
              version="0.10.36"
              introspectable="0">
        <source-position filename="gstaudiodecoder.h" line="248"/>
        <return-value>
          <doc xml:space="preserve"
               filename="gstaudiodecoder.c"
               line="2144">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="gstaudiodecoder.c"
                 line="2142">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_byte_time"
              c:identifier="gst_audio_decoder_get_byte_time"
              version="0.10.36">
        <source-position filename="gstaudiodecoder.h" line="258"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudiodecoder.c"
               line="2210">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="gstaudiodecoder.c"
                 line="2208">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_delay"
              c:identifier="gst_audio_decoder_get_delay"
              version="0.10.36">
        <source-position filename="gstaudiodecoder.h" line="260"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudiodecoder.c"
               line="2226">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="gstaudiodecoder.c"
                 line="2224">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_drainable"
              c:identifier="gst_audio_decoder_get_drainable"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudiodecoder.c"
             line="2510">Queries decoder drain handling.</doc>
        <source-position filename="gstaudiodecoder.h" line="299"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudiodecoder.c"
               line="2516">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="gstaudiodecoder.c"
                 line="2512">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_latency"
              c:identifier="gst_audio_decoder_get_latency"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudiodecoder.c"
             line="2295">Sets the variables pointed to by @min and @max to the currently configured
latency.</doc>
        <source-position filename="gstaudiodecoder.h" line="271"/>
        <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="gstaudiodecoder.c"
                 line="2297">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="gstaudiodecoder.c"
                 line="2298">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="gstaudiodecoder.c"
                 line="2299">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"
              version="0.10.36">
        <source-position filename="gstaudiodecoder.h" line="265"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudiodecoder.c"
               line="2261">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="gstaudiodecoder.c"
                 line="2259">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"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudiodecoder.c"
             line="2413">Queries decoder's latency aggregation.</doc>
        <source-position filename="gstaudiodecoder.h" line="289"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudiodecoder.c"
               line="2419">aggregation latency.

MT safe.</doc>
          <type name="gint64" c:type="gint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudiodecoder.c"
                 line="2415">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"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudiodecoder.c"
             line="2562">Queries decoder required format handling.</doc>
        <source-position filename="gstaudiodecoder.h" line="304"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudiodecoder.c"
               line="2568">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="gstaudiodecoder.c"
                 line="2564">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"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudiodecoder.c"
             line="2320">Return current parsing (sync and eos) state.</doc>
        <source-position filename="gstaudiodecoder.h" line="275"/>
        <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="gstaudiodecoder.c"
                 line="2322">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="sync" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudiodecoder.c"
                 line="2323">a pointer to a variable to hold the current sync state</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
          <parameter name="eos" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudiodecoder.c"
                 line="2324">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"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudiodecoder.c"
             line="2366">Queries decoder packet loss concealment handling.</doc>
        <source-position filename="gstaudiodecoder.h" line="284"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudiodecoder.c"
               line="2372">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="gstaudiodecoder.c"
                 line="2368">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"
              version="0.10.36">
        <source-position filename="gstaudiodecoder.h" line="253"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudiodecoder.c"
               line="2177">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="gstaudiodecoder.c"
                 line="2175">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_tolerance"
              c:identifier="gst_audio_decoder_get_tolerance"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudiodecoder.c"
             line="2460">Queries current audio jitter tolerance threshold.</doc>
        <source-position filename="gstaudiodecoder.h" line="294"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudiodecoder.c"
               line="2466">decoder audio jitter tolerance threshold.

MT safe.</doc>
          <type name="gint64" c:type="gint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="dec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudiodecoder.c"
                 line="2462">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_byte_time"
              c:identifier="gst_audio_decoder_set_byte_time"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudiodecoder.c"
             line="2189">Allows baseclass to perform byte to time estimated conversion.</doc>
        <source-position filename="gstaudiodecoder.h" line="255"/>
        <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="gstaudiodecoder.c"
                 line="2191">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="enabled" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudiodecoder.c"
                 line="2192">whether to enable byte to time conversion</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_drainable"
              c:identifier="gst_audio_decoder_set_drainable"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudiodecoder.c"
             line="2486">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="gstaudiodecoder.h" line="296"/>
        <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="gstaudiodecoder.c"
                 line="2488">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="enabled" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudiodecoder.c"
                 line="2489">new state</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_latency"
              c:identifier="gst_audio_decoder_set_latency"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudiodecoder.c"
             line="2273">Sets decoder latency.</doc>
        <source-position filename="gstaudiodecoder.h" line="267"/>
        <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="gstaudiodecoder.c"
                 line="2275">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="min" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudiodecoder.c"
                 line="2276">minimum latency</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="max" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudiodecoder.c"
                 line="2277">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"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudiodecoder.c"
             line="2238">Sets numbers of tolerated decoder errors, where a tolerated one is then only
warned about, but more than tolerated will lead to fatal error.  Default
is set to GST_AUDIO_DECODER_MAX_ERRORS.</doc>
        <source-position filename="gstaudiodecoder.h" line="262"/>
        <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="gstaudiodecoder.c"
                 line="2240">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="num" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudiodecoder.c"
                 line="2241">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"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudiodecoder.c"
             line="2392">Sets decoder minimum aggregation latency.

MT safe.</doc>
        <source-position filename="gstaudiodecoder.h" line="286"/>
        <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="gstaudiodecoder.c"
                 line="2394">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="num" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudiodecoder.c"
                 line="2395">new minimum latency</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_needs_format"
              c:identifier="gst_audio_decoder_set_needs_format"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudiodecoder.c"
             line="2536">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="gstaudiodecoder.h" line="301"/>
        <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="gstaudiodecoder.c"
                 line="2538">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="enabled" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudiodecoder.c"
                 line="2539">new state</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_plc"
              c:identifier="gst_audio_decoder_set_plc"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudiodecoder.c"
             line="2342">Enable or disable decoder packet loss concealment, provided subclass
and codec are capable and allow handling plc.

MT safe.</doc>
        <source-position filename="gstaudiodecoder.h" line="281"/>
        <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="gstaudiodecoder.c"
                 line="2344">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="enabled" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudiodecoder.c"
                 line="2345">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"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudiodecoder.c"
             line="2156">Indicates whether or not subclass handles packet loss concealment (plc).</doc>
        <source-position filename="gstaudiodecoder.h" line="250"/>
        <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="gstaudiodecoder.c"
                 line="2158">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="plc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudiodecoder.c"
                 line="2159">new plc state</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_tolerance"
              c:identifier="gst_audio_decoder_set_tolerance"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudiodecoder.c"
             line="2439">Configures decoder audio jitter tolerance threshold.

MT safe.</doc>
        <source-position filename="gstaudiodecoder.h" line="291"/>
        <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="gstaudiodecoder.c"
                 line="2441">a #GstAudioDecoder</doc>
            <type name="AudioDecoder" c:type="GstAudioDecoder*"/>
          </instance-parameter>
          <parameter name="tolerance" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudiodecoder.c"
                 line="2442">new tolerance</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </method>
      <property name="min-latency" writable="1" transfer-ownership="none">
        <type name="gint64" c:type="gint64"/>
      </property>
      <property name="plc" writable="1" transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="tolerance" writable="1" transfer-ownership="none">
        <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" introspectable="0">
        <type c:type="GStaticRecMutex"/>
      </field>
      <field name="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"
            version="0.10.36">
      <doc xml:space="preserve"
           filename="gstaudiodecoder.h"
           line="169">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="gstaudiodecoder.h" line="240"/>
      <field name="element_class">
        <doc xml:space="preserve"
             filename="gstaudiodecoder.h"
             line="171">The parent class structure</doc>
        <type name="Gst.ElementClass" c:type="GstElementClass"/>
      </field>
      <field name="start">
        <callback name="start">
          <source-position filename="gstaudiodecoder.h" line="216"/>
          <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">
        <callback name="stop">
          <source-position filename="gstaudiodecoder.h" line="218"/>
          <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">
        <callback name="set_format">
          <source-position filename="gstaudiodecoder.h" line="220"/>
          <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">
        <callback name="parse">
          <source-position filename="gstaudiodecoder.h" line="223"/>
          <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" transfer-ownership="none">
              <type name="gint" c:type="gint*"/>
            </parameter>
            <parameter name="length" transfer-ownership="none">
              <type name="gint" c:type="gint*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="handle_frame">
        <callback name="handle_frame">
          <source-position filename="gstaudiodecoder.h" line="227"/>
          <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">
        <callback name="flush">
          <source-position filename="gstaudiodecoder.h" line="230"/>
          <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">
        <callback name="pre_push">
          <source-position filename="gstaudiodecoder.h" line="232"/>
          <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="event">
        <callback name="event">
          <source-position filename="gstaudiodecoder.h" line="235"/>
          <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="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="AudioDecoderPrivate"
            c:type="GstAudioDecoderPrivate"
            disguised="1">
      <source-position filename="gstaudiodecoder.h" line="88"/>
    </record>
    <class name="AudioEncoder"
           c:symbol-prefix="audio_encoder"
           c:type="GstAudioEncoder"
           version="0.10.36"
           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="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.
&lt;orderedlist&gt;
&lt;listitem&gt;
  &lt;itemizedlist&gt;&lt;title&gt;Configuration&lt;/title&gt;
  &lt;listitem&gt;&lt;para&gt;
    Initially, GstAudioEncoder calls @start when the encoder element
    is activated, which allows subclass to perform any global setup.
  &lt;/para&gt;&lt;/listitem&gt;
  &lt;listitem&gt;&lt;para&gt;
    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.
  &lt;/para&gt;&lt;/listitem&gt;
  &lt;listitem&gt;&lt;para&gt;
    GstAudioEncoder calls @stop at end of all processing.
  &lt;/para&gt;&lt;/listitem&gt;
  &lt;/itemizedlist&gt;
&lt;/listitem&gt;
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.
&lt;listitem&gt;
  &lt;itemizedlist&gt;
  &lt;title&gt;Data processing&lt;/title&gt;
    &lt;listitem&gt;&lt;para&gt;
      Base class gathers input sample data (as directed by the context's
      frame_samples and frame_max) and provides this to subclass' @handle_frame.
    &lt;/para&gt;&lt;/listitem&gt;
    &lt;listitem&gt;&lt;para&gt;
      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 to indicate dropped
      (non-encoded) samples.
    &lt;/para&gt;&lt;/listitem&gt;
    &lt;listitem&gt;&lt;para&gt;
      Just prior to actually pushing a buffer downstream,
      it is passed to @pre_push.
    &lt;/para&gt;&lt;/listitem&gt;
    &lt;listitem&gt;&lt;para&gt;
      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.
    &lt;/para&gt;&lt;/listitem&gt;
  &lt;/itemizedlist&gt;
&lt;/listitem&gt;
&lt;listitem&gt;
  &lt;itemizedlist&gt;&lt;title&gt;Shutdown phase&lt;/title&gt;
  &lt;listitem&gt;&lt;para&gt;
    GstAudioEncoder class calls @stop to inform the subclass that data
    parsing will be stopped.
  &lt;/para&gt;&lt;/listitem&gt;
  &lt;/itemizedlist&gt;
&lt;/listitem&gt;
&lt;/orderedlist&gt;

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:
&lt;itemizedlist&gt;
  &lt;listitem&gt;&lt;para&gt;Provide pad templates&lt;/para&gt;&lt;/listitem&gt;
  &lt;listitem&gt;&lt;para&gt;
     Set source pad caps when appropriate
  &lt;/para&gt;&lt;/listitem&gt;
  &lt;listitem&gt;&lt;para&gt;
     Inform base class of buffer processing needs using context's
     frame_samples and frame_bytes.
  &lt;/para&gt;&lt;/listitem&gt;
  &lt;listitem&gt;&lt;para&gt;
     Set user-configurable properties to sane defaults for format and
     implementing codec at hand, e.g. those controlling timestamp behaviour
     and discontinuity processing.
  &lt;/para&gt;&lt;/listitem&gt;
  &lt;listitem&gt;&lt;para&gt;
     Accept data in @handle_frame and provide encoded results to
     @gst_audio_encoder_finish_frame.
  &lt;/para&gt;&lt;/listitem&gt;
&lt;/itemizedlist&gt;</doc>
      <source-position filename="gstaudioencoder.h" line="188"/>
      <implements name="Gst.Preset"/>
      <virtual-method name="event">
        <source-position filename="gstaudioencoder.h" line="181"/>
        <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="flush">
        <source-position filename="gstaudioencoder.h" line="176"/>
        <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">
        <source-position filename="gstaudioencoder.h" line="184"/>
        <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>
        </parameters>
      </virtual-method>
      <virtual-method name="handle_frame">
        <source-position filename="gstaudioencoder.h" line="173"/>
        <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="pre_push">
        <source-position filename="gstaudioencoder.h" line="178"/>
        <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="set_format">
        <source-position filename="gstaudioencoder.h" line="170"/>
        <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="start">
        <source-position filename="gstaudioencoder.h" line="166"/>
        <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">
        <source-position filename="gstaudioencoder.h" line="168"/>
        <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>
      <method name="finish_frame"
              c:identifier="gst_audio_encoder_finish_frame"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudioencoder.c"
             line="463">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 gst_audio_encoder_handle_frame()
may be invalidated by a call to this function.</doc>
        <source-position filename="gstaudioencoder.h" line="192"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudioencoder.c"
               line="480">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="gstaudioencoder.c"
                 line="465">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioencoder.c"
                 line="466">encoded data</doc>
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </parameter>
          <parameter name="samples" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioencoder.c"
                 line="467">number of samples (per channel) represented by encoded data</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_audio_info"
              c:identifier="gst_audio_encoder_get_audio_info"
              version="0.10.36"
              introspectable="0">
        <source-position filename="gstaudioencoder.h" line="201"/>
        <return-value>
          <doc xml:space="preserve"
               filename="gstaudioencoder.c"
               line="1759">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="gstaudioencoder.c"
                 line="1757">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_drainable"
              c:identifier="gst_audio_encoder_get_drainable"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudioencoder.c"
             line="2226">Queries encoder drain handling.</doc>
        <source-position filename="gstaudioencoder.h" line="257"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudioencoder.c"
               line="2232">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="gstaudioencoder.c"
                 line="2228">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"
              version="0.10.36">
        <source-position filename="gstaudioencoder.h" line="211"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudioencoder.c"
               line="1867">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="gstaudioencoder.c"
                 line="1865">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="gstaudioencoder.h" line="207"/>
        <return-value transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <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"
              version="0.10.36">
        <source-position filename="gstaudioencoder.h" line="203"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudioencoder.c"
               line="1833">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="gstaudioencoder.c"
                 line="1831">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"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudioencoder.c"
             line="2176">Queries encoder hard minimum handling.</doc>
        <source-position filename="gstaudioencoder.h" line="252"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudioencoder.c"
               line="2182">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="gstaudioencoder.c"
                 line="2178">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">
        <source-position filename="gstaudioencoder.h" line="242"/>
        <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"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudioencoder.c"
             line="1932">Sets the variables pointed to by @min and @max to the currently configured
latency.</doc>
        <source-position filename="gstaudioencoder.h" line="219"/>
        <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="gstaudioencoder.c"
                 line="1934">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="gstaudioencoder.c"
                 line="1935">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="gstaudioencoder.c"
                 line="1936">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="gstaudioencoder.h" line="215"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudioencoder.c"
               line="1900">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="gstaudioencoder.c"
                 line="1898">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"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudioencoder.c"
             line="1980">Queries if the encoder will handle granule marking.</doc>
        <source-position filename="gstaudioencoder.h" line="232"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudioencoder.c"
               line="1986">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="gstaudioencoder.c"
                 line="1982">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"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudioencoder.c"
             line="2030">Queries encoder perfect timestamp behaviour.</doc>
        <source-position filename="gstaudioencoder.h" line="237"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudioencoder.c"
               line="2036">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="gstaudioencoder.c"
                 line="2032">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_tolerance"
              c:identifier="gst_audio_encoder_get_tolerance"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudioencoder.c"
             line="2126">Queries current audio jitter tolerance threshold.</doc>
        <source-position filename="gstaudioencoder.h" line="247"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudioencoder.c"
               line="2132">encoder audio jitter tolerance threshold.

MT safe.</doc>
          <type name="gint64" c:type="gint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioencoder.c"
                 line="2128">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="merge_tags"
              c:identifier="gst_audio_encoder_merge_tags"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudioencoder.c"
             line="2252">Adds tags to so-called pending tags, which will be processed
before pushing out data downstream.

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,
although it should be aware that baseclass already takes care
of the usual CODEC/AUDIO_CODEC tags.

MT safe.</doc>
        <source-position filename="gstaudioencoder.h" line="259"/>
        <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="gstaudioencoder.c"
                 line="2254">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="tags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioencoder.c"
                 line="2255">a #GstTagList to merge</doc>
            <type name="Gst.TagList" c:type="const GstTagList*"/>
          </parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioencoder.c"
                 line="2256">the #GstTagMergeMode to use</doc>
            <type name="Gst.TagMergeMode" c:type="GstTagMergeMode"/>
          </parameter>
        </parameters>
      </method>
      <method name="proxy_getcaps"
              c:identifier="gst_audio_encoder_proxy_getcaps"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudioencoder.c"
             line="1139">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="gstaudioencoder.h" line="196"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gstaudioencoder.c"
               line="1148">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="gstaudioencoder.c"
                 line="1141">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioencoder.c"
                 line="1142">initial caps</doc>
            <type name="Gst.Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_drainable"
              c:identifier="gst_audio_encoder_set_drainable"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudioencoder.c"
             line="2202">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="gstaudioencoder.h" line="254"/>
        <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="gstaudioencoder.c"
                 line="2204">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="enabled" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioencoder.c"
                 line="2205">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"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudioencoder.c"
             line="1845">Sets max number of frames accepted at once (assumed minimally 1).
Requires @frame_samples_min and @frame_samples_max to be the equal.</doc>
        <source-position filename="gstaudioencoder.h" line="213"/>
        <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="gstaudioencoder.c"
                 line="1847">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="num" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioencoder.c"
                 line="1848">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"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudioencoder.c"
             line="1808">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.</doc>
        <source-position filename="gstaudioencoder.h" line="209"/>
        <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="gstaudioencoder.c"
                 line="1810">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="num" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioencoder.c"
                 line="1811">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"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudioencoder.c"
             line="1771">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.</doc>
        <source-position filename="gstaudioencoder.h" line="205"/>
        <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="gstaudioencoder.c"
                 line="1773">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="num" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioencoder.c"
                 line="1774">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"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudioencoder.c"
             line="2152">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="gstaudioencoder.h" line="249"/>
        <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="gstaudioencoder.c"
                 line="2154">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="enabled" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioencoder.c"
                 line="2155">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">
        <source-position filename="gstaudioencoder.h" line="239"/>
        <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_latency"
              c:identifier="gst_audio_encoder_set_latency"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudioencoder.c"
             line="1910">Sets encoder latency.</doc>
        <source-position filename="gstaudioencoder.h" line="223"/>
        <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="gstaudioencoder.c"
                 line="1912">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="min" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioencoder.c"
                 line="1913">minimum latency</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
          <parameter name="max" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioencoder.c"
                 line="1914">maximum latency</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_lookahead"
              c:identifier="gst_audio_encoder_set_lookahead"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudioencoder.c"
             line="1879">Sets encoder lookahead (in units of input rate samples)</doc>
        <source-position filename="gstaudioencoder.h" line="217"/>
        <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="gstaudioencoder.c"
                 line="1881">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="num" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioencoder.c"
                 line="1882">lookahead</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_mark_granule"
              c:identifier="gst_audio_encoder_set_mark_granule"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudioencoder.c"
             line="1957">Enable or disable encoder granule handling.

MT safe.</doc>
        <source-position filename="gstaudioencoder.h" line="229"/>
        <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="gstaudioencoder.c"
                 line="1959">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="enabled" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioencoder.c"
                 line="1960">new state</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_perfect_timestamp"
              c:identifier="gst_audio_encoder_set_perfect_timestamp"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudioencoder.c"
             line="2006">Enable or disable encoder perfect output timestamp preference.

MT safe.</doc>
        <source-position filename="gstaudioencoder.h" line="234"/>
        <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="gstaudioencoder.c"
                 line="2008">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="enabled" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioencoder.c"
                 line="2009">new state</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_tolerance"
              c:identifier="gst_audio_encoder_set_tolerance"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstaudioencoder.c"
             line="2105">Configures encoder audio jitter tolerance threshold.

MT safe.</doc>
        <source-position filename="gstaudioencoder.h" line="244"/>
        <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="gstaudioencoder.c"
                 line="2107">a #GstAudioEncoder</doc>
            <type name="AudioEncoder" c:type="GstAudioEncoder*"/>
          </instance-parameter>
          <parameter name="tolerance" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudioencoder.c"
                 line="2108">new tolerance</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </method>
      <property name="hard-resync" writable="1" transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="mark-granule" transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="perfect-timestamp"
                writable="1"
                transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="tolerance" writable="1" transfer-ownership="none">
        <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" introspectable="0">
        <type c:type="GStaticRecMutex"/>
      </field>
      <field name="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"
            version="0.10.36">
      <doc xml:space="preserve"
           filename="gstaudioencoder.h"
           line="121">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="gstaudioencoder.h" line="188"/>
      <field name="element_class">
        <doc xml:space="preserve"
             filename="gstaudioencoder.h"
             line="123">The parent class structure</doc>
        <type name="Gst.ElementClass" c:type="GstElementClass"/>
      </field>
      <field name="start">
        <callback name="start">
          <source-position filename="gstaudioencoder.h" line="166"/>
          <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">
        <callback name="stop">
          <source-position filename="gstaudioencoder.h" line="168"/>
          <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">
        <callback name="set_format">
          <source-position filename="gstaudioencoder.h" line="170"/>
          <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">
        <callback name="handle_frame">
          <source-position filename="gstaudioencoder.h" line="173"/>
          <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">
        <callback name="flush">
          <source-position filename="gstaudioencoder.h" line="176"/>
          <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">
        <callback name="pre_push">
          <source-position filename="gstaudioencoder.h" line="178"/>
          <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="event">
        <callback name="event">
          <source-position filename="gstaudioencoder.h" line="181"/>
          <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">
        <callback name="getcaps">
          <source-position filename="gstaudioencoder.h" line="184"/>
          <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>
          </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="AudioEncoderPrivate"
            c:type="GstAudioEncoderPrivate"
            disguised="1">
      <source-position filename="gstaudioencoder.h" line="91"/>
    </record>
    <bitfield name="AudioFieldFlag" deprecated="1" c:type="GstAudioFieldFlag">
      <doc xml:space="preserve"
           filename="audio.h"
           line="415">Do not use anymore.</doc>
      <doc-deprecated xml:space="preserve">use gst_structure_set() directly</doc-deprecated>
      <source-position filename="audio.h" line="436"/>
      <member name="rate" value="1" c:identifier="GST_AUDIO_FIELD_RATE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="417">add rate field to caps</doc>
      </member>
      <member name="channels"
              value="2"
              c:identifier="GST_AUDIO_FIELD_CHANNELS">
        <doc xml:space="preserve"
             filename="audio.h"
             line="418">add channels field to caps</doc>
      </member>
      <member name="endianness"
              value="4"
              c:identifier="GST_AUDIO_FIELD_ENDIANNESS">
        <doc xml:space="preserve"
             filename="audio.h"
             line="419">add endianness field to caps</doc>
      </member>
      <member name="width" value="8" c:identifier="GST_AUDIO_FIELD_WIDTH">
        <doc xml:space="preserve"
             filename="audio.h"
             line="420">add width field to caps</doc>
      </member>
      <member name="depth" value="16" c:identifier="GST_AUDIO_FIELD_DEPTH">
        <doc xml:space="preserve"
             filename="audio.h"
             line="421">add depth field to caps</doc>
      </member>
      <member name="signed" value="32" c:identifier="GST_AUDIO_FIELD_SIGNED">
        <doc xml:space="preserve"
             filename="audio.h"
             line="422">add signed field to caps</doc>
      </member>
    </bitfield>
    <class name="AudioFilter"
           c:symbol-prefix="audio_filter"
           c:type="GstAudioFilter"
           version="0.10.12"
           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="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 base_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.

Last reviewed on 2007-02-03 (0.10.11.1)</doc>
      <source-position filename="gstaudiofilter.h" line="85"/>
      <virtual-method name="setup">
        <source-position filename="gstaudiofilter.h" line="81"/>
        <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="format" transfer-ownership="none">
            <type name="RingBufferSpec" c:type="GstRingBufferSpec*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <field name="basetransform">
        <type name="GstBase.BaseTransform" c:type="GstBaseTransform"/>
      </field>
      <field name="format">
        <type name="RingBufferSpec" c:type="GstRingBufferSpec"/>
      </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"
            version="0.10.12">
      <doc xml:space="preserve"
           filename="gstaudiofilter.h"
           line="65">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="gstaudiofilter.h" line="85"/>
      <field name="basetransformclass">
        <doc xml:space="preserve"
             filename="gstaudiofilter.h"
             line="67">parent class</doc>
        <type name="GstBase.BaseTransformClass"
              c:type="GstBaseTransformClass"/>
      </field>
      <field name="setup">
        <callback name="setup">
          <source-position filename="gstaudiofilter.h" line="81"/>
          <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="format" transfer-ownership="none">
              <type name="RingBufferSpec" c:type="GstRingBufferSpec*"/>
            </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"
              version="0.10.12">
        <doc xml:space="preserve"
             filename="gstaudiofilter.c"
             line="174">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 base_init function.</doc>
        <source-position filename="gstaudiofilter.h" line="89"/>
        <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="gstaudiofilter.c"
                 line="176">an #GstAudioFilterClass</doc>
            <type name="AudioFilterClass" c:type="GstAudioFilterClass*"/>
          </instance-parameter>
          <parameter name="allowed_caps" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstaudiofilter.c"
                 line="177">what formats the filter can handle, as #GstCaps</doc>
            <type name="Gst.Caps" c:type="const GstCaps*"/>
          </parameter>
        </parameters>
      </method>
    </record>
    <bitfield name="AudioFlags" version="0.10.36" c:type="GstAudioFlags">
      <doc xml:space="preserve"
           filename="audio.h"
           line="211">Extra audio flags</doc>
      <source-position filename="audio.h" line="225"/>
      <member name="none" value="0" c:identifier="GST_AUDIO_FLAG_NONE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="213">no valid flag</doc>
      </member>
      <member name="default_positions"
              value="1"
              c:identifier="GST_AUDIO_FLAG_DEFAULT_POSITIONS">
        <doc xml:space="preserve"
             filename="audio.h"
             line="214">unpositioned audio layout, position array
    contains the default layout (meaning that the channel layout was not
    explicitly specified in the caps)</doc>
      </member>
    </bitfield>
    <enumeration name="AudioFormat" version="0.10.36" c:type="GstAudioFormat">
      <doc xml:space="preserve"
           filename="audio.h"
           line="36">Enum value describing the most common audio formats.</doc>
      <source-position filename="audio.h" line="143"/>
      <member name="unknown" value="0" c:identifier="GST_AUDIO_FORMAT_UNKNOWN">
        <doc xml:space="preserve"
             filename="audio.h"
             line="38">unknown audio format</doc>
      </member>
      <member name="s8" value="1" c:identifier="GST_AUDIO_FORMAT_S8">
        <doc xml:space="preserve"
             filename="audio.h"
             line="39">8 bits in 8 bits, signed</doc>
      </member>
      <member name="u8" value="2" c:identifier="GST_AUDIO_FORMAT_U8">
        <doc xml:space="preserve"
             filename="audio.h"
             line="40">8 bits in 8 bits, unsigned</doc>
      </member>
      <member name="s16le" value="3" c:identifier="GST_AUDIO_FORMAT_S16LE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="41">16 bits in 16 bits, signed, little endian</doc>
      </member>
      <member name="s16be" value="4" c:identifier="GST_AUDIO_FORMAT_S16BE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="42">16 bits in 16 bits, signed, big endian</doc>
      </member>
      <member name="u16le" value="5" c:identifier="GST_AUDIO_FORMAT_U16LE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="43">16 bits in 16 bits, unsigned, little endian</doc>
      </member>
      <member name="u16be" value="6" c:identifier="GST_AUDIO_FORMAT_U16BE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="44">16 bits in 16 bits, unsigned, big endian</doc>
      </member>
      <member name="s24_32le"
              value="7"
              c:identifier="GST_AUDIO_FORMAT_S24_32LE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="45">24 bits in 32 bits, signed, little endian</doc>
      </member>
      <member name="s24_32be"
              value="8"
              c:identifier="GST_AUDIO_FORMAT_S24_32BE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="46">24 bits in 32 bits, signed, big endian</doc>
      </member>
      <member name="u24_32le"
              value="9"
              c:identifier="GST_AUDIO_FORMAT_U24_32LE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="47">24 bits in 32 bits, unsigned, little endian</doc>
      </member>
      <member name="u24_32be"
              value="10"
              c:identifier="GST_AUDIO_FORMAT_U24_32BE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="48">24 bits in 32 bits, unsigned, big endian</doc>
      </member>
      <member name="s32le" value="11" c:identifier="GST_AUDIO_FORMAT_S32LE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="49">32 bits in 32 bits, signed, little endian</doc>
      </member>
      <member name="s32be" value="12" c:identifier="GST_AUDIO_FORMAT_S32BE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="50">32 bits in 32 bits, signed, big endian</doc>
      </member>
      <member name="u32le" value="13" c:identifier="GST_AUDIO_FORMAT_U32LE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="51">32 bits in 32 bits, unsigned, little endian</doc>
      </member>
      <member name="u32be" value="14" c:identifier="GST_AUDIO_FORMAT_U32BE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="52">32 bits in 32 bits, unsigned, big endian</doc>
      </member>
      <member name="s24le" value="15" c:identifier="GST_AUDIO_FORMAT_S24LE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="53">24 bits in 24 bits, signed, little endian</doc>
      </member>
      <member name="s24be" value="16" c:identifier="GST_AUDIO_FORMAT_S24BE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="54">24 bits in 24 bits, signed, big endian</doc>
      </member>
      <member name="u24le" value="17" c:identifier="GST_AUDIO_FORMAT_U24LE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="55">24 bits in 24 bits, unsigned, little endian</doc>
      </member>
      <member name="u24be" value="18" c:identifier="GST_AUDIO_FORMAT_U24BE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="56">24 bits in 24 bits, unsigned, big endian</doc>
      </member>
      <member name="s20le" value="19" c:identifier="GST_AUDIO_FORMAT_S20LE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="57">20 bits in 24 bits, signed, little endian</doc>
      </member>
      <member name="s20be" value="20" c:identifier="GST_AUDIO_FORMAT_S20BE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="58">20 bits in 24 bits, signed, big endian</doc>
      </member>
      <member name="u20le" value="21" c:identifier="GST_AUDIO_FORMAT_U20LE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="59">20 bits in 24 bits, unsigned, little endian</doc>
      </member>
      <member name="u20be" value="22" c:identifier="GST_AUDIO_FORMAT_U20BE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="60">20 bits in 24 bits, unsigned, big endian</doc>
      </member>
      <member name="s18le" value="23" c:identifier="GST_AUDIO_FORMAT_S18LE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="61">18 bits in 24 bits, signed, little endian</doc>
      </member>
      <member name="s18be" value="24" c:identifier="GST_AUDIO_FORMAT_S18BE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="62">18 bits in 24 bits, signed, big endian</doc>
      </member>
      <member name="u18le" value="25" c:identifier="GST_AUDIO_FORMAT_U18LE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="63">18 bits in 24 bits, unsigned, little endian</doc>
      </member>
      <member name="u18be" value="26" c:identifier="GST_AUDIO_FORMAT_U18BE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="64">18 bits in 24 bits, unsigned, big endian</doc>
      </member>
      <member name="f32le" value="27" c:identifier="GST_AUDIO_FORMAT_F32LE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="65">32-bit floating point samples, little endian</doc>
      </member>
      <member name="f32be" value="28" c:identifier="GST_AUDIO_FORMAT_F32BE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="66">32-bit floating point samples, big endian</doc>
      </member>
      <member name="f64le" value="29" c:identifier="GST_AUDIO_FORMAT_F64LE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="67">64-bit floating point samples, little endian</doc>
      </member>
      <member name="f64be" value="30" c:identifier="GST_AUDIO_FORMAT_F64BE">
        <doc xml:space="preserve"
             filename="audio.h"
             line="68">64-bit floating point samples, big endian</doc>
      </member>
      <member name="s16" value="3" c:identifier="GST_AUDIO_FORMAT_S16">
        <doc xml:space="preserve"
             filename="audio.h"
             line="69">16 bits in 16 bits, signed, native endianness</doc>
      </member>
      <member name="u16" value="5" c:identifier="GST_AUDIO_FORMAT_U16">
        <doc xml:space="preserve"
             filename="audio.h"
             line="70">16 bits in 16 bits, unsigned, native endianness</doc>
      </member>
      <member name="s24_32" value="7" c:identifier="GST_AUDIO_FORMAT_S24_32">
        <doc xml:space="preserve"
             filename="audio.h"
             line="71">24 bits in 32 bits, signed, native endianness</doc>
      </member>
      <member name="u24_32" value="9" c:identifier="GST_AUDIO_FORMAT_U24_32">
        <doc xml:space="preserve"
             filename="audio.h"
             line="72">24 bits in 32 bits, unsigned, native endianness</doc>
      </member>
      <member name="s32" value="11" c:identifier="GST_AUDIO_FORMAT_S32">
        <doc xml:space="preserve"
             filename="audio.h"
             line="73">32 bits in 32 bits, signed, native endianness</doc>
      </member>
      <member name="u32" value="13" c:identifier="GST_AUDIO_FORMAT_U32">
        <doc xml:space="preserve"
             filename="audio.h"
             line="74">32 bits in 32 bits, unsigned, native endianness</doc>
      </member>
      <member name="s24" value="15" c:identifier="GST_AUDIO_FORMAT_S24">
        <doc xml:space="preserve"
             filename="audio.h"
             line="75">24 bits in 24 bits, signed, native endianness</doc>
      </member>
      <member name="u24" value="17" c:identifier="GST_AUDIO_FORMAT_U24">
        <doc xml:space="preserve"
             filename="audio.h"
             line="76">24 bits in 24 bits, unsigned, native endianness</doc>
      </member>
      <member name="s20" value="19" c:identifier="GST_AUDIO_FORMAT_S20">
        <doc xml:space="preserve"
             filename="audio.h"
             line="77">20 bits in 24 bits, signed, native endianness</doc>
      </member>
      <member name="u20" value="21" c:identifier="GST_AUDIO_FORMAT_U20">
        <doc xml:space="preserve"
             filename="audio.h"
             line="78">20 bits in 24 bits, unsigned, native endianness</doc>
      </member>
      <member name="s18" value="23" c:identifier="GST_AUDIO_FORMAT_S18">
        <doc xml:space="preserve"
             filename="audio.h"
             line="79">18 bits in 24 bits, signed, native endianness</doc>
      </member>
      <member name="u18" value="25" c:identifier="GST_AUDIO_FORMAT_U18">
        <doc xml:space="preserve"
             filename="audio.h"
             line="80">18 bits in 24 bits, unsigned, native endianness</doc>
      </member>
      <member name="f32" value="27" c:identifier="GST_AUDIO_FORMAT_F32">
        <doc xml:space="preserve"
             filename="audio.h"
             line="81">32-bit floating point samples, native endianness</doc>
      </member>
      <member name="f64" value="29" c:identifier="GST_AUDIO_FORMAT_F64">
        <doc xml:space="preserve"
             filename="audio.h"
             line="82">64-bit floating point samples, native endianness</doc>
      </member>
    </enumeration>
    <bitfield name="AudioFormatFlags"
              version="0.10.36"
              c:type="GstAudioFormatFlags">
      <doc xml:space="preserve"
           filename="audio.h"
           line="149">The different audio flags that a format info can have.</doc>
      <source-position filename="audio.h" line="166"/>
      <member name="integer"
              value="1"
              c:identifier="GST_AUDIO_FORMAT_FLAG_INTEGER">
        <doc xml:space="preserve"
             filename="audio.h"
             line="151">integer samples</doc>
      </member>
      <member name="float"
              value="2"
              c:identifier="GST_AUDIO_FORMAT_FLAG_FLOAT">
        <doc xml:space="preserve"
             filename="audio.h"
             line="152">float samples</doc>
      </member>
      <member name="signed"
              value="4"
              c:identifier="GST_AUDIO_FORMAT_FLAG_SIGNED">
        <doc xml:space="preserve"
             filename="audio.h"
             line="153">signed samples</doc>
      </member>
      <member name="complex"
              value="16"
              c:identifier="GST_AUDIO_FORMAT_FLAG_COMPLEX">
        <doc xml:space="preserve"
             filename="audio.h"
             line="154">complex layout</doc>
      </member>
    </bitfield>
    <record name="AudioFormatInfo"
            c:type="GstAudioFormatInfo"
            version="0.10.36">
      <doc xml:space="preserve"
           filename="audio.h"
           line="168">Information for an audio format.</doc>
      <source-position filename="audio.h" line="193"/>
      <field name="format" writable="1">
        <doc xml:space="preserve"
             filename="audio.h"
             line="170">#GstAudioFormat</doc>
        <type name="AudioFormat" c:type="GstAudioFormat"/>
      </field>
      <field name="name" writable="1">
        <doc xml:space="preserve"
             filename="audio.h"
             line="171">string representation of the format</doc>
        <type name="utf8" c:type="const gchar*"/>
      </field>
      <field name="flags" writable="1">
        <doc xml:space="preserve"
             filename="audio.h"
             line="172">#GstAudioFormatFlags</doc>
        <type name="AudioFormatFlags" c:type="GstAudioFormatFlags"/>
      </field>
      <field name="endianness" writable="1">
        <doc xml:space="preserve"
             filename="audio.h"
             line="173">the endianness</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="width" writable="1">
        <doc xml:space="preserve"
             filename="audio.h"
             line="174">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="audio.h"
             line="175">amount of valid bits in @width</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="silence" writable="1">
        <doc xml:space="preserve"
             filename="audio.h"
             line="176">@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="padding_i" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="guint" c:type="guint"/>
        </array>
      </field>
      <field name="padding_p" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="AudioInfo" c:type="GstAudioInfo" version="0.10.36">
      <doc xml:space="preserve"
           filename="audio.h"
           line="227">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="audio.h" line="251"/>
      <field name="finfo" writable="1">
        <doc xml:space="preserve"
             filename="audio.h"
             line="229">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="audio.h"
             line="230">additional audio flags</doc>
        <type name="AudioFlags" c:type="GstAudioFlags"/>
      </field>
      <field name="rate" writable="1">
        <doc xml:space="preserve"
             filename="audio.h"
             line="231">the audio sample rate</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="channels" writable="1">
        <doc xml:space="preserve"
             filename="audio.h"
             line="232">the number of channels</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="bpf" writable="1">
        <doc xml:space="preserve"
             filename="audio.h"
             line="233">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="audio.h"
             line="235">the position for each channel (assume all NONE for &gt;64 channels)</doc>
        <array zero-terminated="0" fixed-size="64">
          <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/>
        </array>
      </field>
      <method name="clear" c:identifier="gst_audio_info_clear">
        <source-position filename="audio.h" line="278"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <type name="AudioInfo" c:type="GstAudioInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="convert" c:identifier="gst_audio_info_convert">
        <source-position filename="audio.h" line="286"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <type name="AudioInfo" c:type="GstAudioInfo*"/>
          </instance-parameter>
          <parameter name="src_fmt" transfer-ownership="none">
            <type name="Gst.Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="src_val" transfer-ownership="none">
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="dest_fmt" transfer-ownership="none">
            <type name="Gst.Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="dest_val" transfer-ownership="none">
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="copy"
              c:identifier="gst_audio_info_copy"
              introspectable="0">
        <source-position filename="audio.h" line="280"/>
        <return-value>
          <type name="AudioInfo" c:type="GstAudioInfo*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <type name="AudioInfo" c:type="GstAudioInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="free" c:identifier="gst_audio_info_free">
        <source-position filename="audio.h" line="281"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <type name="AudioInfo" c:type="GstAudioInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="from_caps"
              c:identifier="gst_audio_info_from_caps"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="audio.c"
             line="462">Parse @caps and update @info.</doc>
        <source-position filename="audio.h" line="283"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="audio.c"
               line="469">TRUE if @caps could be parsed</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="audio.c"
                 line="464">a #GstAudioInfo</doc>
            <type name="AudioInfo" c:type="GstAudioInfo*"/>
          </instance-parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="audio.c"
                 line="465">a #GstCaps</doc>
            <type name="Gst.Caps" c:type="const GstCaps*"/>
          </parameter>
        </parameters>
      </method>
      <method name="init" c:identifier="gst_audio_info_init">
        <source-position filename="audio.h" line="277"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <type name="AudioInfo" c:type="GstAudioInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="to_caps"
              c:identifier="gst_audio_info_to_caps"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="audio.c"
             line="539">Convert the values of @info into a #GstCaps.</doc>
        <source-position filename="audio.h" line="284"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="audio.c"
               line="545">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="audio.c"
                 line="541">a #GstAudioInfo</doc>
            <type name="AudioInfo" c:type="GstAudioInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <callback name="AudioMixerFilterFunc" c:type="GstAudioMixerFilterFunc">
      <doc xml:space="preserve"
           filename="mixerutils.h"
           line="28">Function that will be called by gst_audio_default_registry_mixer_filter()
so the caller can decide which mixer elements should be kept and returned.
When the mixer element is passed to the callback function, it is opened
and in READY state. If you decide to keep the element, you need to set it
back to NULL state yourself (unless you want to keep it opened of course).</doc>
      <source-position filename="mixerutils.h" line="41"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="mixerutils.h"
             line="39">TRUE if the element should be kept, FALSE otherwise.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="mixer" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="mixerutils.h"
               line="30">a #GstElement implementing the #GstMixer interface</doc>
          <type name="GstInterfaces.Mixer" c:type="GstMixer*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="1">
          <doc xml:space="preserve"
               filename="mixerutils.h"
               line="31">user data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <class name="AudioSink"
           c:symbol-prefix="audio_sink"
           c:type="GstAudioSink"
           parent="BaseAudioSink"
           glib:type-name="GstAudioSink"
           glib:get-type="gst_audio_sink_get_type"
           glib:type-struct="AudioSinkClass">
      <doc xml:space="preserve"
           filename="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:

&lt;variablelist&gt;
  &lt;varlistentry&gt;
    &lt;term&gt;open()&lt;/term&gt;
    &lt;listitem&gt;&lt;para&gt;Open the device.&lt;/para&gt;&lt;/listitem&gt;
  &lt;/varlistentry&gt;
  &lt;varlistentry&gt;
    &lt;term&gt;prepare()&lt;/term&gt;
    &lt;listitem&gt;&lt;para&gt;Configure the device with the specified format.&lt;/para&gt;&lt;/listitem&gt;
  &lt;/varlistentry&gt;
  &lt;varlistentry&gt;
    &lt;term&gt;write()&lt;/term&gt;
    &lt;listitem&gt;&lt;para&gt;Write samples to the device.&lt;/para&gt;&lt;/listitem&gt;
  &lt;/varlistentry&gt;
  &lt;varlistentry&gt;
    &lt;term&gt;reset()&lt;/term&gt;
    &lt;listitem&gt;&lt;para&gt;Unblock writes and flush the device.&lt;/para&gt;&lt;/listitem&gt;
  &lt;/varlistentry&gt;
  &lt;varlistentry&gt;
    &lt;term&gt;delay()&lt;/term&gt;
    &lt;listitem&gt;&lt;para&gt;Get the number of samples written but not yet played
    by the device.&lt;/para&gt;&lt;/listitem&gt;
  &lt;/varlistentry&gt;
  &lt;varlistentry&gt;
    &lt;term&gt;unprepare()&lt;/term&gt;
    &lt;listitem&gt;&lt;para&gt;Undo operations done by prepare.&lt;/para&gt;&lt;/listitem&gt;
  &lt;/varlistentry&gt;
  &lt;varlistentry&gt;
    &lt;term&gt;close()&lt;/term&gt;
    &lt;listitem&gt;&lt;para&gt;Close the device.&lt;/para&gt;&lt;/listitem&gt;
  &lt;/varlistentry&gt;
&lt;/variablelist&gt;

All scheduling of samples and timestamps is done in this base class
together with #GstBaseAudioSink using a default implementation of a
#GstRingBuffer that uses threads.

Last reviewed on 2006-09-27 (0.10.12)</doc>
      <source-position filename="gstaudiosink.h" line="96"/>
      <virtual-method name="close">
        <source-position filename="gstaudiosink.h" line="84"/>
        <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">
        <source-position filename="gstaudiosink.h" line="90"/>
        <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">
        <source-position filename="gstaudiosink.h" line="78"/>
        <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="prepare">
        <source-position filename="gstaudiosink.h" line="80"/>
        <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="RingBufferSpec" c:type="GstRingBufferSpec*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="reset">
        <source-position filename="gstaudiosink.h" line="92"/>
        <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">
        <source-position filename="gstaudiosink.h" line="82"/>
        <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">
        <source-position filename="gstaudiosink.h" line="88"/>
        <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>
          <parameter name="data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="length" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <field name="element">
        <type name="BaseAudioSink" c:type="GstBaseAudioSink"/>
      </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">
      <doc xml:space="preserve"
           filename="gstaudiosink.h"
           line="56">#GstAudioSink class. Override the vmethods to implement functionality.</doc>
      <source-position filename="gstaudiosink.h" line="96"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="gstaudiosink.h"
             line="58">the parent class structure.</doc>
        <type name="BaseAudioSinkClass" c:type="GstBaseAudioSinkClass"/>
      </field>
      <field name="open">
        <callback name="open">
          <source-position filename="gstaudiosink.h" line="78"/>
          <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">
        <callback name="prepare">
          <source-position filename="gstaudiosink.h" line="80"/>
          <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="RingBufferSpec" c:type="GstRingBufferSpec*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="unprepare">
        <callback name="unprepare">
          <source-position filename="gstaudiosink.h" line="82"/>
          <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">
        <callback name="close">
          <source-position filename="gstaudiosink.h" line="84"/>
          <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">
        <callback name="write">
          <source-position filename="gstaudiosink.h" line="88"/>
          <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>
            <parameter name="data"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <type name="gpointer" c:type="gpointer"/>
            </parameter>
            <parameter name="length" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="delay">
        <callback name="delay">
          <source-position filename="gstaudiosink.h" line="90"/>
          <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">
        <callback name="reset">
          <source-position filename="gstaudiosink.h" line="92"/>
          <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="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <class name="AudioSrc"
           c:symbol-prefix="audio_src"
           c:type="GstAudioSrc"
           parent="BaseAudioSrc"
           glib:type-name="GstAudioSrc"
           glib:get-type="gst_audio_src_get_type"
           glib:type-struct="AudioSrcClass">
      <doc xml:space="preserve"
           filename="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:

&lt;variablelist&gt;
  &lt;varlistentry&gt;
    &lt;term&gt;open()&lt;/term&gt;
    &lt;listitem&gt;&lt;para&gt;Open the device.&lt;/para&gt;&lt;/listitem&gt;
  &lt;/varlistentry&gt;
  &lt;varlistentry&gt;
    &lt;term&gt;prepare()&lt;/term&gt;
    &lt;listitem&gt;&lt;para&gt;Configure the device with the specified format.&lt;/para&gt;&lt;/listitem&gt;
  &lt;/varlistentry&gt;
  &lt;varlistentry&gt;
    &lt;term&gt;read()&lt;/term&gt;
    &lt;listitem&gt;&lt;para&gt;Read samples from the device.&lt;/para&gt;&lt;/listitem&gt;
  &lt;/varlistentry&gt;
  &lt;varlistentry&gt;
    &lt;term&gt;reset()&lt;/term&gt;
    &lt;listitem&gt;&lt;para&gt;Unblock reads and flush the device.&lt;/para&gt;&lt;/listitem&gt;
  &lt;/varlistentry&gt;
  &lt;varlistentry&gt;
    &lt;term&gt;delay()&lt;/term&gt;
    &lt;listitem&gt;&lt;para&gt;Get the number of samples in the device but not yet read.
    &lt;/para&gt;&lt;/listitem&gt;
  &lt;/varlistentry&gt;
  &lt;varlistentry&gt;
    &lt;term&gt;unprepare()&lt;/term&gt;
    &lt;listitem&gt;&lt;para&gt;Undo operations done by prepare.&lt;/para&gt;&lt;/listitem&gt;
  &lt;/varlistentry&gt;
  &lt;varlistentry&gt;
    &lt;term&gt;close()&lt;/term&gt;
    &lt;listitem&gt;&lt;para&gt;Close the device.&lt;/para&gt;&lt;/listitem&gt;
  &lt;/varlistentry&gt;
&lt;/variablelist&gt;

All scheduling of samples and timestamps is done in this base class
together with #GstBaseAudioSrc using a default implementation of a
#GstRingBuffer that uses threads.

Last reviewed on 2006-09-27 (0.10.12)</doc>
      <source-position filename="gstaudiosrc.h" line="92"/>
      <virtual-method name="close">
        <source-position filename="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>
        </parameters>
      </virtual-method>
      <virtual-method name="delay">
        <source-position filename="gstaudiosrc.h" line="86"/>
        <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">
        <source-position filename="gstaudiosrc.h" line="76"/>
        <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">
        <source-position filename="gstaudiosrc.h" line="78"/>
        <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="RingBufferSpec" c:type="GstRingBufferSpec*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="read">
        <source-position filename="gstaudiosrc.h" line="84"/>
        <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"
                     nullable="1"
                     allow-none="1">
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="length" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="reset">
        <source-position filename="gstaudiosrc.h" line="88"/>
        <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">
        <source-position filename="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>
      <field name="element">
        <type name="BaseAudioSrc" c:type="GstBaseAudioSrc"/>
      </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="gstaudiosrc.h"
           line="56">#GstAudioSrc class. Override the vmethod to implement
functionality.</doc>
      <source-position filename="gstaudiosrc.h" line="92"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="gstaudiosrc.h"
             line="58">the parent class.</doc>
        <type name="BaseAudioSrcClass" c:type="GstBaseAudioSrcClass"/>
      </field>
      <field name="open">
        <callback name="open">
          <source-position filename="gstaudiosrc.h" line="76"/>
          <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">
        <callback name="prepare">
          <source-position filename="gstaudiosrc.h" line="78"/>
          <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="RingBufferSpec" c:type="GstRingBufferSpec*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="unprepare">
        <callback name="unprepare">
          <source-position filename="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="close">
        <callback name="close">
          <source-position filename="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>
          </parameters>
        </callback>
      </field>
      <field name="read">
        <callback name="read">
          <source-position filename="gstaudiosrc.h" line="84"/>
          <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"
                       nullable="1"
                       allow-none="1">
              <type name="gpointer" c:type="gpointer"/>
            </parameter>
            <parameter name="length" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="delay">
        <callback name="delay">
          <source-position filename="gstaudiosrc.h" line="86"/>
          <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">
        <callback name="reset">
          <source-position filename="gstaudiosrc.h" line="88"/>
          <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>
    <function-macro name="BASE_AUDIO_SINK"
                    c:identifier="GST_BASE_AUDIO_SINK"
                    introspectable="0">
      <source-position filename="gstbaseaudiosink.h" line="60"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="BASE_AUDIO_SINK_CLASS"
                    c:identifier="GST_BASE_AUDIO_SINK_CLASS"
                    introspectable="0">
      <source-position filename="gstbaseaudiosink.h" line="61"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="BASE_AUDIO_SINK_CLOCK"
                    c:identifier="GST_BASE_AUDIO_SINK_CLOCK"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gstbaseaudiosink.h"
           line="66">Get the #GstClock of @obj.</doc>
      <source-position filename="gstbaseaudiosink.h" line="72"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="gstbaseaudiosink.h"
               line="68">a #GstBaseAudioSink</doc>
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="BASE_AUDIO_SINK_GET_CLASS"
                    c:identifier="GST_BASE_AUDIO_SINK_GET_CLASS"
                    introspectable="0">
      <source-position filename="gstbaseaudiosink.h" line="62"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="BASE_AUDIO_SINK_PAD"
                    c:identifier="GST_BASE_AUDIO_SINK_PAD"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gstbaseaudiosink.h"
           line="73">Get the sink #GstPad of @obj.</doc>
      <source-position filename="gstbaseaudiosink.h" line="79"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="gstbaseaudiosink.h"
               line="75">a #GstBaseAudioSink</doc>
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="BASE_AUDIO_SRC"
                    c:identifier="GST_BASE_AUDIO_SRC"
                    introspectable="0">
      <source-position filename="gstbaseaudiosrc.h" line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="BASE_AUDIO_SRC_CLASS"
                    c:identifier="GST_BASE_AUDIO_SRC_CLASS"
                    introspectable="0">
      <source-position filename="gstbaseaudiosrc.h" line="38"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="BASE_AUDIO_SRC_CLOCK"
                    c:identifier="GST_BASE_AUDIO_SRC_CLOCK"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gstbaseaudiosrc.h"
           line="43">Get the #GstClock of @obj.</doc>
      <source-position filename="gstbaseaudiosrc.h" line="49"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="gstbaseaudiosrc.h"
               line="45">a #GstBaseAudioSrc</doc>
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="BASE_AUDIO_SRC_GET_CLASS"
                    c:identifier="GST_BASE_AUDIO_SRC_GET_CLASS"
                    introspectable="0">
      <source-position filename="gstbaseaudiosrc.h" line="39"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="BASE_AUDIO_SRC_PAD"
                    c:identifier="GST_BASE_AUDIO_SRC_PAD"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gstbaseaudiosrc.h"
           line="50">Get the source #GstPad of @obj.</doc>
      <source-position filename="gstbaseaudiosrc.h" line="56"/>
      <parameters>
        <parameter name="obj">
          <doc xml:space="preserve"
               filename="gstbaseaudiosrc.h"
               line="52">a #GstBaseAudioSrc</doc>
        </parameter>
      </parameters>
    </function-macro>
    <class name="BaseAudioSink"
           c:symbol-prefix="base_audio_sink"
           c:type="GstBaseAudioSink"
           parent="GstBase.BaseSink"
           glib:type-name="GstBaseAudioSink"
           glib:get-type="gst_base_audio_sink_get_type"
           glib:type-struct="BaseAudioSinkClass">
      <doc xml:space="preserve"
           filename="gstbaseaudiosink.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.

Last reviewed on 2006-09-27 (0.10.12)</doc>
      <source-position filename="gstbaseaudiosink.h" line="164"/>
      <virtual-method name="create_ringbuffer"
                      invoker="create_ringbuffer"
                      introspectable="0">
        <doc xml:space="preserve"
             filename="gstbaseaudiosink.c"
             line="1975">Create and return the #GstRingBuffer 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="gstbaseaudiosink.h" line="156"/>
        <return-value>
          <doc xml:space="preserve"
               filename="gstbaseaudiosink.c"
               line="1983">The new ringbuffer of @sink.</doc>
          <type name="RingBuffer" c:type="GstRingBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstbaseaudiosink.c"
                 line="1977">a #GstBaseAudioSink.</doc>
            <type name="BaseAudioSink" c:type="GstBaseAudioSink*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="payload" introspectable="0">
        <source-position filename="gstbaseaudiosink.h" line="159"/>
        <return-value>
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <type name="BaseAudioSink" c:type="GstBaseAudioSink*"/>
          </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_base_audio_sink_create_ringbuffer"
              introspectable="0">
        <doc xml:space="preserve"
             filename="gstbaseaudiosink.c"
             line="1975">Create and return the #GstRingBuffer 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="gstbaseaudiosink.h" line="169"/>
        <return-value>
          <doc xml:space="preserve"
               filename="gstbaseaudiosink.c"
               line="1983">The new ringbuffer of @sink.</doc>
          <type name="RingBuffer" c:type="GstRingBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstbaseaudiosink.c"
                 line="1977">a #GstBaseAudioSink.</doc>
            <type name="BaseAudioSink" c:type="GstBaseAudioSink*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_alignment_threshold"
              c:identifier="gst_base_audio_sink_get_alignment_threshold"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstbaseaudiosink.c"
             line="736">Get the current alignment threshold, in nanoseconds, used by @sink.</doc>
        <source-position filename="gstbaseaudiosink.h" line="186"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstbaseaudiosink.c"
               line="742">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="gstbaseaudiosink.c"
                 line="738">a #GstBaseAudioSink</doc>
            <type name="BaseAudioSink" c:type="GstBaseAudioSink*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_discont_wait"
              c:identifier="gst_base_audio_sink_get_discont_wait"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstbaseaudiosink.c"
             line="780">Get the current discont wait, in nanoseconds, used by @sink.</doc>
        <source-position filename="gstbaseaudiosink.h" line="191"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstbaseaudiosink.c"
               line="786">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="gstbaseaudiosink.c"
                 line="782">a #GstBaseAudioSink</doc>
            <type name="BaseAudioSink" c:type="GstBaseAudioSink*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_drift_tolerance"
              c:identifier="gst_base_audio_sink_get_drift_tolerance"
              version="0.10.31">
        <doc xml:space="preserve"
             filename="gstbaseaudiosink.c"
             line="692">Get the current drift tolerance, in microseconds, used by @sink.</doc>
        <source-position filename="gstbaseaudiosink.h" line="181"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstbaseaudiosink.c"
               line="698">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="gstbaseaudiosink.c"
                 line="694">a #GstBaseAudioSink</doc>
            <type name="BaseAudioSink" c:type="GstBaseAudioSink*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_provide_clock"
              c:identifier="gst_base_audio_sink_get_provide_clock"
              version="0.10.16">
        <doc xml:space="preserve"
             filename="gstbaseaudiosink.c"
             line="602">Queries whether @sink will provide a clock or not. See also
gst_base_audio_sink_set_provide_clock.</doc>
        <source-position filename="gstbaseaudiosink.h" line="172"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstbaseaudiosink.c"
               line="609">%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="gstbaseaudiosink.c"
                 line="604">a #GstBaseAudioSink</doc>
            <type name="BaseAudioSink" c:type="GstBaseAudioSink*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_slave_method"
              c:identifier="gst_base_audio_sink_get_slave_method"
              version="0.10.16">
        <doc xml:space="preserve"
             filename="gstbaseaudiosink.c"
             line="647">Get the current slave method used by @sink.</doc>
        <source-position filename="gstbaseaudiosink.h" line="177"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstbaseaudiosink.c"
               line="653">The current slave method used by @sink.</doc>
          <type name="BaseAudioSinkSlaveMethod"
                c:type="GstBaseAudioSinkSlaveMethod"/>
        </return-value>
        <parameters>
          <instance-parameter name="sink" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstbaseaudiosink.c"
                 line="649">a #GstBaseAudioSink</doc>
            <type name="BaseAudioSink" c:type="GstBaseAudioSink*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_alignment_threshold"
              c:identifier="gst_base_audio_sink_set_alignment_threshold"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstbaseaudiosink.c"
             line="716">Controls the sink's alignment threshold.</doc>
        <source-position filename="gstbaseaudiosink.h" line="183"/>
        <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="gstbaseaudiosink.c"
                 line="718">a #GstBaseAudioSink</doc>
            <type name="BaseAudioSink" c:type="GstBaseAudioSink*"/>
          </instance-parameter>
          <parameter name="alignment_threshold" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstbaseaudiosink.c"
                 line="719">the new alignment threshold in nanoseconds</doc>
            <type name="Gst.ClockTime" c:type="GstClockTime"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_discont_wait"
              c:identifier="gst_base_audio_sink_set_discont_wait"
              version="0.10.36">
        <doc xml:space="preserve"
             filename="gstbaseaudiosink.c"
             line="760">Controls how long the sink will wait before creating a discontinuity.</doc>
        <source-position filename="gstbaseaudiosink.h" line="188"/>
        <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="gstbaseaudiosink.c"
                 line="762">a #GstBaseAudioSink</doc>
            <type name="BaseAudioSink" c:type="GstBaseAudioSink*"/>
          </instance-parameter>
          <parameter name="discont_wait" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstbaseaudiosink.c"
                 line="763">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_base_audio_sink_set_drift_tolerance"
              version="0.10.31">
        <doc xml:space="preserve"
             filename="gstbaseaudiosink.c"
             line="672">Controls the sink's drift tolerance.</doc>
        <source-position filename="gstbaseaudiosink.h" line="179"/>
        <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="gstbaseaudiosink.c"
                 line="674">a #GstBaseAudioSink</doc>
            <type name="BaseAudioSink" c:type="GstBaseAudioSink*"/>
          </instance-parameter>
          <parameter name="drift_tolerance" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstbaseaudiosink.c"
                 line="675">the new drift tolerance in microseconds</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_provide_clock"
              c:identifier="gst_base_audio_sink_set_provide_clock"
              version="0.10.16">
        <doc xml:space="preserve"
             filename="gstbaseaudiosink.c"
             line="580">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="gstbaseaudiosink.h" line="171"/>
        <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="gstbaseaudiosink.c"
                 line="582">a #GstBaseAudioSink</doc>
            <type name="BaseAudioSink" c:type="GstBaseAudioSink*"/>
          </instance-parameter>
          <parameter name="provide" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstbaseaudiosink.c"
                 line="583">new state</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_slave_method"
              c:identifier="gst_base_audio_sink_set_slave_method"
              version="0.10.16">
        <doc xml:space="preserve"
             filename="gstbaseaudiosink.c"
             line="627">Controls how clock slaving will be performed in @sink.</doc>
        <source-position filename="gstbaseaudiosink.h" line="174"/>
        <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="gstbaseaudiosink.c"
                 line="629">a #GstBaseAudioSink</doc>
            <type name="BaseAudioSink" c:type="GstBaseAudioSink*"/>
          </instance-parameter>
          <parameter name="method" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstbaseaudiosink.c"
                 line="630">the new slave method</doc>
            <type name="BaseAudioSinkSlaveMethod"
                  c:type="GstBaseAudioSinkSlaveMethod"/>
          </parameter>
        </parameters>
      </method>
      <property name="alignment-threshold"
                writable="1"
                transfer-ownership="none">
        <type name="guint64" c:type="guint64"/>
      </property>
      <property name="buffer-time" writable="1" transfer-ownership="none">
        <type name="gint64" c:type="gint64"/>
      </property>
      <property name="can-activate-pull"
                writable="1"
                transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="discont-wait"
                version="0.10.36"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gstbaseaudiosink.c"
             line="267">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"
                version="0.10.26"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gstbaseaudiosink.c"
             line="240">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">
        <type name="gint64" c:type="gint64"/>
      </property>
      <property name="provide-clock" writable="1" transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="slave-method" writable="1" transfer-ownership="none">
        <type name="BaseAudioSinkSlaveMethod"/>
      </property>
      <field name="element">
        <type name="GstBase.BaseSink" c:type="GstBaseSink"/>
      </field>
      <field name="ringbuffer">
        <type name="RingBuffer" c:type="GstRingBuffer*"/>
      </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="provide_clock">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="provided_clock">
        <type name="Gst.Clock" c:type="GstClock*"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="BaseAudioSinkPrivate" c:type="GstBaseAudioSinkPrivate*"/>
      </field>
      <union name="abidata" c:type="abidata">
        <source-position filename="gstbaseaudiosink.h" line="137"/>
        <record name="ABI" c:type="ABI">
          <source-position filename="gstbaseaudiosink.h" line="135"/>
          <field name="eos_rendering" writable="1">
            <type name="gboolean" c:type="gboolean"/>
          </field>
        </record>
        <field name="_gst_reserved" writable="1">
          <array zero-terminated="0" fixed-size="3">
            <type name="gpointer" c:type="gpointer"/>
          </array>
        </field>
      </union>
    </class>
    <record name="BaseAudioSinkClass"
            c:type="GstBaseAudioSinkClass"
            glib:is-gtype-struct-for="BaseAudioSink">
      <doc xml:space="preserve"
           filename="gstbaseaudiosink.h"
           line="140">#GstBaseAudioSink class. Override the vmethod to implement
functionality.</doc>
      <source-position filename="gstbaseaudiosink.h" line="164"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="gstbaseaudiosink.h"
             line="142">the parent class.</doc>
        <type name="GstBase.BaseSinkClass" c:type="GstBaseSinkClass"/>
      </field>
      <field name="create_ringbuffer" introspectable="0">
        <callback name="create_ringbuffer" introspectable="0">
          <source-position filename="gstbaseaudiosink.h" line="156"/>
          <return-value>
            <doc xml:space="preserve"
                 filename="gstbaseaudiosink.c"
                 line="1983">The new ringbuffer of @sink.</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </return-value>
          <parameters>
            <parameter name="sink" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gstbaseaudiosink.c"
                   line="1977">a #GstBaseAudioSink.</doc>
              <type name="BaseAudioSink" c:type="GstBaseAudioSink*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="payload" introspectable="0">
        <callback name="payload" introspectable="0">
          <source-position filename="gstbaseaudiosink.h" line="159"/>
          <return-value>
            <type name="Gst.Buffer" c:type="GstBuffer*"/>
          </return-value>
          <parameters>
            <parameter name="sink" transfer-ownership="none">
              <type name="BaseAudioSink" c:type="GstBaseAudioSink*"/>
            </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="3">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="BaseAudioSinkPrivate"
            c:type="GstBaseAudioSinkPrivate"
            disguised="1">
      <source-position filename="gstbaseaudiosink.h" line="102"/>
    </record>
    <enumeration name="BaseAudioSinkSlaveMethod"
                 glib:type-name="GstBaseAudioSinkSlaveMethod"
                 glib:get-type="gst_base_audio_sink_slave_method_get_type"
                 c:type="GstBaseAudioSinkSlaveMethod">
      <doc xml:space="preserve"
           filename="gstbaseaudiosink.h"
           line="81">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_BASE_AUDIO_SINK_SLAVE_RESAMPLE"
              glib:nick="resample">
        <doc xml:space="preserve"
             filename="gstbaseaudiosink.h"
             line="83">Resample to match the master clock</doc>
      </member>
      <member name="skew"
              value="1"
              c:identifier="GST_BASE_AUDIO_SINK_SLAVE_SKEW"
              glib:nick="skew">
        <doc xml:space="preserve"
             filename="gstbaseaudiosink.h"
             line="84">Adjust playout pointer when master clock
drifts too much.</doc>
      </member>
      <member name="none"
              value="2"
              c:identifier="GST_BASE_AUDIO_SINK_SLAVE_NONE"
              glib:nick="none">
        <doc xml:space="preserve"
             filename="gstbaseaudiosink.h"
             line="86">No adjustment is done.</doc>
      </member>
    </enumeration>
    <class name="BaseAudioSrc"
           c:symbol-prefix="base_audio_src"
           c:type="GstBaseAudioSrc"
           parent="GstBase.PushSrc"
           glib:type-name="GstBaseAudioSrc"
           glib:get-type="gst_base_audio_src_get_type"
           glib:type-struct="BaseAudioSrcClass">
      <doc xml:space="preserve"
           filename="gstbaseaudiosrc.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.

Last reviewed on 2006-09-27 (0.10.12)</doc>
      <source-position filename="gstbaseaudiosrc.h" line="128"/>
      <virtual-method name="create_ringbuffer"
                      invoker="create_ringbuffer"
                      introspectable="0">
        <doc xml:space="preserve"
             filename="gstbaseaudiosrc.c"
             line="1046">Create and return the #GstRingBuffer 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="gstbaseaudiosrc.h" line="124"/>
        <return-value>
          <doc xml:space="preserve"
               filename="gstbaseaudiosrc.c"
               line="1054">The new ringbuffer of @src.</doc>
          <type name="RingBuffer" c:type="GstRingBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstbaseaudiosrc.c"
                 line="1048">a #GstBaseAudioSrc.</doc>
            <type name="BaseAudioSrc" c:type="GstBaseAudioSrc*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="create_ringbuffer"
              c:identifier="gst_base_audio_src_create_ringbuffer"
              introspectable="0">
        <doc xml:space="preserve"
             filename="gstbaseaudiosrc.c"
             line="1046">Create and return the #GstRingBuffer 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="gstbaseaudiosrc.h" line="133"/>
        <return-value>
          <doc xml:space="preserve"
               filename="gstbaseaudiosrc.c"
               line="1054">The new ringbuffer of @src.</doc>
          <type name="RingBuffer" c:type="GstRingBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstbaseaudiosrc.c"
                 line="1048">a #GstBaseAudioSrc.</doc>
            <type name="BaseAudioSrc" c:type="GstBaseAudioSrc*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_provide_clock"
              c:identifier="gst_base_audio_src_get_provide_clock"
              version="0.10.16">
        <doc xml:space="preserve"
             filename="gstbaseaudiosrc.c"
             line="387">Queries whether @src will provide a clock or not. See also
gst_base_audio_src_set_provide_clock.</doc>
        <source-position filename="gstbaseaudiosrc.h" line="136"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstbaseaudiosrc.c"
               line="394">%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="gstbaseaudiosrc.c"
                 line="389">a #GstBaseAudioSrc</doc>
            <type name="BaseAudioSrc" c:type="GstBaseAudioSrc*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_slave_method"
              c:identifier="gst_base_audio_src_get_slave_method"
              version="0.10.20">
        <doc xml:space="preserve"
             filename="gstbaseaudiosrc.c"
             line="432">Get the current slave method used by @src.</doc>
        <source-position filename="gstbaseaudiosrc.h" line="141"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstbaseaudiosrc.c"
               line="438">The current slave method used by @src.</doc>
          <type name="BaseAudioSrcSlaveMethod"
                c:type="GstBaseAudioSrcSlaveMethod"/>
        </return-value>
        <parameters>
          <instance-parameter name="src" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstbaseaudiosrc.c"
                 line="434">a #GstBaseAudioSrc</doc>
            <type name="BaseAudioSrc" c:type="GstBaseAudioSrc*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_provide_clock"
              c:identifier="gst_base_audio_src_set_provide_clock"
              version="0.10.16">
        <doc xml:space="preserve"
             filename="gstbaseaudiosrc.c"
             line="366">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="gstbaseaudiosrc.h" line="135"/>
        <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="gstbaseaudiosrc.c"
                 line="368">a #GstBaseAudioSrc</doc>
            <type name="BaseAudioSrc" c:type="GstBaseAudioSrc*"/>
          </instance-parameter>
          <parameter name="provide" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstbaseaudiosrc.c"
                 line="369">new state</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_slave_method"
              c:identifier="gst_base_audio_src_set_slave_method"
              version="0.10.20">
        <doc xml:space="preserve"
             filename="gstbaseaudiosrc.c"
             line="412">Controls how clock slaving will be performed in @src.</doc>
        <source-position filename="gstbaseaudiosrc.h" line="138"/>
        <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="gstbaseaudiosrc.c"
                 line="414">a #GstBaseAudioSrc</doc>
            <type name="BaseAudioSrc" c:type="GstBaseAudioSrc*"/>
          </instance-parameter>
          <parameter name="method" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstbaseaudiosrc.c"
                 line="415">the new slave method</doc>
            <type name="BaseAudioSrcSlaveMethod"
                  c:type="GstBaseAudioSrcSlaveMethod"/>
          </parameter>
        </parameters>
      </method>
      <property name="actual-buffer-time"
                version="0.10.20"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gstbaseaudiosrc.c"
             line="185">Actual configured size of audio buffer in microseconds.</doc>
        <type name="gint64" c:type="gint64"/>
      </property>
      <property name="actual-latency-time"
                version="0.10.20"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gstbaseaudiosrc.c"
             line="198">Actual configured audio latency in microseconds.</doc>
        <type name="gint64" c:type="gint64"/>
      </property>
      <property name="buffer-time" writable="1" transfer-ownership="none">
        <type name="gint64" c:type="gint64"/>
      </property>
      <property name="latency-time" writable="1" transfer-ownership="none">
        <type name="gint64" c:type="gint64"/>
      </property>
      <property name="provide-clock" writable="1" transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="slave-method" writable="1" transfer-ownership="none">
        <type name="BaseAudioSrcSlaveMethod"/>
      </property>
      <field name="element">
        <type name="GstBase.PushSrc" c:type="GstPushSrc"/>
      </field>
      <field name="ringbuffer">
        <type name="RingBuffer" c:type="GstRingBuffer*"/>
      </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="BaseAudioSrcPrivate" c:type="GstBaseAudioSrcPrivate*"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="3">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </class>
    <record name="BaseAudioSrcClass"
            c:type="GstBaseAudioSrcClass"
            glib:is-gtype-struct-for="BaseAudioSrc">
      <doc xml:space="preserve"
           filename="gstbaseaudiosrc.h"
           line="112">#GstBaseAudioSrc class. Override the vmethod to implement
functionality.</doc>
      <source-position filename="gstbaseaudiosrc.h" line="128"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="gstbaseaudiosrc.h"
             line="114">the parent class.</doc>
        <type name="GstBase.PushSrcClass" c:type="GstPushSrcClass"/>
      </field>
      <field name="create_ringbuffer" introspectable="0">
        <callback name="create_ringbuffer" introspectable="0">
          <source-position filename="gstbaseaudiosrc.h" line="124"/>
          <return-value>
            <doc xml:space="preserve"
                 filename="gstbaseaudiosrc.c"
                 line="1054">The new ringbuffer of @src.</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </return-value>
          <parameters>
            <parameter name="src" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gstbaseaudiosrc.c"
                   line="1048">a #GstBaseAudioSrc.</doc>
              <type name="BaseAudioSrc" c:type="GstBaseAudioSrc*"/>
            </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="BaseAudioSrcPrivate"
            c:type="GstBaseAudioSrcPrivate"
            disguised="1">
      <source-position filename="gstbaseaudiosrc.h" line="60"/>
    </record>
    <enumeration name="BaseAudioSrcSlaveMethod"
                 glib:type-name="GstBaseAudioSrcSlaveMethod"
                 glib:get-type="gst_base_audio_src_slave_method_get_type"
                 c:type="GstBaseAudioSrcSlaveMethod">
      <doc xml:space="preserve"
           filename="gstbaseaudiosrc.h"
           line="62">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_BASE_AUDIO_SRC_SLAVE_RESAMPLE"
              glib:nick="resample">
        <doc xml:space="preserve"
             filename="gstbaseaudiosrc.h"
             line="64">Resample to match the master clock.</doc>
      </member>
      <member name="re_timestamp"
              value="1"
              c:identifier="GST_BASE_AUDIO_SRC_SLAVE_RETIMESTAMP"
              glib:nick="re-timestamp">
        <doc xml:space="preserve"
             filename="gstbaseaudiosrc.h"
             line="65">Retimestamp output buffers with master
clock time.</doc>
      </member>
      <member name="skew"
              value="2"
              c:identifier="GST_BASE_AUDIO_SRC_SLAVE_SKEW"
              glib:nick="skew">
        <doc xml:space="preserve"
             filename="gstbaseaudiosrc.h"
             line="67">Adjust capture pointer when master clock
drifts too much.</doc>
      </member>
      <member name="none"
              value="3"
              c:identifier="GST_BASE_AUDIO_SRC_SLAVE_NONE"
              glib:nick="none">
        <doc xml:space="preserve"
             filename="gstbaseaudiosrc.h"
             line="69">No adjustment is done.</doc>
      </member>
    </enumeration>
    <enumeration name="BufferFormat"
                 glib:type-name="GstBufferFormat"
                 glib:get-type="gst_buffer_format_get_type"
                 c:type="GstBufferFormat">
      <doc xml:space="preserve"
           filename="gstringbuffer.h"
           line="119">The detailed format of the samples in the ringbuffer.</doc>
      <member name="unknown"
              value="0"
              c:identifier="GST_UNKNOWN"
              glib:nick="unknown">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="121">unspecified</doc>
      </member>
      <member name="s8" value="1" c:identifier="GST_S8" glib:nick="s8">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="122">integer signed 8 bit</doc>
      </member>
      <member name="u8" value="2" c:identifier="GST_U8" glib:nick="u8">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="123">integer unsigned 8 bit</doc>
      </member>
      <member name="s16_le"
              value="3"
              c:identifier="GST_S16_LE"
              glib:nick="s16-le">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="124">integer signed 16 bit little endian</doc>
      </member>
      <member name="s16_be"
              value="4"
              c:identifier="GST_S16_BE"
              glib:nick="s16-be">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="125">integer signed 16 bit big endian</doc>
      </member>
      <member name="u16_le"
              value="5"
              c:identifier="GST_U16_LE"
              glib:nick="u16-le">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="126">integer unsigned 16 bit little endian</doc>
      </member>
      <member name="u16_be"
              value="6"
              c:identifier="GST_U16_BE"
              glib:nick="u16-be">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="127">integer unsigned 16 bit big endian</doc>
      </member>
      <member name="s24_le"
              value="7"
              c:identifier="GST_S24_LE"
              glib:nick="s24-le">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="128">integer signed 24 bit little endian</doc>
      </member>
      <member name="s24_be"
              value="8"
              c:identifier="GST_S24_BE"
              glib:nick="s24-be">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="129">integer signed 24 bit big endian</doc>
      </member>
      <member name="u24_le"
              value="9"
              c:identifier="GST_U24_LE"
              glib:nick="u24-le">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="130">integer unsigned 24 bit little endian</doc>
      </member>
      <member name="u24_be"
              value="10"
              c:identifier="GST_U24_BE"
              glib:nick="u24-be">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="131">integer unsigned 24 bit big endian</doc>
      </member>
      <member name="s32_le"
              value="11"
              c:identifier="GST_S32_LE"
              glib:nick="s32-le">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="132">integer signed 32 bit little endian</doc>
      </member>
      <member name="s32_be"
              value="12"
              c:identifier="GST_S32_BE"
              glib:nick="s32-be">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="133">integer signed 32 bit big endian</doc>
      </member>
      <member name="u32_le"
              value="13"
              c:identifier="GST_U32_LE"
              glib:nick="u32-le">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="134">integer unsigned 32 bit little endian</doc>
      </member>
      <member name="u32_be"
              value="14"
              c:identifier="GST_U32_BE"
              glib:nick="u32-be">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="135">integer unsigned 32 bit big endian</doc>
      </member>
      <member name="s24_3le"
              value="15"
              c:identifier="GST_S24_3LE"
              glib:nick="s24-3le">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="136">integer signed 24 bit little endian packed in 3 bytes</doc>
      </member>
      <member name="s24_3be"
              value="16"
              c:identifier="GST_S24_3BE"
              glib:nick="s24-3be">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="137">integer signed 24 bit big endian packed in 3 bytes</doc>
      </member>
      <member name="u24_3le"
              value="17"
              c:identifier="GST_U24_3LE"
              glib:nick="u24-3le">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="138">integer unsigned 24 bit little endian packed in 3 bytes</doc>
      </member>
      <member name="u24_3be"
              value="18"
              c:identifier="GST_U24_3BE"
              glib:nick="u24-3be">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="139">integer unsigned 24 bit big endian packed in 3 bytes</doc>
      </member>
      <member name="s20_3le"
              value="19"
              c:identifier="GST_S20_3LE"
              glib:nick="s20-3le">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="140">integer signed 20 bit little endian packed in 3 bytes</doc>
      </member>
      <member name="s20_3be"
              value="20"
              c:identifier="GST_S20_3BE"
              glib:nick="s20-3be">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="141">integer signed 20 bit big endian packed in 3 bytes</doc>
      </member>
      <member name="u20_3le"
              value="21"
              c:identifier="GST_U20_3LE"
              glib:nick="u20-3le">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="142">integer unsigned 20 bit little endian packed in 3 bytes</doc>
      </member>
      <member name="u20_3be"
              value="22"
              c:identifier="GST_U20_3BE"
              glib:nick="u20-3be">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="143">integer unsigned 20 bit big endian packed in 3 bytes</doc>
      </member>
      <member name="s18_3le"
              value="23"
              c:identifier="GST_S18_3LE"
              glib:nick="s18-3le">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="144">integer signed 18 bit little endian packed in 3 bytes</doc>
      </member>
      <member name="s18_3be"
              value="24"
              c:identifier="GST_S18_3BE"
              glib:nick="s18-3be">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="145">integer signed 18 bit big endian packed in 3 bytes</doc>
      </member>
      <member name="u18_3le"
              value="25"
              c:identifier="GST_U18_3LE"
              glib:nick="u18-3le">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="146">integer unsigned 18 bit little endian packed in 3 bytes</doc>
      </member>
      <member name="u18_3be"
              value="26"
              c:identifier="GST_U18_3BE"
              glib:nick="u18-3be">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="147">integer unsigned 18 bit big endian packed in 3 bytes</doc>
      </member>
      <member name="float32_le"
              value="27"
              c:identifier="GST_FLOAT32_LE"
              glib:nick="float32-le">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="148">floating 32 bit little endian</doc>
      </member>
      <member name="float32_be"
              value="28"
              c:identifier="GST_FLOAT32_BE"
              glib:nick="float32-be">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="149">floating 32 bit big endian</doc>
      </member>
      <member name="float64_le"
              value="29"
              c:identifier="GST_FLOAT64_LE"
              glib:nick="float64-le">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="150">floating 64 bit little endian</doc>
      </member>
      <member name="float64_be"
              value="30"
              c:identifier="GST_FLOAT64_BE"
              glib:nick="float64-be">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="151">floating 64 bit big endian</doc>
      </member>
      <member name="mu_law"
              value="31"
              c:identifier="GST_MU_LAW"
              glib:nick="mu-law">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="152">mu-law</doc>
      </member>
      <member name="a_law"
              value="32"
              c:identifier="GST_A_LAW"
              glib:nick="a-law">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="153">a-law</doc>
      </member>
      <member name="ima_adpcm"
              value="33"
              c:identifier="GST_IMA_ADPCM"
              glib:nick="ima-adpcm">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="154">ima adpcm</doc>
      </member>
      <member name="mpeg" value="34" c:identifier="GST_MPEG" glib:nick="mpeg">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="155">mpeg audio (but not aac)</doc>
      </member>
      <member name="gsm" value="35" c:identifier="GST_GSM" glib:nick="gsm">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="156">gsm</doc>
      </member>
      <member name="iec958"
              value="36"
              c:identifier="GST_IEC958"
              glib:nick="iec958">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="157">IEC958 frames</doc>
      </member>
      <member name="ac3" value="37" c:identifier="GST_AC3" glib:nick="ac3">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="158">ac3</doc>
      </member>
      <member name="eac3" value="38" c:identifier="GST_EAC3" glib:nick="eac3">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="159">eac3</doc>
      </member>
      <member name="dts" value="39" c:identifier="GST_DTS" glib:nick="dts">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="160">dts</doc>
      </member>
      <member name="mpeg2_aac"
              value="40"
              c:identifier="GST_MPEG2_AAC"
              glib:nick="mpeg2-aac">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="161">mpeg-2 aac</doc>
      </member>
      <member name="mpeg4_aac"
              value="41"
              c:identifier="GST_MPEG4_AAC"
              glib:nick="mpeg4-aac">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="162">mpeg-4 aac</doc>
      </member>
    </enumeration>
    <enumeration name="BufferFormatType"
                 glib:type-name="GstBufferFormatType"
                 glib:get-type="gst_buffer_format_type_get_type"
                 c:type="GstBufferFormatType">
      <doc xml:space="preserve"
           filename="gstringbuffer.h"
           line="84">The format of the samples in the ringbuffer.</doc>
      <member name="linear"
              value="0"
              c:identifier="GST_BUFTYPE_LINEAR"
              glib:nick="linear">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="86">samples in linear PCM</doc>
      </member>
      <member name="float"
              value="1"
              c:identifier="GST_BUFTYPE_FLOAT"
              glib:nick="float">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="87">samples in float</doc>
      </member>
      <member name="mu_law"
              value="2"
              c:identifier="GST_BUFTYPE_MU_LAW"
              glib:nick="mu-law">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="88">samples in mulaw</doc>
      </member>
      <member name="a_law"
              value="3"
              c:identifier="GST_BUFTYPE_A_LAW"
              glib:nick="a-law">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="89">samples in alaw</doc>
      </member>
      <member name="ima_adpcm"
              value="4"
              c:identifier="GST_BUFTYPE_IMA_ADPCM"
              glib:nick="ima-adpcm">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="90">samples in ima adpcm</doc>
      </member>
      <member name="mpeg"
              value="5"
              c:identifier="GST_BUFTYPE_MPEG"
              glib:nick="mpeg">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="91">samples in mpeg audio (but not AAC) format</doc>
      </member>
      <member name="gsm"
              value="6"
              c:identifier="GST_BUFTYPE_GSM"
              glib:nick="gsm">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="92">samples in gsm format</doc>
      </member>
      <member name="iec958"
              value="7"
              c:identifier="GST_BUFTYPE_IEC958"
              glib:nick="iec958">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="93">samples in IEC958 frames (e.g. AC3)</doc>
      </member>
      <member name="ac3"
              value="8"
              c:identifier="GST_BUFTYPE_AC3"
              glib:nick="ac3">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="94">samples in AC3 format</doc>
      </member>
      <member name="eac3"
              value="9"
              c:identifier="GST_BUFTYPE_EAC3"
              glib:nick="eac3">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="95">samples in EAC3 format</doc>
      </member>
      <member name="dts"
              value="10"
              c:identifier="GST_BUFTYPE_DTS"
              glib:nick="dts">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="96">samples in DTS format</doc>
      </member>
      <member name="mpeg2_aac"
              value="11"
              c:identifier="GST_BUFTYPE_MPEG2_AAC"
              glib:nick="mpeg2-aac">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="97">samples in MPEG-2 AAC format</doc>
      </member>
      <member name="mpeg4_aac"
              value="12"
              c:identifier="GST_BUFTYPE_MPEG4_AAC"
              glib:nick="mpeg4-aac">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="98">samples in MPEG-4 AAC format</doc>
      </member>
    </enumeration>
    <function-macro name="CLOCK_TIME_TO_FRAMES"
                    c:identifier="GST_CLOCK_TIME_TO_FRAMES"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="audio.h"
           line="325">Calculate frames from @clocktime and sample @rate.</doc>
      <source-position filename="audio.h" line="332"/>
      <parameters>
        <parameter name="clocktime">
          <doc xml:space="preserve"
               filename="audio.h"
               line="327">clock time</doc>
        </parameter>
        <parameter name="rate">
          <doc xml:space="preserve"
               filename="audio.h"
               line="328">sampling rate</doc>
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="FRAMES_TO_CLOCK_TIME"
                    c:identifier="GST_FRAMES_TO_CLOCK_TIME"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="audio.h"
           line="315">Calculate clocktime from sample @frames and @rate.</doc>
      <source-position filename="audio.h" line="322"/>
      <parameters>
        <parameter name="frames">
          <doc xml:space="preserve"
               filename="audio.h"
               line="317">sample frames</doc>
        </parameter>
        <parameter name="rate">
          <doc xml:space="preserve"
               filename="audio.h"
               line="318">sampling rate</doc>
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_AUDIO_CLOCK"
                    c:identifier="GST_IS_AUDIO_CLOCK"
                    introspectable="0">
      <source-position filename="gstaudioclock.h" line="36"/>
      <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="gstaudioclock.h" line="38"/>
      <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="gstaudiodecoder.h" line="39"/>
      <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="gstaudiodecoder.h" line="41"/>
      <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="gstaudioencoder.h" line="34"/>
      <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="gstaudioencoder.h" line="35"/>
      <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="gstaudiofilter.h" line="42"/>
      <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="gstaudiofilter.h" line="44"/>
      <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="gstaudiosink.h" line="35"/>
      <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="gstaudiosink.h" line="36"/>
      <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="gstaudiosrc.h" line="35"/>
      <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="gstaudiosrc.h" line="36"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_BASE_AUDIO_SINK"
                    c:identifier="GST_IS_BASE_AUDIO_SINK"
                    introspectable="0">
      <source-position filename="gstbaseaudiosink.h" line="63"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_BASE_AUDIO_SINK_CLASS"
                    c:identifier="GST_IS_BASE_AUDIO_SINK_CLASS"
                    introspectable="0">
      <source-position filename="gstbaseaudiosink.h" line="64"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_BASE_AUDIO_SRC"
                    c:identifier="GST_IS_BASE_AUDIO_SRC"
                    introspectable="0">
      <source-position filename="gstbaseaudiosrc.h" line="40"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_BASE_AUDIO_SRC_CLASS"
                    c:identifier="GST_IS_BASE_AUDIO_SRC_CLASS"
                    introspectable="0">
      <source-position filename="gstbaseaudiosrc.h" line="41"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_RING_BUFFER"
                    c:identifier="GST_IS_RING_BUFFER"
                    introspectable="0">
      <source-position filename="gstringbuffer.h" line="35"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_RING_BUFFER_CLASS"
                    c:identifier="GST_IS_RING_BUFFER_CLASS"
                    introspectable="0">
      <source-position filename="gstringbuffer.h" line="36"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="RING_BUFFER"
                    c:identifier="GST_RING_BUFFER"
                    introspectable="0">
      <source-position filename="gstringbuffer.h" line="31"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="RING_BUFFER_BROADCAST"
                    c:identifier="GST_RING_BUFFER_BROADCAST"
                    introspectable="0">
      <source-position filename="gstringbuffer.h" line="287"/>
      <parameters>
        <parameter name="buf">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="RING_BUFFER_CAST"
                    c:identifier="GST_RING_BUFFER_CAST"
                    introspectable="0">
      <source-position filename="gstringbuffer.h" line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="RING_BUFFER_CLASS"
                    c:identifier="GST_RING_BUFFER_CLASS"
                    introspectable="0">
      <source-position filename="gstringbuffer.h" line="32"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="RING_BUFFER_GET_CLASS"
                    c:identifier="GST_RING_BUFFER_GET_CLASS"
                    introspectable="0">
      <source-position filename="gstringbuffer.h" line="33"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="RING_BUFFER_GET_COND"
                    c:identifier="GST_RING_BUFFER_GET_COND"
                    introspectable="0">
      <source-position filename="gstringbuffer.h" line="284"/>
      <parameters>
        <parameter name="buf">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="RING_BUFFER_SIGNAL"
                    c:identifier="GST_RING_BUFFER_SIGNAL"
                    introspectable="0">
      <source-position filename="gstringbuffer.h" line="286"/>
      <parameters>
        <parameter name="buf">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="RING_BUFFER_WAIT"
                    c:identifier="GST_RING_BUFFER_WAIT"
                    introspectable="0">
      <source-position filename="gstringbuffer.h" line="285"/>
      <parameters>
        <parameter name="buf">
        </parameter>
      </parameters>
    </function-macro>
    <class name="RingBuffer"
           c:symbol-prefix="ring_buffer"
           c:type="GstRingBuffer"
           parent="Gst.Object"
           abstract="1"
           glib:type-name="GstRingBuffer"
           glib:get-type="gst_ring_buffer_get_type"
           glib:type-struct="RingBufferClass">
      <doc xml:space="preserve"
           filename="gstringbuffer.c"
           line="20">&lt;refsect2&gt;
&lt;para&gt;
This object is the base class for audio ringbuffers used by the base
audio source and sink classes.
&lt;/para&gt;
&lt;para&gt;
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.
&lt;/para&gt;
&lt;/refsect2&gt;

Last reviewed on 2006-02-02 (0.10.4)</doc>
      <source-position filename="gstringbuffer.h" line="388"/>
      <function name="debug_spec_buff"
                c:identifier="gst_ring_buffer_debug_spec_buff">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="289">Print debug info about the buffer sized in @spec to the debug log.</doc>
        <source-position filename="gstringbuffer.h" line="398"/>
        <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="gstringbuffer.c"
                 line="291">the spec to debug</doc>
            <type name="RingBufferSpec" c:type="GstRingBufferSpec*"/>
          </parameter>
        </parameters>
      </function>
      <function name="debug_spec_caps"
                c:identifier="gst_ring_buffer_debug_spec_caps">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="260">Print debug info about the parsed caps in @spec to the debug log.</doc>
        <source-position filename="gstringbuffer.h" line="397"/>
        <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="gstringbuffer.c"
                 line="262">the spec to debug</doc>
            <type name="RingBufferSpec" c:type="GstRingBufferSpec*"/>
          </parameter>
        </parameters>
      </function>
      <function name="parse_caps" c:identifier="gst_ring_buffer_parse_caps">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="311">Parse @caps into @spec.</doc>
        <source-position filename="gstringbuffer.h" line="396"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="318">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="gstringbuffer.c"
                 line="313">a spec</doc>
            <type name="RingBufferSpec" c:type="GstRingBufferSpec*"/>
          </parameter>
          <parameter name="caps" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="314">a #GstCaps</doc>
            <type name="Gst.Caps" c:type="GstCaps*"/>
          </parameter>
        </parameters>
      </function>
      <virtual-method name="acquire" invoker="acquire">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="781">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="gstringbuffer.h" line="366"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="790">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="gstringbuffer.c"
                 line="783">the #GstRingBuffer to acquire</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
          <parameter name="spec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="784">the specs of the buffer</doc>
            <type name="RingBufferSpec" c:type="GstRingBufferSpec*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="activate" invoker="activate" version="0.10.22.">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="973">Activate @buf to start or stop pulling data.

MT safe.</doc>
        <source-position filename="gstringbuffer.h" line="378"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="982">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="gstringbuffer.c"
                 line="975">the #GstRingBuffer to activate</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
          <parameter name="active" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="976">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="gstringbuffer.c"
             line="1456">Fill the ringbuffer with silence.

MT safe.</doc>
        <source-position filename="gstringbuffer.h" line="384"/>
        <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="gstringbuffer.c"
                 line="1458">the #GstRingBuffer to clear</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="close_device" invoker="close_device">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="690">Close the audio device associated with the ring buffer. The ring buffer
should already have been released via gst_ring_buffer_release().</doc>
        <source-position filename="gstringbuffer.h" line="368"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="697">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="gstringbuffer.c"
                 line="692">the #GstRingBuffer</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="commit">
        <source-position filename="gstringbuffer.h" line="380"/>
        <return-value transfer-ownership="none">
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
          <parameter name="sample" transfer-ownership="none">
            <type name="guint64" c:type="guint64*"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <type name="guint8" c:type="guchar*"/>
          </parameter>
          <parameter name="in_samples" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="out_samples" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="accum" transfer-ownership="none">
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="delay" invoker="delay">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="1329">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 transfered 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 transfered to the ringbuffer.</doc>
        <source-position filename="gstringbuffer.h" line="375"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="1344">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="gstringbuffer.c"
                 line="1331">the #GstRingBuffer to query</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="open_device" invoker="open_device">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="629">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="gstringbuffer.h" line="365"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="637">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="gstringbuffer.c"
                 line="631">the #GstRingBuffer</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="pause" invoker="pause">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="1226">Pause processing samples from the ringbuffer.</doc>
        <source-position filename="gstringbuffer.h" line="371"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="1232">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="gstringbuffer.c"
                 line="1228">the #GstRingBuffer to pause</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="release" invoker="release">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="883">Free the resources of the ringbuffer.</doc>
        <source-position filename="gstringbuffer.h" line="367"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="889">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="gstringbuffer.c"
                 line="885">the #GstRingBuffer to release</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="resume">
        <source-position filename="gstringbuffer.h" line="372"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buf" transfer-ownership="none">
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="start" invoker="start">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="1095">Start processing samples from the ringbuffer.</doc>
        <source-position filename="gstringbuffer.h" line="370"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="1101">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="gstringbuffer.c"
                 line="1097">the #GstRingBuffer to start</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="stop" invoker="stop">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="1270">Stop processing samples from the ringbuffer.</doc>
        <source-position filename="gstringbuffer.h" line="373"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="1276">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="gstringbuffer.c"
                 line="1272">the #GstRingBuffer to stop</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="acquire" c:identifier="gst_ring_buffer_acquire">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="781">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="gstringbuffer.h" line="411"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="790">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="gstringbuffer.c"
                 line="783">the #GstRingBuffer to acquire</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
          <parameter name="spec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="784">the specs of the buffer</doc>
            <type name="RingBufferSpec" c:type="GstRingBufferSpec*"/>
          </parameter>
        </parameters>
      </method>
      <method name="activate"
              c:identifier="gst_ring_buffer_activate"
              version="0.10.22.">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="973">Activate @buf to start or stop pulling data.

MT safe.</doc>
        <source-position filename="gstringbuffer.h" line="417"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="982">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="gstringbuffer.c"
                 line="975">the #GstRingBuffer to activate</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
          <parameter name="active" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="976">the new mode</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="advance" c:identifier="gst_ring_buffer_advance">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="2012">Subclasses should call this function to notify the fact that
@advance segments are now processed by the device.

MT safe.</doc>
        <source-position filename="gstringbuffer.h" line="454"/>
        <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="gstringbuffer.c"
                 line="2014">the #GstRingBuffer to advance</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
          <parameter name="advance" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="2015">the number of segments written</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="clear" c:identifier="gst_ring_buffer_clear">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="2041">Clear the given segment of the buffer with silence samples.
This function is used by subclasses.

MT safe.</doc>
        <source-position filename="gstringbuffer.h" line="453"/>
        <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="gstringbuffer.c"
                 line="2043">the #GstRingBuffer to clear</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
          <parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="2044">the segment to clear</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="clear_all" c:identifier="gst_ring_buffer_clear_all">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="1456">Fill the ringbuffer with silence.

MT safe.</doc>
        <source-position filename="gstringbuffer.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="gstringbuffer.c"
                 line="1458">the #GstRingBuffer to clear</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="close_device" c:identifier="gst_ring_buffer_close_device">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="690">Close the audio device associated with the ring buffer. The ring buffer
should already have been released via gst_ring_buffer_release().</doc>
        <source-position filename="gstringbuffer.h" line="406"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="697">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="gstringbuffer.c"
                 line="692">the #GstRingBuffer</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="commit" c:identifier="gst_ring_buffer_commit">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="1820">Same as gst_ring_buffer_commit_full() but with a in_samples and out_samples
equal to @len, ignoring accum.</doc>
        <source-position filename="gstringbuffer.h" line="438"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="1830">The number of samples written to 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="gstringbuffer.c"
                 line="1822">the #GstRingBuffer to commit</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
          <parameter name="sample" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="1823">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="gstringbuffer.c"
                 line="1824">the data to commit</doc>
            <type name="guint8" c:type="guchar*"/>
          </parameter>
          <parameter name="len" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="1825">the number of samples in the data to commit</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="commit_full"
              c:identifier="gst_ring_buffer_commit_full"
              version="0.10.11.">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="1765">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="gstringbuffer.h" line="440"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="1794">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="gstringbuffer.c"
                 line="1767">the #GstRingBuffer to commit</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
          <parameter name="sample" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="1768">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="gstringbuffer.c"
                 line="1769">the data to commit</doc>
            <type name="guint8" c:type="guchar*"/>
          </parameter>
          <parameter name="in_samples" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="1770">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="gstringbuffer.c"
                 line="1771">the number of samples to write to the ringbuffer</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="accum" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="1772">accumulator for rate conversion.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="convert"
              c:identifier="gst_ring_buffer_convert"
              version="0.10.22.">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="510">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="gstringbuffer.h" line="400"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="521">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="gstringbuffer.c"
                 line="512">the #GstRingBuffer</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
          <parameter name="src_fmt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="513">the source format</doc>
            <type name="Gst.Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="src_val" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="514">the source value</doc>
            <type name="gint64" c:type="gint64"/>
          </parameter>
          <parameter name="dest_fmt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="515">the destination format</doc>
            <type name="Gst.Format" c:type="GstFormat"/>
          </parameter>
          <parameter name="dest_val" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="516">a location to store the converted value</doc>
            <type name="gint64" c:type="gint64*"/>
          </parameter>
        </parameters>
      </method>
      <method name="delay" c:identifier="gst_ring_buffer_delay">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="1329">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 transfered 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 transfered to the ringbuffer.</doc>
        <source-position filename="gstringbuffer.h" line="429"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="1344">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="gstringbuffer.c"
                 line="1331">the #GstRingBuffer to query</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="device_is_open"
              c:identifier="gst_ring_buffer_device_is_open">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="757">Checks the status of the device associated with the ring buffer.</doc>
        <source-position filename="gstringbuffer.h" line="408"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="763">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="gstringbuffer.c"
                 line="759">the #GstRingBuffer</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_acquired" c:identifier="gst_ring_buffer_is_acquired">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="949">Check if the ringbuffer is acquired and ready to use.</doc>
        <source-position filename="gstringbuffer.h" line="414"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="955">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="gstringbuffer.c"
                 line="951">the #GstRingBuffer to check</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_active"
              c:identifier="gst_ring_buffer_is_active"
              version="0.10.22.">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="1043">Check if @buf is activated.

MT safe.</doc>
        <source-position filename="gstringbuffer.h" line="418"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="1051">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="gstringbuffer.c"
                 line="1045">the #GstRingBuffer</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="may_start"
              c:identifier="gst_ring_buffer_may_start"
              version="0.10.6">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="2076">Tell the ringbuffer that it is allowed to start playback when
the ringbuffer is filled with samples.

MT safe.</doc>
        <source-position filename="gstringbuffer.h" line="456"/>
        <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="gstringbuffer.c"
                 line="2078">the #GstRingBuffer</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
          <parameter name="allowed" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="2079">the new value</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="open_device" c:identifier="gst_ring_buffer_open_device">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="629">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="gstringbuffer.h" line="405"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="637">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="gstringbuffer.c"
                 line="631">the #GstRingBuffer</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="pause" c:identifier="gst_ring_buffer_pause">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="1226">Pause processing samples from the ringbuffer.</doc>
        <source-position filename="gstringbuffer.h" line="425"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="1232">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="gstringbuffer.c"
                 line="1228">the #GstRingBuffer to pause</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="prepare_read" c:identifier="gst_ring_buffer_prepare_read">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="1958">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="gstringbuffer.h" line="452"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="1968">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="gstringbuffer.c"
                 line="1960">the #GstRingBuffer to read from</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
          <parameter name="segment" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="1961">the segment to read</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="readptr" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="1962">the pointer to the memory where samples can be read</doc>
            <type name="guint8" c:type="guint8**"/>
          </parameter>
          <parameter name="len" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="1963">the number of bytes to read</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="read" c:identifier="gst_ring_buffer_read">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="1847">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.</doc>
        <source-position filename="gstringbuffer.h" line="445"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="1862">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="gstringbuffer.c"
                 line="1849">the #GstRingBuffer to read from</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
          <parameter name="sample" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="1850">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="gstringbuffer.c"
                 line="1851">where the data should be read</doc>
            <type name="guint8" c:type="guchar*"/>
          </parameter>
          <parameter name="len" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="1852">the number of samples in data to read</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="release" c:identifier="gst_ring_buffer_release">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="883">Free the resources of the ringbuffer.</doc>
        <source-position filename="gstringbuffer.h" line="412"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="889">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="gstringbuffer.c"
                 line="885">the #GstRingBuffer to release</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="samples_done" c:identifier="gst_ring_buffer_samples_done">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="1375">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_ring_buffer_delay()).</doc>
        <source-position filename="gstringbuffer.h" line="430"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="1383">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="gstringbuffer.c"
                 line="1377">the #GstRingBuffer to query</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_callback"
              c:identifier="gst_ring_buffer_set_callback"
              introspectable="0">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="605">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="gstringbuffer.h" line="393"/>
        <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="gstringbuffer.c"
                 line="607">the #GstRingBuffer to set the callback on</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
          <parameter name="cb" transfer-ownership="none" closure="1">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="608">the callback to set</doc>
            <type name="RingBufferCallback" c:type="GstRingBufferCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="609">user data passed to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_flushing" c:identifier="gst_ring_buffer_set_flushing">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="1070">Set the ringbuffer to flushing mode or normal mode.

MT safe.</doc>
        <source-position filename="gstringbuffer.h" line="421"/>
        <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="gstringbuffer.c"
                 line="1072">the #GstRingBuffer to flush</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
          <parameter name="flushing" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="1073">the new mode</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_sample" c:identifier="gst_ring_buffer_set_sample">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="1404">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="gstringbuffer.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="gstringbuffer.c"
                 line="1406">the #GstRingBuffer to use</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
          <parameter name="sample" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="1407">the sample number to set</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="start" c:identifier="gst_ring_buffer_start">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="1095">Start processing samples from the ringbuffer.</doc>
        <source-position filename="gstringbuffer.h" line="424"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="1101">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="gstringbuffer.c"
                 line="1097">the #GstRingBuffer to start</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="stop" c:identifier="gst_ring_buffer_stop">
        <doc xml:space="preserve"
             filename="gstringbuffer.c"
             line="1270">Stop processing samples from the ringbuffer.</doc>
        <source-position filename="gstringbuffer.h" line="426"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.c"
               line="1276">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="gstringbuffer.c"
                 line="1272">the #GstRingBuffer to stop</doc>
            <type name="RingBuffer" c:type="GstRingBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <field name="object">
        <type name="Gst.Object" c:type="GstObject"/>
      </field>
      <field name="cond">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="291">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="gstringbuffer.h"
             line="292">boolean indicating that the ringbuffer is open</doc>
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="acquired">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="293">boolean indicating that the ringbuffer is acquired</doc>
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="data">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="294">data in the ringbuffer</doc>
        <type name="Gst.Buffer" c:type="GstBuffer*"/>
      </field>
      <field name="spec">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="295">format and layout of the ringbuffer data</doc>
        <type name="RingBufferSpec" c:type="GstRingBufferSpec"/>
      </field>
      <field name="segstate">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="296">status of each segment in the ringbuffer (unused)</doc>
        <type name="RingBufferSegState" c:type="GstRingBufferSegState*"/>
      </field>
      <field name="samples_per_seg">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="297">number of samples in one segment</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="empty_seg">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="298">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="gstringbuffer.h"
             line="299">state of the buffer</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="segdone">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="300">readpointer in the ringbuffer</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="segbase">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="301">segment corresponding to segment 0 (unused)</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="waiting">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="302">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="RingBufferCallback" c:type="GstRingBufferCallback"/>
      </field>
      <field name="cb_data" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <union name="abidata" c:type="abidata">
        <source-position filename="gstringbuffer.h" line="339"/>
        <record name="ABI" c:type="ABI">
          <source-position filename="gstringbuffer.h" line="336"/>
          <field name="flushing" writable="1">
            <type name="gboolean" c:type="gboolean"/>
          </field>
          <field name="may_start" writable="1">
            <type name="gint" c:type="gint"/>
          </field>
          <field name="active" writable="1">
            <type name="gboolean" c:type="gboolean"/>
          </field>
        </record>
        <field name="_gst_reserved" writable="1">
          <array zero-terminated="0" fixed-size="4">
            <type name="gpointer" c:type="gpointer"/>
          </array>
        </field>
      </union>
    </class>
    <callback name="RingBufferCallback" c:type="GstRingBufferCallback">
      <doc xml:space="preserve"
           filename="gstringbuffer.h"
           line="42">This function is set with gst_ring_buffer_set_callback() and is
called to fill the memory at @data with @len bytes of samples.</doc>
      <source-position filename="gstringbuffer.h" line="52"/>
      <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="gstringbuffer.h"
               line="44">a #GstRingBuffer</doc>
          <type name="RingBuffer" c:type="GstRingBuffer*"/>
        </parameter>
        <parameter name="data" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.h"
               line="45">target to fill</doc>
          <type name="guint8" c:type="guint8*"/>
        </parameter>
        <parameter name="len" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstringbuffer.h"
               line="46">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="gstringbuffer.h"
               line="47">user data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="RingBufferClass"
            c:type="GstRingBufferClass"
            glib:is-gtype-struct-for="RingBuffer">
      <doc xml:space="preserve"
           filename="gstringbuffer.h"
           line="342">The vmethods that subclasses can override to implement the ringbuffer.</doc>
      <source-position filename="gstringbuffer.h" line="388"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="344">parent class</doc>
        <type name="Gst.ObjectClass" c:type="GstObjectClass"/>
      </field>
      <field name="open_device">
        <callback name="open_device">
          <source-position filename="gstringbuffer.h" line="365"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="637">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="gstringbuffer.c"
                   line="631">the #GstRingBuffer</doc>
              <type name="RingBuffer" c:type="GstRingBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="acquire">
        <callback name="acquire">
          <source-position filename="gstringbuffer.h" line="366"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="790">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="gstringbuffer.c"
                   line="783">the #GstRingBuffer to acquire</doc>
              <type name="RingBuffer" c:type="GstRingBuffer*"/>
            </parameter>
            <parameter name="spec" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gstringbuffer.c"
                   line="784">the specs of the buffer</doc>
              <type name="RingBufferSpec" c:type="GstRingBufferSpec*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="release">
        <callback name="release">
          <source-position filename="gstringbuffer.h" line="367"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="889">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="gstringbuffer.c"
                   line="885">the #GstRingBuffer to release</doc>
              <type name="RingBuffer" c:type="GstRingBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="close_device">
        <callback name="close_device">
          <source-position filename="gstringbuffer.h" line="368"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="697">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="gstringbuffer.c"
                   line="692">the #GstRingBuffer</doc>
              <type name="RingBuffer" c:type="GstRingBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="start">
        <callback name="start">
          <source-position filename="gstringbuffer.h" line="370"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="1101">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="gstringbuffer.c"
                   line="1097">the #GstRingBuffer to start</doc>
              <type name="RingBuffer" c:type="GstRingBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="pause">
        <callback name="pause">
          <source-position filename="gstringbuffer.h" line="371"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="1232">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="gstringbuffer.c"
                   line="1228">the #GstRingBuffer to pause</doc>
              <type name="RingBuffer" c:type="GstRingBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="resume">
        <callback name="resume">
          <source-position filename="gstringbuffer.h" line="372"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="buf" transfer-ownership="none">
              <type name="RingBuffer" c:type="GstRingBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="stop">
        <callback name="stop">
          <source-position filename="gstringbuffer.h" line="373"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="1276">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="gstringbuffer.c"
                   line="1272">the #GstRingBuffer to stop</doc>
              <type name="RingBuffer" c:type="GstRingBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="delay">
        <callback name="delay">
          <source-position filename="gstringbuffer.h" line="375"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="1344">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="gstringbuffer.c"
                   line="1331">the #GstRingBuffer to query</doc>
              <type name="RingBuffer" c:type="GstRingBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="activate">
        <callback name="activate">
          <source-position filename="gstringbuffer.h" line="378"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gstringbuffer.c"
                 line="982">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="gstringbuffer.c"
                   line="975">the #GstRingBuffer to activate</doc>
              <type name="RingBuffer" c:type="GstRingBuffer*"/>
            </parameter>
            <parameter name="active" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gstringbuffer.c"
                   line="976">the new mode</doc>
              <type name="gboolean" c:type="gboolean"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="commit">
        <callback name="commit">
          <source-position filename="gstringbuffer.h" line="380"/>
          <return-value transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </return-value>
          <parameters>
            <parameter name="buf" transfer-ownership="none">
              <type name="RingBuffer" c:type="GstRingBuffer*"/>
            </parameter>
            <parameter name="sample" transfer-ownership="none">
              <type name="guint64" c:type="guint64*"/>
            </parameter>
            <parameter name="data" transfer-ownership="none">
              <type name="guint8" c:type="guchar*"/>
            </parameter>
            <parameter name="in_samples" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="out_samples" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="accum" transfer-ownership="none">
              <type name="gint" c:type="gint*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="clear_all">
        <callback name="clear_all">
          <source-position filename="gstringbuffer.h" line="384"/>
          <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="gstringbuffer.c"
                   line="1458">the #GstRingBuffer to clear</doc>
              <type name="RingBuffer" c:type="GstRingBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="1">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <enumeration name="RingBufferSegState"
                 glib:type-name="GstRingBufferSegState"
                 glib:get-type="gst_ring_buffer_seg_state_get_type"
                 c:type="GstRingBufferSegState">
      <doc xml:space="preserve"
           filename="gstringbuffer.h"
           line="68">The state of a segment in the ringbuffer.</doc>
      <member name="invalid"
              value="0"
              c:identifier="GST_SEGSTATE_INVALID"
              glib:nick="invalid">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="70">The content of the segment is invalid</doc>
      </member>
      <member name="empty"
              value="1"
              c:identifier="GST_SEGSTATE_EMPTY"
              glib:nick="empty">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="71">The segment is empty</doc>
      </member>
      <member name="filled"
              value="2"
              c:identifier="GST_SEGSTATE_FILLED"
              glib:nick="filled">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="72">The segment contains valid data</doc>
      </member>
      <member name="partial"
              value="3"
              c:identifier="GST_SEGSTATE_PARTIAL"
              glib:nick="partial">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="73">The segment partially contains valid data</doc>
      </member>
    </enumeration>
    <record name="RingBufferSpec" c:type="GstRingBufferSpec">
      <doc xml:space="preserve"
           filename="gstringbuffer.h"
           line="220">The structure containing the format specification of the ringbuffer.</doc>
      <source-position filename="gstringbuffer.h" line="282"/>
      <field name="caps" writable="1">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="222">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="gstringbuffer.h"
             line="223">the sample type</doc>
        <type name="BufferFormatType" c:type="GstBufferFormatType"/>
      </field>
      <field name="format" writable="1">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="224">the sample format</doc>
        <type name="BufferFormat" c:type="GstBufferFormat"/>
      </field>
      <field name="sign" writable="1">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="225">the sample sign</doc>
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="bigend" writable="1">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="226">the endianness of the samples</doc>
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="width" writable="1">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="227">the width of the samples</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="depth" writable="1">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="228">th depth of the samples</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="rate" writable="1">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="229">the samplerate</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="channels" writable="1">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="230">the number of channels</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="latency_time" writable="1">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="231">the latency in microseconds</doc>
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="buffer_time" writable="1">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="232">the total buffer size in microseconds</doc>
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="segsize" writable="1">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="233">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="gstringbuffer.h"
             line="234">the total number of segments</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="bytes_per_sample" writable="1">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="235">number of bytes in one sample</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="silence_sample" writable="1">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="236">bytes representing one sample of silence</doc>
        <array zero-terminated="0" fixed-size="32">
          <type name="guint8" c:type="guint8"/>
        </array>
      </field>
      <field name="seglatency" writable="1">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="237">number of segments queued in the lower level device,
 defaults to segtotal</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="_gst_reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="0">
          <type name="guint8" c:type="guint8"/>
        </array>
      </field>
    </record>
    <enumeration name="RingBufferState"
                 glib:type-name="GstRingBufferState"
                 glib:get-type="gst_ring_buffer_state_get_type"
                 c:type="GstRingBufferState">
      <doc xml:space="preserve"
           filename="gstringbuffer.h"
           line="54">The state of the ringbuffer.</doc>
      <member name="stopped"
              value="0"
              c:identifier="GST_RING_BUFFER_STATE_STOPPED"
              glib:nick="stopped">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="56">The ringbuffer is stopped</doc>
      </member>
      <member name="paused"
              value="1"
              c:identifier="GST_RING_BUFFER_STATE_PAUSED"
              glib:nick="paused">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="57">The ringbuffer is paused</doc>
      </member>
      <member name="started"
              value="2"
              c:identifier="GST_RING_BUFFER_STATE_STARTED"
              glib:nick="started">
        <doc xml:space="preserve"
             filename="gstringbuffer.h"
             line="58">The ringbuffer is started</doc>
      </member>
    </enumeration>
    <function name="audio_buffer_clip"
              c:identifier="gst_audio_buffer_clip"
              version="0.10.14"
              introspectable="0">
      <doc xml:space="preserve"
           filename="audio.c"
           line="704">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="audio.h" line="443"/>
      <return-value>
        <doc xml:space="preserve"
             filename="audio.c"
             line="716">%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="none">
          <doc xml:space="preserve"
               filename="audio.c"
               line="706">The buffer to clip.</doc>
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </parameter>
        <parameter name="segment" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="audio.c"
               line="707">Segment in %GST_FORMAT_TIME or %GST_FORMAT_DEFAULT to which the buffer should be clipped.</doc>
          <type name="Gst.Segment" c:type="GstSegment*"/>
        </parameter>
        <parameter name="rate" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="audio.c"
               line="708">sample rate.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="frame_size" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="audio.c"
               line="709">size of one audio frame in bytes.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_check_channel_positions"
              c:identifier="gst_audio_check_channel_positions"
              version="0.10.20">
      <doc xml:space="preserve"
           filename="multichannel.c"
           line="35">This functions checks if the given channel positions are valid. Channel
positions are valid if:
&lt;itemizedlist&gt;
  &lt;listitem&gt;&lt;para&gt;No channel positions appears twice or all positions are %GST_AUDIO_CHANNEL_POSITION_NONE.
  &lt;/para&gt;&lt;/listitem&gt;
  &lt;listitem&gt;&lt;para&gt;Either all or none of the channel positions are %GST_AUDIO_CHANNEL_POSITION_NONE.
  &lt;/para&gt;&lt;/listitem&gt;
  &lt;listitem&gt;&lt;para&gt;%GST_AUDIO_CHANNEL_POSITION_FRONT_MONO and %GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT or %GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT don't appear together in the given positions.
  &lt;/para&gt;&lt;/listitem&gt;
&lt;/itemizedlist&gt;</doc>
      <source-position filename="multichannel.h" line="115"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="multichannel.c"
             line="53">%TRUE if the given channel positions are valid
and %FALSE otherwise.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="pos" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="multichannel.c"
               line="37">An array of #GstAudioChannelPosition.</doc>
          <type name="AudioChannelPosition"
                c:type="const GstAudioChannelPosition*"/>
        </parameter>
        <parameter name="channels" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="multichannel.c"
               line="38">The number of elements in @pos.</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_default_registry_mixer_filter"
              c:identifier="gst_audio_default_registry_mixer_filter"
              version="0.10.2"
              introspectable="0">
      <doc xml:space="preserve"
           filename="mixerutils.c"
           line="190">Utility function to find audio mixer elements.

Will traverse the default plugin registry in order of plugin rank and
find usable audio mixer elements. The caller may optionally fine-tune
the selection by specifying a filter function.</doc>
      <source-position filename="mixerutils.h" line="44"/>
      <return-value>
        <doc xml:space="preserve"
             filename="mixerutils.c"
             line="202">a #GList of audio mixer #GstElement&lt;!-- --&gt;s. You must free each
         element in the list by setting it to NULL state and calling
         gst_object_unref(). After that the list itself should be freed
         using g_list_free().</doc>
        <type name="GLib.List" c:type="GList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </return-value>
      <parameters>
        <parameter name="filter_func" transfer-ownership="none" closure="2">
          <doc xml:space="preserve"
               filename="mixerutils.c"
               line="192">filter function, or #NULL</doc>
          <type name="AudioMixerFilterFunc" c:type="GstAudioMixerFilterFunc"/>
        </parameter>
        <parameter name="first" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="mixerutils.c"
               line="193">set to #TRUE if you only want the first suitable mixer element</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="mixerutils.c"
               line="194">user data to pass to the filter function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_duration_from_pad_buffer"
              c:identifier="gst_audio_duration_from_pad_buffer">
      <doc xml:space="preserve"
           filename="audio.c"
           line="101">Calculate length in nanoseconds of audio buffer @buf based on capabilities of
@pad.</doc>
      <source-position filename="audio.h" line="409"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="audio.c"
             line="109">the length.</doc>
        <type name="Gst.ClockTime" c:type="GstClockTime"/>
      </return-value>
      <parameters>
        <parameter name="pad" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="audio.c"
               line="103">the #GstPad to get the caps from</doc>
          <type name="Gst.Pad" c:type="GstPad*"/>
        </parameter>
        <parameter name="buf" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="audio.c"
               line="104">the #GstBuffer</doc>
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_fixate_channel_positions"
              c:identifier="gst_audio_fixate_channel_positions">
      <doc xml:space="preserve"
           filename="multichannel.c"
           line="514">Custom fixate function. Elements that implement some sort of
channel conversion algorithm should use this function for
fixating on GstAudioChannelPosition properties. It will take
care of equal channel positioning (left/right). Caller g_free()s
the return value. The input properties may be (and are supposed
to be) unfixed.
Note that this function is mostly a hack because we currently
have no way to add default fixation functions for new GTypes.</doc>
      <source-position filename="multichannel.h" line="113"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="multichannel.c"
             line="528">fixed values that the caller could use as a fixed
set of #GstAudioChannelPosition values.</doc>
        <type name="AudioChannelPosition" c:type="GstAudioChannelPosition*"/>
      </return-value>
      <parameters>
        <parameter name="str" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="multichannel.c"
               line="516">a #GstStructure containing a (possibly unfixed)
      "channel-positions" field.</doc>
          <type name="Gst.Structure" c:type="GstStructure*"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_format_get_info"
              c:identifier="gst_audio_format_get_info">
      <source-position filename="audio.h" line="209"/>
      <return-value transfer-ownership="none">
        <type name="AudioFormatInfo" c:type="const GstAudioFormatInfo*"/>
      </return-value>
      <parameters>
        <parameter name="format" transfer-ownership="none">
          <type name="AudioFormat" c:type="GstAudioFormat"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_frame_byte_size"
              c:identifier="gst_audio_frame_byte_size">
      <doc xml:space="preserve"
           filename="audio.c"
           line="37">Calculate byte size of an audio frame.</doc>
      <source-position filename="audio.h" line="404"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="audio.c"
             line="43">the byte size, or 0 if there was an error</doc>
        <type name="gint" c:type="int"/>
      </return-value>
      <parameters>
        <parameter name="pad" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="audio.c"
               line="39">the #GstPad to get the caps from</doc>
          <type name="Gst.Pad" c:type="GstPad*"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_frame_length" c:identifier="gst_audio_frame_length">
      <doc xml:space="preserve"
           filename="audio.c"
           line="74">Calculate length of buffer in frames.</doc>
      <source-position filename="audio.h" line="407"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="audio.c"
             line="81">0 if there's an error, or the number of frames if everything's ok</doc>
        <type name="glong" c:type="long"/>
      </return-value>
      <parameters>
        <parameter name="pad" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="audio.c"
               line="76">the #GstPad to get the caps from</doc>
          <type name="Gst.Pad" c:type="GstPad*"/>
        </parameter>
        <parameter name="buf" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="audio.c"
               line="77">the #GstBuffer</doc>
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_get_channel_positions"
              c:identifier="gst_audio_get_channel_positions">
      <doc xml:space="preserve"
           filename="multichannel.c"
           line="215">Retrieves a number of (fixed!) audio channel positions from
the provided #GstStructure and returns it as a newly allocated
array. The caller should g_free () this array. The caller
should also check that the members in this #GstStructure are
indeed "fixed" before calling this function.</doc>
      <source-position filename="multichannel.h" line="89"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="multichannel.c"
             line="225">a newly allocated array containing the channel
positions as provided in the given #GstStructure. Returns
NULL on error.</doc>
        <type name="AudioChannelPosition" c:type="GstAudioChannelPosition*"/>
      </return-value>
      <parameters>
        <parameter name="str" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="multichannel.c"
               line="217">A #GstStructure to retrieve channel positions from.</doc>
          <type name="Gst.Structure" c:type="GstStructure*"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_iec61937_frame_size"
              c:identifier="gst_audio_iec61937_frame_size"
              version="0.10.36">
      <doc xml:space="preserve"
           filename="gstaudioiec61937.c"
           line="62">Calculated the size of the buffer expected by gst_audio_iec61937_payload() for
payloading type from @spec.</doc>
      <source-position filename="gstaudioiec61937.h" line="27"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gstaudioiec61937.c"
             line="69">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="gstaudioiec61937.c"
               line="64">the ringbufer spec</doc>
          <type name="RingBufferSpec" c:type="const GstRingBufferSpec*"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_iec61937_payload"
              c:identifier="gst_audio_iec61937_payload"
              version="0.10.36">
      <doc xml:space="preserve"
           filename="gstaudioiec61937.c"
           line="132">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="gstaudioiec61937.h" line="28"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gstaudioiec61937.c"
             line="145">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="gstaudioiec61937.c"
               line="134">a buffer containing the data to payload</doc>
          <type name="guint8" c:type="const guint8*"/>
        </parameter>
        <parameter name="src_n" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudioiec61937.c"
               line="135">size of @src in bytes</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="dst" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudioiec61937.c"
               line="136">the destination buffer to store the payloaded contents in. Should not
      overlap with @src</doc>
          <type name="guint8" c:type="guint8*"/>
        </parameter>
        <parameter name="dst_n" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudioiec61937.c"
               line="138">size of @dst in bytes</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="spec" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gstaudioiec61937.c"
               line="139">the ringbufer spec for @src</doc>
          <type name="RingBufferSpec" c:type="const GstRingBufferSpec*"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_is_buffer_framed"
              c:identifier="gst_audio_is_buffer_framed">
      <doc xml:space="preserve"
           filename="audio.c"
           line="148">Check if the buffer size is a whole multiple of the frame size.</doc>
      <source-position filename="audio.h" line="412"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="audio.c"
             line="155">%TRUE if buffer size is multiple.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="pad" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="audio.c"
               line="150">the #GstPad to get the caps from</doc>
          <type name="Gst.Pad" c:type="GstPad*"/>
        </parameter>
        <parameter name="buf" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="audio.c"
               line="151">the #GstBuffer</doc>
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_set_caps_channel_positions_list"
              c:identifier="gst_audio_set_caps_channel_positions_list">
      <doc xml:space="preserve"
           filename="multichannel.c"
           line="477">Sets a (possibly non-fixed) list of possible audio channel
positions (given in pos) on the given caps. Each of the
structures of the caps, after this function has been called,
will contain a "channel-positions" field with an array.
Each value in the array will contain each of the values given
in the pos array. Note that the size of the caps might be
increased by this, since each structure with a "channel-
positions" field needs to have a fixed "channels" field.
The input caps is not required to have this.</doc>
      <source-position filename="multichannel.h" line="101"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="caps" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="multichannel.c"
               line="479">#GstCaps to set the list of channel positions on.</doc>
          <type name="Gst.Caps" c:type="GstCaps*"/>
        </parameter>
        <parameter name="pos" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="multichannel.c"
               line="480">the array containing one or more possible audio
      channel positions that we should add in each value
      of the array in the given structure.</doc>
          <type name="AudioChannelPosition"
                c:type="const GstAudioChannelPosition*"/>
        </parameter>
        <parameter name="num_positions" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="multichannel.c"
               line="483">the number of values in pos.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_set_channel_positions"
              c:identifier="gst_audio_set_channel_positions">
      <doc xml:space="preserve"
           filename="multichannel.c"
           line="321">Adds a "channel-positions" field to the given #GstStructure,
which will represent the channel positions as given in the
provided #GstAudioChannelPosition array.</doc>
      <source-position filename="multichannel.h" line="90"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="str" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="multichannel.c"
               line="323">A #GstStructure to set channel positions on.</doc>
          <type name="Gst.Structure" c:type="GstStructure*"/>
        </parameter>
        <parameter name="pos" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="multichannel.c"
               line="324">an array of channel positions. The number of members
      in this array should be equal to the (fixed!) number
      of the "channels" field in the given #GstStructure.</doc>
          <type name="AudioChannelPosition"
                c:type="const GstAudioChannelPosition*"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_set_structure_channel_positions_list"
              c:identifier="gst_audio_set_structure_channel_positions_list">
      <doc xml:space="preserve"
           filename="multichannel.c"
           line="367">Sets a (possibly non-fixed) list of possible audio channel
positions (given in pos) on the given structure. The
structure, after this function has been called, will contain
a "channel-positions" field with an array of the size of
the "channels" field value in the given structure (note
that this means that the channels field in the provided
structure should be fixed!). Each value in the array will
contain each of the values given in the pos array.</doc>
      <source-position filename="multichannel.h" line="97"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="str" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="multichannel.c"
               line="369">#GstStructure to set the list of channel positions
      on.</doc>
          <type name="Gst.Structure" c:type="GstStructure*"/>
        </parameter>
        <parameter name="pos" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="multichannel.c"
               line="371">the array containing one or more possible audio
      channel positions that we should add in each value
      of the array in the given structure.</doc>
          <type name="AudioChannelPosition"
                c:type="const GstAudioChannelPosition*"/>
        </parameter>
        <parameter name="num_positions" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="multichannel.c"
               line="374">the number of values in pos.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="audio_structure_set_int"
              c:identifier="gst_audio_structure_set_int"
              deprecated="1">
      <doc xml:space="preserve"
           filename="audio.c"
           line="222">Do not use anymore.</doc>
      <doc-deprecated xml:space="preserve">use gst_structure_set()</doc-deprecated>
      <source-position filename="audio.h" line="440"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="structure" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="audio.c"
               line="224">a #GstStructure</doc>
          <type name="Gst.Structure" c:type="GstStructure*"/>
        </parameter>
        <parameter name="flag" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="audio.c"
               line="225">a set of #GstAudioFieldFlag</doc>
          <type name="AudioFieldFlag" c:type="GstAudioFieldFlag"/>
        </parameter>
      </parameters>
    </function>
  </namespace>
</repository>
