OSDN Git Service

added ATIIXP config
authorTakashi Iwai <tiwai@suse.de>
Tue, 24 Feb 2004 16:25:26 +0000 (16:25 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 24 Feb 2004 16:25:26 +0000 (16:25 +0000)
src/conf/cards/ATIIXP.conf [new file with mode: 0644]
src/conf/cards/Makefile.am

diff --git a/src/conf/cards/ATIIXP.conf b/src/conf/cards/ATIIXP.conf
new file mode 100644 (file)
index 0000000..10b1891
--- /dev/null
@@ -0,0 +1,146 @@
+#
+# Configuration for the ATI IXP 150/200/250 chips
+#
+
+<confdir:pcm/front.conf>
+
+ATIIXP.pcm.front.0 {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type hw
+       card $CARD
+       device 0
+}      
+
+<confdir:pcm/surround40.conf>
+
+ATIIXP.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
+                               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.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
+                               optional true
+                       }
+                       {
+                               name "Mic As Center/LFE"
+                               preserve true
+                               value 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.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 1
+       }
+       hooks.0 {
+               type ctl_elems
+               hook_args [
+                       {
+                               name "IEC958 Playback AC97-SPSA"
+                               lock true
+                               preserve true
+                               value 3
+                       }
+                       {
+                               name "IEC958 Playback Default"
+                               lock true
+                               preserve true
+                               value [ $AES0 $AES1 $AES2 $AES3 ]
+                       }
+                       {
+                               name "IEC958 Playback Switch"
+                               lock true
+                               preserve true
+                               value true
+                       }
+               ]
+       }
+}
index 1de4c4b..3db8c13 100644 (file)
@@ -1,5 +1,6 @@
 alsadir = $(datadir)/alsa/cards
 cfg_files = aliases.conf \
+       ATIIXP.conf \
        AU8810.conf \
        AU8820.conf \
        AU8830.conf \