]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - m4/gengetopt/fade.m4
fade: Switch to modular mixer API.
[paraslash.git] / m4 / gengetopt / fade.m4
index ff4b451b34cb027e0e0375f778678c38e90abeee..e5d08bf00e45b7f17e7b5e8cc6d9a928d071fd50 100644 (file)
@@ -34,23 +34,26 @@ option "config-file" c
 
 option "mixer-device" m
 #~~~~~~~~~~~~~~~~~~~~~~
-"mixer device file"
+"choose mixer device"
        string typestr = "device"
-       default = "/dev/mixer"
        optional
+       details = "
+               If this option is not given '/dev/mixer' is used as
+               the default.
+       "
 
 option "mixer-channel" C
 #~~~~~~~~~~~~~~~~~~~~~~~
 "select the analog mixer channel"
-       enum typestr = "channel"
-       values = "volume", "bass", "treble", "synth", "pcm", "speaker", "line",
-               "mic", "cd", "imix", "altpcm", "reclev", "igain", "ogain"
-       default = "volume"
+       string typestr = "channel"
        optional
        details = "
-               Not all listed channels might be supported on any
-               particular hardware.
-"
+               The possible values are 'volume', 'bass', 'treble',
+               'synth', 'pcm', 'speaker', 'line', 'mic', 'cd', 'imix',
+               'altpcm', 'reclev', 'igain', 'ogain'. However, not all
+               listed channels might be supported on any particular
+               hardware. The default mixer channel is 'volume'.
+       "
 
 section "Options for sleep mode"
 ################################