From da34d7ec96931b956cd0c106023bd9c4c66adca3 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 12 May 2005 13:12:16 +0000 Subject: [PATCH] Add configuration for AACI driver Added the PCM configuration for ARM AACI driver. --- src/conf/cards/AACI.conf | 48 +++++++++++++++++++++++++++++++++++++ src/conf/cards/Makefile.am | 1 + src/conf/cards/aliases.conf | 1 + 3 files changed, 50 insertions(+) create mode 100644 src/conf/cards/AACI.conf diff --git a/src/conf/cards/AACI.conf b/src/conf/cards/AACI.conf new file mode 100644 index 00000000..2ebec2a7 --- /dev/null +++ b/src/conf/cards/AACI.conf @@ -0,0 +1,48 @@ +# +# ALSA library configuration for ARM AACI Primecell PL-041 +# + + + +AACI.pcm.front.0 { + @args [ CARD ] + @args.CARD { + type string + } + type hw + card $CARD + device 0 +} + + + +AACI.pcm.surround40.0 "cards.AACI.pcm.front.0" + + + +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 } + ] +} diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am index 4c1b79f1..961ae8ed 100644 --- a/src/conf/cards/Makefile.am +++ b/src/conf/cards/Makefile.am @@ -1,5 +1,6 @@ alsadir = $(datadir)/alsa/cards cfg_files = aliases.conf \ + AACI.conf \ ATIIXP.conf \ ATIIXP-SPDMA.conf \ ATIIXP-MODEM.conf \ diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf index d6175999..0c1e460b 100644 --- a/src/conf/cards/aliases.conf +++ b/src/conf/cards/aliases.conf @@ -45,6 +45,7 @@ ES1978 cards.ES1968 Allegro cards.Maestro3 Canyon3D-2 cards.Maestro3 Azalia cards.HDA-Intel +aaci-pl041 cards.AACI -- 2.47.1