]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Add configuration for AACI driver
authorTakashi Iwai <tiwai@suse.de>
Thu, 12 May 2005 13:12:16 +0000 (13:12 +0000)
committerTakashi Iwai <tiwai@suse.de>
Thu, 12 May 2005 13:12:16 +0000 (13:12 +0000)
Added the PCM configuration for ARM AACI driver.

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

diff --git a/src/conf/cards/AACI.conf b/src/conf/cards/AACI.conf
new file mode 100644 (file)
index 0000000..2ebec2a
--- /dev/null
@@ -0,0 +1,48 @@
+#
+# ALSA library configuration for ARM AACI Primecell PL-041
+#
+
+<confdir:pcm/front.conf>
+
+AACI.pcm.front.0 {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type hw
+       card $CARD
+       device 0
+}       
+
+<confdir:pcm/surround40.conf>
+
+AACI.pcm.surround40.0 "cards.AACI.pcm.front.0"
+
+<confdir:pcm/surround51.conf>
+
+AACI.pcm.surround51.0 {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type multi
+       slaves [
+               {
+                       pcm {
+                               @func concat
+                               strings [
+                                       "cards.AACI.pcm.front.0:CARD=" $CARD
+                               ]
+                       }
+                       channels 6
+               }
+       ]
+       bindings [
+               { slave 0 channel 0 }
+               { slave 0 channel 1 }
+               { slave 0 channel 3 }
+               { slave 0 channel 4 }
+               { slave 0 channel 2 }
+               { slave 0 channel 5 }
+       ]
+}
index 4c1b79f12d3c633d65013b2e69eb4d4f8e472105..961ae8eddc9f2f410e994e62dce27af4fcc57ba8 100644 (file)
@@ -1,5 +1,6 @@
 alsadir = $(datadir)/alsa/cards
 cfg_files = aliases.conf \
+       AACI.conf \
        ATIIXP.conf \
        ATIIXP-SPDMA.conf \
        ATIIXP-MODEM.conf \
index d6175999fc3ef069e3eee9b48561831031a69dee..0c1e460bb2c2c6d73811301b7c9840d8397d9309 100644 (file)
@@ -45,6 +45,7 @@ ES1978 cards.ES1968
 Allegro cards.Maestro3
 Canyon3D-2 cards.Maestro3
 Azalia cards.HDA-Intel
+aaci-pl041 cards.AACI
 
 <confdir:pcm/default.conf>
 <confdir:pcm/dmix.conf>