aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-04-28 09:15:48 +0200
committerMax Kellermann <max@duempel.org>2009-04-28 09:15:48 +0200
commit05dfdfdb398146f3427be154bfe599fac61ed025 (patch)
treed0f115cd57594d2f0c6a29119e267f0d14b542a5 /doc
parent70d322b296247cd6d09de894f6d1cb06f5cf0d11 (diff)
downloadmpd-05dfdfdb398146f3427be154bfe599fac61ed025.tar.gz
mpd-05dfdfdb398146f3427be154bfe599fac61ed025.tar.xz
mpd-05dfdfdb398146f3427be154bfe599fac61ed025.zip
alsa_mixer: add mixer_index option
This allows you to select controls with duplicate names.
Diffstat (limited to '')
-rw-r--r--doc/mpd.conf.56
-rw-r--r--doc/mpdconf.example1
2 files changed, 7 insertions, 0 deletions
diff --git a/doc/mpd.conf.5 b/doc/mpd.conf.5
index f6ac80f63..f5f4f8227 100644
--- a/doc/mpd.conf.5
+++ b/doc/mpd.conf.5
@@ -293,6 +293,12 @@ This specifies which mixer control to use (sometimes referred to as the
"device"). Examples of mixer controls are PCM, Line1, Master, etc. An example
for OSS is "Pcm", and an example for alsa is "PCM".
.TP
+.B mixer_index <mixer index>
+A number identifying the index of the named mixer control. This is
+probably only useful if your alsa device has more than one
+identically\-named mixer control. The default is "0". (Use "amixer
+scontrols" to see the list of controls with their indexes)
+.TP
.B use_mmap <yes or no>
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
diff --git a/doc/mpdconf.example b/doc/mpdconf.example
index abaef1c1c..919326236 100644
--- a/doc/mpdconf.example
+++ b/doc/mpdconf.example
@@ -181,6 +181,7 @@ input {
# format "44100:16:2" # optional
# mixer_device "default" # optional
# mixer_control "PCM" # optional
+# mixer_index "0" # optional
#}
#
# An example of an OSS output: