summaryrefslogtreecommitdiffstats
path: root/alsa-lib/src/conf/pcm/surround41.conf
diff options
context:
space:
mode:
authorJeong-Seok Yang <jseok.yang@samsung.com>2010-08-25 18:32:24 -0700
committerEd Heyl <edheyl@google.com>2010-08-25 18:52:19 -0700
commitec456383c58adf2d4c4818438a703e5a2ca949b5 (patch)
tree6d7b1ddc2610c37e911917dad5be7ebdebc6c6ad /alsa-lib/src/conf/pcm/surround41.conf
parent1206fad9881e5bca592fcd0fbdafc9d7f195d539 (diff)
downloaddevice_samsung_crespo-ec456383c58adf2d4c4818438a703e5a2ca949b5.zip
device_samsung_crespo-ec456383c58adf2d4c4818438a703e5a2ca949b5.tar.gz
device_samsung_crespo-ec456383c58adf2d4c4818438a703e5a2ca949b5.tar.bz2
S5PC11X: crespo: add alsa-lib, alsa-utils, libaudio, libcamera
Change-Id: I4a6ee248b407c67682eb8884d1176f4807288c7c
Diffstat (limited to 'alsa-lib/src/conf/pcm/surround41.conf')
-rw-r--r--alsa-lib/src/conf/pcm/surround41.conf66
1 files changed, 66 insertions, 0 deletions
diff --git a/alsa-lib/src/conf/pcm/surround41.conf b/alsa-lib/src/conf/pcm/surround41.conf
new file mode 100644
index 0000000..10e486e
--- /dev/null
+++ b/alsa-lib/src/conf/pcm/surround41.conf
@@ -0,0 +1,66 @@
+#
+# Hardware output from 4.1 speakers.
+# Samples must be positioned:
+# chn0 - front left
+# chn1 - front right
+# chn2 - rear left
+# chn3 - rear right
+# chn4 - LFE
+#
+
+pcm.!surround41 {
+ @args [ CARD DEV ]
+ @args.CARD {
+ type string
+ default {
+ @func getenv
+ vars [
+ ALSA_SURROUND41_CARD
+ ALSA_PCM_CARD
+ ALSA_CARD
+ ]
+ default {
+ @func refer
+ name defaults.pcm.surround41.card
+ }
+ }
+ }
+ @args.DEV {
+ type integer
+ default {
+ @func igetenv
+ vars [
+ ALSA_SURROUND41_DEVICE
+ ]
+ default {
+ @func refer
+ name defaults.pcm.surround41.device
+ }
+ }
+ }
+ type route
+ slave.pcm {
+ @func refer
+ name {
+ @func concat
+ strings [
+ "cards."
+ {
+ @func card_driver
+ card $CARD
+ }
+ ".pcm.surround51." $DEV ":CARD=" $CARD
+ ]
+ }
+ }
+ slave.channels 6
+ ttable.0.0 1
+ ttable.1.1 1
+ ttable.2.2 1
+ ttable.3.3 1
+ ttable.4.5 1
+ hint {
+ description "4.1 Surround output to Front, Rear and Subwoofer speakers"
+ device $DEV
+ }
+}