<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE component SYSTEM "http://www.freac.org/boca/component.dtd">
<component>
  <name>WavPack Audio Encoder</name>
  <version>1.0</version>
  <id>wv-enc</id>
  <type>encoder</type>
  <format>
    <name>WavPack Files</name>
    <extension>wv</extension>
    <companion>wvc</companion>
    <tag id="apev2-tag" mode="append">APEv2</tag>
  </format>
  <external>
    <command>wavpack</command>
    <arguments>-i -m %OPTIONS - %OUTFILE</arguments>
    <mode>stdio</mode>
    <informat>wave</informat>
    <parameters>
      <range name="Enable lossy compression" argument="-b%VALUE" default="256" step="8">
	<min alias="%1 kbps">64</min>
	<max alias="%1 kbps">720</max>
      </range>
      <switch name="Create correction file" argument="-c">
	<depends setting="Enable lossy compression"/>
      </switch>
      <selection name="Compression mode" argument="%VALUE" default="-h">
	<option alias="fast">-f</option>
	<option alias="high quality">-h</option>
	<option alias="very high quality">-hh</option>
      </selection>
      <range name="Extra encode processing" argument="-x%VALUE" default="1">
	<min alias="faster">1</min>
	<max alias="better">6</max>
      </range>
    </parameters>
  </external>
</component>
