summaryrefslogtreecommitdiffstats
path: root/alsa-lib/src/conf/pcm/dsnoop.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/dsnoop.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/dsnoop.conf')
-rw-r--r--alsa-lib/src/conf/pcm/dsnoop.conf115
1 files changed, 115 insertions, 0 deletions
diff --git a/alsa-lib/src/conf/pcm/dsnoop.conf b/alsa-lib/src/conf/pcm/dsnoop.conf
new file mode 100644
index 0000000..49cfca9
--- /dev/null
+++ b/alsa-lib/src/conf/pcm/dsnoop.conf
@@ -0,0 +1,115 @@
+#
+# dsnoop
+#
+
+pcm.!dsnoop {
+ @args [ CARD DEV SUBDEV FORMAT RATE ]
+ @args.CARD {
+ type string
+ default {
+ @func refer
+ name defaults.pcm.dsnoop.card
+ }
+ }
+ @args.DEV {
+ type integer
+ default {
+ @func refer
+ name defaults.pcm.dsnoop.device
+ }
+ }
+ @args.SUBDEV {
+ type integer
+ default 0
+ }
+ @args.FORMAT {
+ type string
+ default {
+ @func refer
+ name defaults.pcm.dmix.format
+ }
+ }
+ @args.RATE {
+ type integer
+ default {
+ @func refer
+ name defaults.pcm.dmix.rate
+ }
+ }
+ type dsnoop
+ ipc_key {
+ @func refer
+ name defaults.pcm.ipc_key
+ }
+ ipc_gid {
+ @func refer
+ name defaults.pcm.ipc_gid
+ }
+ ipc_perm {
+ @func refer
+ name defaults.pcm.ipc_perm
+ }
+ slave {
+ pcm {
+ type hw
+ card $CARD
+ device $DEV
+ subdevice $SUBDEV
+ }
+ format $FORMAT
+ rate $RATE
+ period_size {
+ @func refer
+ name {
+ @func concat
+ strings [
+ "cards."
+ {
+ @func card_driver
+ card $CARD
+ }
+ ".pcm.dsnoop.period_size"
+ ]
+ }
+ default 1024
+ }
+ period_time {
+ @func refer
+ name {
+ @func concat
+ strings [
+ "cards."
+ {
+ @func card_driver
+ card $CARD
+ }
+ ".pcm.dsnoop.period_time"
+ ]
+ }
+ default -1
+ }
+ periods {
+ @func refer
+ name {
+ @func concat
+ strings [
+ "cards."
+ {
+ @func card_driver
+ card $CARD
+ }
+ ".pcm.dsnoop.periods"
+ ]
+ }
+ default 16
+ }
+ }
+ hint {
+ show {
+ @func refer
+ name defaults.namehint.extended
+ }
+ description "Direct sample snooping device"
+ device $DEV
+ }
+}