aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-02-16 08:55:37 +0100
committerMax Kellermann <max@duempel.org>2010-02-17 08:14:07 +0100
commit96493e0333404ddea739a08e1e3ead8dcb6f836c (patch)
tree5c953ea3a3b5f7f22174e6046a6b107390524438 /doc
parent48b49e230352de10bb3f66a1c85d367dade52001 (diff)
downloadmpd-96493e0333404ddea739a08e1e3ead8dcb6f836c.tar.gz
mpd-96493e0333404ddea739a08e1e3ead8dcb6f836c.tar.xz
mpd-96493e0333404ddea739a08e1e3ead8dcb6f836c.zip
replay_gain: optionally use hardware mixer to apply replay gain
Add an option for each audio output which enables the use of the hardware mixer, instead of the software volume code. This is hardware specific, and assumes linear volume control. This is not the case for hardware mixers which were tested, making this patch somewhat useless, but we will use it to experiment with the settings, to find a good solution.
Diffstat (limited to '')
-rw-r--r--doc/mpd.conf.56
-rw-r--r--doc/user.xml13
2 files changed, 19 insertions, 0 deletions
diff --git a/doc/mpd.conf.5 b/doc/mpd.conf.5
index a5c0304cf..48b276d55 100644
--- a/doc/mpd.conf.5
+++ b/doc/mpd.conf.5
@@ -270,6 +270,12 @@ audio that is sent to the audio output device. See documentation for the
whatever audio format is passed to the audio output.
Any of the three attributes may be an asterisk to specify that this
attribute should not be enforced
+.TP
+.B replay_gain_handler <software, mixer or none>
+Specifies how replay gain is applied. The default is "software",
+which uses an internal software volume control. "mixer" uses the
+configured (hardware) mixer control. "none" disables replay gain on
+this audio output.
.SH OPTIONAL ALSA OUTPUT PARAMETERS
.TP
.B device <dev>
diff --git a/doc/user.xml b/doc/user.xml
index 15b20d521..30fcae696 100644
--- a/doc/user.xml
+++ b/doc/user.xml
@@ -350,6 +350,19 @@ cd mpd-version</programlisting>
devices which support it, and none for the others.
</entry>
</row>
+ <row>
+ <entry>
+ <varname>replay_gain_handler</varname>
+ <parameter>software|mixer|none</parameter>
+ </entry>
+ <entry>
+ Specifies how replay gain is applied. The default is
+ "software", which uses an internal software volume
+ control. "mixer" uses the configured (hardware) mixer
+ control. "none" disables replay gain on this audio
+ output.
+ </entry>
+ </row>
</tbody>
</tgroup>
</informaltable>