<?xml version="1.0" encoding="utf-8"?>
<audio-profiles>
  <profiles>
    <profile id="xing-mp3">
      <_name>MP3 (Xing Encoder)</_name>
      <_description>A proprietary and older, but also popular, lossy audio format that produces larger files at lower bitrates.</_description>
      <output-file-extension>mp3</output-file-extension>
      <mimetype>audio/mp3</mimetype>
      <mimetype>taglib/mp3</mimetype>
      <mimetype>audio/mpeg3</mimetype>
      <mimetype>audio/x-mpeg-3</mimetype>
      <mimetype>audio/x-mpeg</mimetype>
      <mimetype>application/x-id3</mimetype>
      <mimetype>audio/x-mp3</mimetype>
      <pipeline>
        <process id="gstreamer">
        <![CDATA[
            (gst-construct-pipeline
                "audioconvert" 
                (gst-construct-element "xingenc"
                    "bitrate" bitrate)
                (if (gst-element-is-available "id3v2mux")
                    "id3v2mux"
                    "id3mux"))
        ]]>
        </process>
        <variable id="bitrate">
          <_name>Bitrate</_name>
          <control-type>combo</control-type>
          <default-value>128</default-value>
          <possible-values>
            <value value="96">96 Kbps</value>
            <value value="128">128 Kbps</value>
            <value value="160">160 Kbps</value>
            <value value="192">192 Kbps</value>
          </possible-values>
        </variable>
      </pipeline>
    </profile>
  </profiles>
</audio-profiles>
