]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fixed iec958 capture using asym plugin.
authorTakashi Iwai <tiwai@suse.de>
Mon, 28 Jun 2004 10:45:25 +0000 (10:45 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 28 Jun 2004 10:45:25 +0000 (10:45 +0000)
src/conf/cards/ICE1724.conf

index 4846bd1714348af3e42e4a4e988196977d9e9fc3..bcd94da0136250af79db19d4cd786158945bce7e 100644 (file)
@@ -98,30 +98,38 @@ ICE1724.pcm.iec958.0 {
        @args.AES3 {
                type integer
        }
-       type hooks
-       slave.pcm {
+       type asym
+       playback.pcm {
+               type hooks
+               slave.pcm {
+                       type hw
+                       card $CARD
+                       device 1
+               }
+               hooks.0 {
+                       type ctl_elems
+                       hook_args [
+                               {
+                                       interface MIXER
+                                       name "IEC958 Output Switch"
+                                       lock true
+                                       preserve true
+                                       value true
+                               }
+                               {
+                                       interface PCM
+                                       name "IEC958 Playback Default"
+                                       device 1
+                                       lock true
+                                       preserve true
+                                       value [ $AES0 $AES1 $AES2 $AES3 ]
+                               }
+                       ]
+               }
+       }
+       capture.pcm {
                type hw
                card $CARD
                device 1
        }
-       hooks.0 {
-               type ctl_elems
-               hook_args [
-                       {
-                               interface MIXER
-                               name "IEC958 Output Switch"
-                               lock true
-                               preserve true
-                               value true
-                       }
-                       {
-                               interface PCM
-                               name "IEC958 Playback Default"
-                               device 1
-                               lock true
-                               preserve true
-                               value [ $AES0 $AES1 $AES2 $AES3 ]
-                       }
-               ]
-       }
 }