From 86782faa18b32941eb2e39dd552d58b934279f1a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 14 Oct 2008 17:21:49 +0200 Subject: alsa: optionally disable resampling and others Added mpd.conf options for disabling automatic resamling, sample format and channel conversion. This way, users may choose to override ALSA's automatic resampling, and use libsamplerate instead. --- doc/mpd.conf.5 | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc/mpd.conf.5') diff --git a/doc/mpd.conf.5 b/doc/mpd.conf.5 index 5ede7e74..34c19408 100644 --- a/doc/mpd.conf.5 +++ b/doc/mpd.conf.5 @@ -274,6 +274,19 @@ Setting this allows you to use memory-mapped I/O. Certain hardware setups may benefit from this, but most do not. Most users do not need to set this. The default is to not use memory-mapped I/O. .TP +.B auto_resample +Setting this to "no" disables ALSA's software resampling, if the +hardware does not support a specific sample rate. This lets MPD do +the resampling. "yes" is the default and allows ALSA to resample. +.TP +.B auto_channels +Setting this to "no" disables ALSA's channel conversion, if the +hardware does not support a specific number of channels. Default: "yes". +.TP +.B auto_format +Setting this to "no" disables ALSA's sample format conversion, if the +hardware does not support a specific sample format. Default: "yes". +.TP .B buffer_time