Commit 057f98ad authored by Max Kellermann's avatar Max Kellermann

doc/user: new section about external mixer

parent 3b1c9aa0
......@@ -647,8 +647,10 @@ systemctl start mpd.socket</programlisting>
linkend="pulse_output">PulseAudio</link>), the
software mixer, the "null" mixer
(<parameter>null</parameter>; allows setting the
volume, but with no effect) or no mixer
(<parameter>none</parameter>). By default, the
volume, but with no effect; this can be used as a
trick to implement an <link
linkend="external_mixer">external mixer</link>) or no
mixer (<parameter>none</parameter>). By default, the
hardware mixer is used for devices which support it,
and none for the others.
</entry>
......@@ -1420,6 +1422,26 @@ buffer_size: 16384</programlisting>
</section>
</chapter>
<chapter id="client_hacks">
<title>Client Hacks</title>
<section id="external_mixer">
<title>External Mixer</title>
<para>
The setting '<varname>mixer_type</varname>
"<parameter>null</parameter>"' asks
<application>MPD</application> to pretend that there is a
mixer, but not actually do something. This allows you to
implement a <application>MPD</application> client which
listens for <varname>mixer</varname> events, queries the
current (fake) volume, and uses it to program an external
mixer. For example, your client can forward this setting to
your amplifier.
</para>
</section>
</chapter>
<chapter id="plugin_reference">
<title>Plugin reference</title>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment