OSDN Git Service

added config files for digigram cards.
authorTakashi Iwai <tiwai@suse.de>
Tue, 8 Jul 2003 10:45:50 +0000 (10:45 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 8 Jul 2003 10:45:50 +0000 (10:45 +0000)
src/conf/cards/Makefile.am
src/conf/cards/VX222.conf [new file with mode: 0644]
src/conf/cards/VXPocket.conf [new file with mode: 0644]
src/conf/cards/VXPocket440.conf [new file with mode: 0644]

index c2b63cf..2e933e9 100644 (file)
@@ -19,7 +19,10 @@ cfg_files = aliases.conf \
        TRID4DWAVENX.conf \
        YMF744.conf \
        VIA8233.conf \
-       VIA8233A.conf
+       VIA8233A.conf \
+       VX222.conf \
+       VXPocket.conf \
+       VXPocket440.conf
 
 EXTRA_DIST = $(cfg_files)
 alsa_DATA = $(cfg_files)
diff --git a/src/conf/cards/VX222.conf b/src/conf/cards/VX222.conf
new file mode 100644 (file)
index 0000000..0f36de3
--- /dev/null
@@ -0,0 +1,53 @@
+#
+# Configuration for Digigram VX222
+#
+
+<confdir:pcm/front.conf>
+
+VX222.pcm.front.0 {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type hw
+       card $CARD
+       device 0
+}      
+
+<confdir:pcm/iec958.conf>
+
+VX222.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 Default"
+                               lock true
+                               preserve true
+                               value [ $AES0 $AES1 $AES2 $AES3 ]
+                       }
+               ]
+       }
+}
diff --git a/src/conf/cards/VXPocket.conf b/src/conf/cards/VXPocket.conf
new file mode 100644 (file)
index 0000000..96c9fc8
--- /dev/null
@@ -0,0 +1,53 @@
+#
+# Configuration for Digigram VXpocket
+#
+
+<confdir:pcm/front.conf>
+
+VXPocket.pcm.front.0 {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type hw
+       card $CARD
+       device 0
+}      
+
+<confdir:pcm/iec958.conf>
+
+VXPocket.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 Default"
+                               lock true
+                               preserve true
+                               value [ $AES0 $AES1 $AES2 $AES3 ]
+                       }
+               ]
+       }
+}
diff --git a/src/conf/cards/VXPocket440.conf b/src/conf/cards/VXPocket440.conf
new file mode 100644 (file)
index 0000000..80a2c0b
--- /dev/null
@@ -0,0 +1,102 @@
+#
+# Configuration for Digigram VXpocket440
+#
+
+<confdir:pcm/front.conf>
+
+VXPocket440.pcm.front.0 {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type hw
+       card $CARD
+       device 0
+}      
+
+<confdir:pcm/rear.conf>
+
+VXPocket440.pcm.rear.0 {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type hw
+       card $CARD
+       device 1
+}
+
+<confdir:pcm/surround40.conf>
+
+VXPocket440.pcm.surround40.0 {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type multi
+       master 1
+       slaves [
+               {
+                       pcm {
+                               @func concat
+                               strings [
+                                       "cards.VXPocket440.pcm.front.0:CARD=" $CARD
+                               ]
+                       }
+                       channels 2
+               }
+               {
+                       pcm {
+                               @func concat
+                               strings [
+                                       "cards.VXPocket440.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/iec958.conf>
+
+VXPocket440.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 Default"
+                               lock true
+                               preserve true
+                               value [ $AES0 $AES1 $AES2 $AES3 ]
+                       }
+               ]
+       }
+}