aboutsummaryrefslogtreecommitdiffstats
path: root/doc/protocol.xml
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-17 22:58:19 +0200
committerMax Kellermann <max@duempel.org>2009-10-17 22:58:19 +0200
commitbddb6b42738c8637000896d867e89691d3a57c3e (patch)
treef3eb6ee1c580a1264d33507ab7684402d2a19a55 /doc/protocol.xml
parent7ec32704f9b0cd22f7bde1654a5e80bb28ee9e22 (diff)
downloadmpd-bddb6b42738c8637000896d867e89691d3a57c3e.tar.gz
mpd-bddb6b42738c8637000896d867e89691d3a57c3e.tar.xz
mpd-bddb6b42738c8637000896d867e89691d3a57c3e.zip
command: allow changing replay gain mode on-the-fly
The new command "replay_gain_mode" allows the user to switch the replay gain mode on-the-fly. No more mpd.conf editing.
Diffstat (limited to 'doc/protocol.xml')
-rw-r--r--doc/protocol.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/protocol.xml b/doc/protocol.xml
index 968c28855..5becb2dc5 100644
--- a/doc/protocol.xml
+++ b/doc/protocol.xml
@@ -487,6 +487,41 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry id="command_replay_gain_mode">
+ <term>
+ <cmdsynopsis>
+ <command>replay_gain_mode</command>
+ <arg choice="req"><replaceable>MODE</replaceable></arg>
+ </cmdsynopsis>
+ </term>
+ <listitem>
+ <para>
+ Sets the replay gain mode. One of
+ <parameter>off</parameter>,
+ <parameter>track</parameter>,
+ <parameter>album</parameter>.
+ </para>
+ <para>
+ Changing the mode during playback may take several
+ seconds, because the new settings does not affect the
+ buffered data.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry id="command_replay_gain_status">
+ <term>
+ <cmdsynopsis>
+ <command>replay_gain_status</command>
+ </cmdsynopsis>
+ </term>
+ <listitem>
+ <para>
+ Prints replay gain options. Currently, only the
+ variable <varname>replay_gain_mode</varname> is
+ returned.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</section>