]> git.alsa-project.org Git - alsa-lib.git/commitdiff
added missing VIA686A.conf
authorTakashi Iwai <tiwai@suse.de>
Mon, 24 May 2004 14:54:54 +0000 (14:54 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 24 May 2004 14:54:54 +0000 (14:54 +0000)
src/conf/cards/Makefile.am
src/conf/cards/VIA686A.conf [new file with mode: 0644]

index 04d6d257f4620eea0a6aed39aa86f4a088d883f3..ccc254790904af8e289fa7228749e7808c926587 100644 (file)
@@ -25,6 +25,7 @@ cfg_files = aliases.conf \
        SI7018.conf \
        TRID4DWAVENX.conf \
        YMF744.conf \
+       VIA686A.conf \
        VIA8233.conf \
        VIA8233A.conf \
        VX222.conf \
diff --git a/src/conf/cards/VIA686A.conf b/src/conf/cards/VIA686A.conf
new file mode 100644 (file)
index 0000000..6d420dc
--- /dev/null
@@ -0,0 +1,71 @@
+#
+# Configuration for the VIA686A chip
+#
+# SPDIF support is not complete - it might not work, especially with AC3
+# passthru mode...
+#
+
+<confdir:pcm/front.conf>
+
+VIA686A.pcm.front.0 {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type hw
+       card $CARD
+       device 0
+}      
+
+<confdir:pcm/iec958.conf>
+
+VIA686A.pcm.iec958.0 {
+       @args [ CARD AES0 AES1 AES2 AES3 ]
+       @args.CARD {
+               type string
+       }
+       @args.AES0 {
+               type integer
+       }
+       @args.AES1 {
+               type integer
+       }
+       @args.AES2 {
+               type integer
+       }
+       @args.AES3 {
+               type integer
+       }
+       type hooks
+       slave.pcm {
+               type hw
+               card $CARD
+               device 0
+       }
+       hooks.0 {
+               type ctl_elems
+               hook_args [
+                       {
+                               name "IEC958 Playback AC97-SPSA"
+                               device 0
+                               lock true
+                               preserve true
+                               value 0
+                       }
+                       {
+                               name "IEC958 Playback Default"
+                               device 0
+                               lock true
+                               preserve true
+                               value [ $AES0 $AES1 $AES2 $AES3 ]
+                       }
+                       {
+                               name "IEC958 Playback Switch"
+                               device 0
+                               lock true
+                               preserve true
+                               value true
+                       }
+               ]
+       }
+}