From: Jaroslav Kysela Date: Wed, 25 Aug 2010 07:04:51 +0000 (+0200) Subject: Add Loopback.conf to define standard PCM devices for snd-aloop driver X-Git-Tag: v1.0.24~24 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=72c7260ce624adcb40377bc2093cd4d965b9b22e;p=alsa-lib.git Add Loopback.conf to define standard PCM devices for snd-aloop driver Signed-off-by: Jaroslav Kysela --- diff --git a/src/conf/cards/Loopback.conf b/src/conf/cards/Loopback.conf new file mode 100644 index 00000000..05c48c6f --- /dev/null +++ b/src/conf/cards/Loopback.conf @@ -0,0 +1,74 @@ +# +# Configuration for the Intel HD audio (ICH6/ICH7) +# + + + +Loopback.pcm.front.0 { + @args [ CARD ] + @args.CARD { + type string + } + type softvol + slave.pcm { + type hw + card $CARD + } + control { + name "PCM Playback Volume" + card $CARD + } +} + +# default with dmix+softvol & dsnoop +Loopback.pcm.default { + @args [ CARD ] + @args.CARD { + type string + } + type asym + playback.pcm { + type plug + slave.pcm { + type softvol + slave.pcm { + @func concat + strings [ "dmix:" $CARD ] + } + control { + name "PCM Playback Volume" + card $CARD + } + } + } + capture.pcm { + type plug + slave.pcm { + type softvol + slave.pcm { + @func concat + strings [ "dsnoop:" $CARD ] + } + control { + name "Digital Capture Volume" + card $CARD + } + min_dB -30.0 + max_dB 30.0 + resolution 121 + } + # to avoid possible phase inversions with digital mics + route_policy copy + } + hint.device 0 +} + + + + + + + +Loopback.pcm.surround40.0 cards.HDA-Intel.pcm.front.0 +Loopback.pcm.surround51.0 cards.HDA-Intel.pcm.front.0 +Loopback.pcm.surround71.0 cards.HDA-Intel.pcm.front.0