]> git.alsa-project.org Git - alsa-lib.git/commitdiff
- fixed the iec958 capture using asym plugin.
authorTakashi Iwai <tiwai@suse.de>
Mon, 26 Jan 2004 15:57:05 +0000 (15:57 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 26 Jan 2004 15:57:05 +0000 (15:57 +0000)
  the different routing is used.

src/conf/cards/ICE1712.conf

index c984a857f9d0f0d61da64eb708900e10e594708c..7ca029e9e288a9ec7498cfc65bb6047858ae0efa 100644 (file)
@@ -77,28 +77,42 @@ ICE1712.pcm.iec958.0 {
        @args.AES3 {
                type integer
        }
-       type hooks
-       slave.pcm {
+       type asym
+       playback.pcm {
+               type hooks
+               slave.pcm {
+                       type route
+                       ttable.0.8 1
+                       ttable.1.9 1
+                       slave.pcm {
+                               type hw
+                               card $CARD
+                       }
+                       slave.format S32_LE
+                       slave.channels 10
+               }
+               hooks.0 {
+                       type ctl_elems
+                       hook_args [
+                               {
+                                       interface PCM
+                                       name "IEC958 Playback PCM Stream"
+                                       lock true
+                                       preserve true
+                                       value [ $AES0 $AES1 $AES2 $AES3 ]
+                               }
+                       ]
+               }
+       }
+       capture.pcm {
                type route
-               ttable.0.8 1
-               ttable.1.9 1
+               ttable.0.10 1
+               ttable.1.11 1
                slave.pcm {
                        type hw
                        card $CARD
                }
                slave.format S32_LE
-               slave.channels 10
-       }
-       hooks.0 {
-               type ctl_elems
-               hook_args [
-                       {
-                               interface PCM
-                               name "IEC958 Playback PCM Stream"
-                               lock true
-                               preserve true
-                               value [ $AES0 $AES1 $AES2 $AES3 ]
-                       }
-               ]
+               slave.channels 12
        }
 }