]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Add IEC958 status bits support to SB-XFi.conf
authorTakashi Iwai <tiwai@suse.de>
Tue, 2 Jun 2009 15:21:26 +0000 (17:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 2 Jun 2009 15:21:26 +0000 (17:21 +0200)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/conf/cards/SB-XFi.conf

index c9f3c5f8feb64551560d2af78d4b3afa3f9edce0..f819731f89dbd736c9ca40f637758ddb4577afbd 100644 (file)
@@ -79,8 +79,32 @@ SB-XFi.pcm.iec958.0 {
        @args.AES3 {
                type integer
        }
-       type hw
-       card $CARD
-       device 4
-       # FIXME: AES status bits
+       type asym
+       playback.pcm {
+               type hooks
+               slave.pcm {
+                       type hw
+                       card $CARD
+                       device 4
+               }
+               hooks.0 {
+                       type ctl_elems
+                       hook_args [
+                       {
+                               interface PCM
+                               name "IEC958 Playback PCM Stream"
+                               device 4
+                               lock true
+                               preserve true
+                               value [ $AES0 $AES1 $AES2 $AES3 ]
+                       }
+                       ]
+               }
+       }
+       capture.pcm {
+               type hw
+               card $CARD
+               device 4
+       }
+       hint.device 4
 }