<?xml version="1.0" encoding="utf-8"?>
<audio-profiles>
  <profiles>
    <profile id="vorbis">
      <_name>Ogg Vorbis</_name>
      <_description>Vorbis is an open source, lossy audio codec with high quality output at a lower file size than MP3.</_description>
      <output-file-extension>ogg</output-file-extension>
      <mimetype>audio/x-ogg</mimetype>
      <mimetype>audio/ogg</mimetype>
      <mimetype>taglib/ogg</mimetype>
      <mimetype>taglib/oga</mimetype>
      <mimetype>audio/x-vorbis+ogg</mimetype>
      <mimetype>audio/x-vorbis</mimetype>
      <mimetype>audio/vorbis</mimetype>
      <mimetype>application/x-ogg</mimetype>
      <mimetype>application/ogg</mimetype>
      <pipeline>
        <process id="gstreamer">
        <![CDATA[
            (gst-construct-pipeline
                "audioconvert"
                (gst-construct-element "vorbisenc"
                    "quality" (/ quality 10.0))
                "oggmux")
        ]]>
        </process>
        <variable id="quality">
          <_name>Audio quality</_name>
          <control-type>slider</control-type>
          <min-value>-1.0</min-value>
          <_min-label>Worst</_min-label>
          <max-value>10.0</max-value>
          <_max-label>Best</_max-label>
          <step-value>1.0</step-value>
          <default-value>5.0</default-value>
        </variable>
      </pipeline>
    </profile>
  </profiles>
</audio-profiles>
