]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Francisco Moraes <fmoraes@nc.rr.com>:
authorTakashi Iwai <tiwai@suse.de>
Mon, 28 Jun 2004 10:28:09 +0000 (10:28 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 28 Jun 2004 10:28:09 +0000 (10:28 +0000)
Added emu10k1x configuration.

src/conf/cards/EMU10K1X.conf [new file with mode: 0644]
src/conf/cards/Makefile.am

diff --git a/src/conf/cards/EMU10K1X.conf b/src/conf/cards/EMU10K1X.conf
new file mode 100644 (file)
index 0000000..e0f054d
--- /dev/null
@@ -0,0 +1,169 @@
+#
+# Configuration for the EMU10K1X chip
+#
+
+<confdir:pcm/front.conf>
+
+EMU10K1X.pcm.front.0 {
+       @args [ CARD  ]
+       @args.CARD {
+               type string
+       }
+       type hw
+       card $CARD
+       device 0
+}      
+
+<confdir:pcm/rear.conf>
+
+EMU10K1X.pcm.rear.0 {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type hw
+       card $CARD
+       device 1
+}      
+
+<confdir:pcm/center_lfe.conf>
+
+EMU10K1X.pcm.center_lfe.0 {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type hw
+       card $CARD
+       device 2
+}      
+
+<confdir:pcm/surround40.conf>
+
+EMU10K1X.pcm.surround40.0 {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type multi
+       slaves [
+               {
+                       pcm {
+                               @func concat
+                               strings [
+                                       "cards.EMU10K1X.pcm.front.0:CARD=" $CARD
+                               ]
+                       }
+                       channels 2
+               }
+               {
+                       pcm {
+                               @func concat
+                               strings [
+                                       "cards.EMU10K1X.pcm.rear.0:CARD=" $CARD
+                               ]
+                       }
+                       channels 2
+               }
+       ]
+       bindings [
+               { slave 0 channel 0 }
+               { slave 0 channel 1 }
+               { slave 1 channel 0 }
+               { slave 1 channel 1 }
+       ]
+}
+
+<confdir:pcm/surround41.conf>
+<confdir:pcm/surround50.conf>
+<confdir:pcm/surround51.conf>
+
+EMU10K1X.pcm.surround51.0 {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type multi
+       slaves [
+               {
+                       pcm {
+                               @func concat
+                               strings [
+                                       "cards.EMU10K1X.pcm.front.0:CARD=" $CARD
+                               ]
+                       }
+                       channels 2
+               }
+               {
+                       pcm {
+                               @func concat
+                               strings [
+                                       "cards.EMU10K1X.pcm.rear.0:CARD=" $CARD
+                               ]
+                       }
+                       channels 2
+               }
+               {
+                       pcm {
+                               @func concat
+                               strings [
+                                       "cards.EMU10K1X.pcm.center_lfe.0:CARD=" $CARD
+                               ]
+                       }
+                       channels 2
+               }
+       ]
+       bindings [
+               { slave 0 channel 0 }
+               { slave 0 channel 1 }
+               { slave 1 channel 0 }
+               { slave 1 channel 1 }
+               { slave 2 channel 0 }
+               { slave 2 channel 1 }
+       ]
+}
+
+<confdir:pcm/iec958.conf>
+
+EMU10K1X.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 "Analog/Digital Output Jack"
+                               lock true
+                               preserve true
+                               value 0
+                       }
+                       {
+                               name "IEC958 Playback Default"
+                               index 0
+                               lock true
+                               preserve true
+                               value [ $AES0 $AES1 $AES2 $AES3 ]
+                       }
+               ]
+       }
+}
index c74c4d816a3785ddbd744a10d43bbb39b5130ac7..26505b9c5e31da03562859feaa3394faf994c446 100644 (file)
@@ -13,6 +13,7 @@ cfg_files = aliases.conf \
        CMI8738-MC6.conf \
        CS46xx.conf \
        EMU10K1.conf \
+       EMU10K1X.conf \
        ENS1370.conf \
        ENS1371.conf \
        FM801.conf \