]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Disable 'duplicate front' switch for rear
authorTakashi Iwai <tiwai@suse.de>
Mon, 6 Dec 2004 19:49:42 +0000 (19:49 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 6 Dec 2004 19:49:42 +0000 (19:49 +0000)
The rear PCM needs to disable 'duplicate front' switch.

src/conf/cards/CS46xx.conf

index d09834e390437e1c40261439289f003cc3b7d6eb..857f97c02032372c310d97053032929de5a16768 100644 (file)
@@ -21,9 +21,24 @@ CS46xx.pcm.rear.0 {
        @args.CARD {
                type string
        }
-       type hw
-       card $CARD
-       device 1
+       type hooks
+       slave.pcm {
+               type hw
+               card $CARD
+               device 1
+       }
+       hooks.0 {
+               type ctl_elems
+               hook_args [
+                       {
+                               name "Duplicate Front"
+                               lock true
+                               preserve true
+                               value 0
+                               optional true
+                       }
+               ]
+       }
 }      
 
 <confdir:pcm/center_lfe.conf>