aboutsummaryrefslogtreecommitdiffstats
path: root/doc/user.xml
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-04-25 13:21:45 +0200
committerMax Kellermann <max@duempel.org>2009-04-25 13:21:45 +0200
commit8b5d6d17ffdf2e320a78e36feff8004fede0b0be (patch)
tree9e598b7bad59e1cfe841f776975d944e8736875b /doc/user.xml
parentde95caa346e1cda050212b1e9425bfd8b6125703 (diff)
downloadmpd-8b5d6d17ffdf2e320a78e36feff8004fede0b0be.tar.gz
mpd-8b5d6d17ffdf2e320a78e36feff8004fede0b0be.tar.xz
mpd-8b5d6d17ffdf2e320a78e36feff8004fede0b0be.zip
doc: added decoder documentation
Diffstat (limited to '')
-rw-r--r--doc/user.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/doc/user.xml b/doc/user.xml
index b2bfc172d..9f98f147b 100644
--- a/doc/user.xml
+++ b/doc/user.xml
@@ -92,6 +92,62 @@ cd mpd-0.14.2</programlisting>
</section>
<section>
+ <title>Configuring decoder plugins</title>
+
+ <para>
+ Most decoder plugins do not need any special configuration.
+ To configure a decoder, add a <varname>decoder</varname> block
+ to <filename>mpd.conf</filename>:
+ </para>
+
+ <programlisting>decoder {
+ plugin "wildmidi"
+ config_file "/etc/timidity/timidity.cfg"
+}
+ </programlisting>
+
+ <para>
+ The following table lists the <varname>decoder</varname>
+ options valid for all plugins:
+ </para>
+
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>
+ Name
+ </entry>
+ <entry>
+ Description
+ </entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>
+ <varname>plugin</varname>
+ </entry>
+ <entry>
+ The name of the plugin.
+ </entry>
+ </row>
+ <row>
+ <entry>
+ <varname>enabled</varname>
+ <parameter>yes|no</parameter>
+ </entry>
+ <entry>
+ Allows you to disable a decoder plugin without
+ recompiling. By default, all plugins are enabled.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </section>
+
+ <section>
<title>Configuring audio outputs</title>
<para>