From: Jaroslav Kysela Date: Fri, 21 Mar 2003 12:56:42 +0000 (+0000) Subject: Added dsnoop definition X-Git-Tag: v1.0.3~189 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=49ebb948c8a0792075eb9ec6ef1ad92b641cda27;p=alsa-lib.git Added dsnoop definition --- diff --git a/src/conf/alsa.conf b/src/conf/alsa.conf index aecde6db..25e2b3a0 100644 --- a/src/conf/alsa.conf +++ b/src/conf/alsa.conf @@ -200,6 +200,30 @@ pcm.dmix { } } +pcm.dsnoop { + @args [ SLAVE FORMAT RATE ] + @args.SLAVE { + type string + default "hw:0,0" + } + @args.FORMAT { + type string + default S16_LE + } + @args.RATE { + type integer + default 48000 + } + type dsnoop + ipc_key 5778293 + ipc_key_add_uid yes + slave { + pcm $SLAVE + format $FORMAT + rate $RATE + } +} + pcm.shm { @args [ SOCKET PCM ] @args.SOCKET {