From 96493e0333404ddea739a08e1e3ead8dcb6f836c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 16 Feb 2010 08:55:37 +0100 Subject: 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. --- doc/mpd.conf.5 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/mpd.conf.5') diff --git a/doc/mpd.conf.5 b/doc/mpd.conf.5 index a5c0304c..48b276d5 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 +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 -- cgit v1.2.3