]> git.alsa-project.org Git - alsa-lib.git/commitdiff
added the new configuration for ATI IXP direct SPDIF mode.
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 May 2004 15:27:17 +0000 (15:27 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 4 May 2004 15:27:17 +0000 (15:27 +0000)
src/conf/cards/ATIIXP-SPDMA.conf [new file with mode: 0644]
src/conf/cards/Makefile.am

diff --git a/src/conf/cards/ATIIXP-SPDMA.conf b/src/conf/cards/ATIIXP-SPDMA.conf
new file mode 100644 (file)
index 0000000..4b0de2f
--- /dev/null
@@ -0,0 +1,130 @@
+#
+# Configuration for the ATI IXP 150/200/250 chips
+#
+
+<confdir:pcm/front.conf>
+
+ATIIXP-SPDMA.pcm.front.0 {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type hw
+       card $CARD
+       device 0
+}      
+
+<confdir:pcm/surround40.conf>
+
+ATIIXP-SPDMA.pcm.surround40.0 {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type hooks
+       slave.pcm {
+               type hw
+               card $CARD
+               device 0
+       }
+       hooks.0 {
+               type ctl_elems
+               hook_args [
+                       {
+                               name "Line-In As Surround"
+                               preserve true
+                               value true
+                               lock true
+                               optional true
+                       }
+                       {
+                               name "Surround Down Mix"
+                               preserve true
+                               value off
+                               lock true
+                               optional true
+                       }
+               ]
+       }
+}
+
+<confdir:pcm/surround41.conf>
+<confdir:pcm/surround50.conf>
+<confdir:pcm/surround51.conf>
+
+ATIIXP-SPDMA.pcm.surround51.0 {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type hooks
+       slave.pcm {
+               type hw
+               card $CARD
+               device 0
+       }
+       hooks.0 {
+               type ctl_elems
+               hook_args [
+                       {
+                               name "Line-In As Surround"
+                               preserve true
+                               value true
+                               lock true
+                               optional true
+                       }
+                       {
+                               name "Mic As Center/LFE"
+                               preserve true
+                               value true
+                               lock true
+                               optional true
+                       }
+                       {
+                               name "Surround Down Mix"
+                               preserve true
+                               value off
+                               lock true
+                               optional true
+                       }
+                       {
+                               name "Center/LFE Down Mix"
+                               preserve true
+                               value off
+                               lock true
+                               optional true
+                       }
+               ]
+       }
+}
+
+<confdir:pcm/iec958.conf>
+
+ATIIXP-SPDMA.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 iec958
+       slave {
+               pcm {
+                       type hw
+                       card $CARD
+                       device 1
+               }
+               format IEC958_SUBFRAME_LE
+       }
+       status [ $AES0 $AES1 $AES2 $AES3 ]
+}
index 3db8c1371ce43f5588af165af5174a764e9c0f07..7700456072be7f14b9f0ccc27f8da2f3b1cad8ee 100644 (file)
@@ -1,6 +1,7 @@
 alsadir = $(datadir)/alsa/cards
 cfg_files = aliases.conf \
        ATIIXP.conf \
+       ATIIXP-SPDMA.conf \
        AU8810.conf \
        AU8820.conf \
        AU8830.conf \