mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
add softvol for CMI8788
Master Volume controls were removed from Xonar D2/D2X cards; add the softvol plugin so that we have at least PCM volume. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
This commit is contained in:
parent
81e1550fe5
commit
c8567c5870
1 changed files with 10 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ CMI8788.pcm.front.0 {
|
|||
card $CARD
|
||||
}
|
||||
|
||||
# default with dmix & dsnoop
|
||||
# default with dmix+softvol & dsnoop
|
||||
CMI8788.pcm.default {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
|
|
@ -23,8 +23,15 @@ CMI8788.pcm.default {
|
|||
playback.pcm {
|
||||
type plug
|
||||
slave.pcm {
|
||||
@func concat
|
||||
strings [ "dmix:" $CARD ",FORMAT=S32_LE" ]
|
||||
type softvol
|
||||
slave.pcm {
|
||||
@func concat
|
||||
strings [ "dmix:" $CARD ",FORMAT=S32_LE" ]
|
||||
}
|
||||
control {
|
||||
name "PCM Playback Volume"
|
||||
card $CARD
|
||||
}
|
||||
}
|
||||
}
|
||||
capture.pcm {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue