mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Add Loopback.conf to define standard PCM devices for snd-aloop driver
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
91c9c8f1b8
commit
72c7260ce6
1 changed files with 74 additions and 0 deletions
74
src/conf/cards/Loopback.conf
Normal file
74
src/conf/cards/Loopback.conf
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
#
|
||||
# Configuration for the Intel HD audio (ICH6/ICH7)
|
||||
#
|
||||
|
||||
<confdir:pcm/front.conf>
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
<confdir:pcm/surround40.conf>
|
||||
<confdir:pcm/surround41.conf>
|
||||
<confdir:pcm/surround50.conf>
|
||||
<confdir:pcm/surround51.conf>
|
||||
<confdir:pcm/surround71.conf>
|
||||
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue