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:
Clemens Ladisch 2009-01-19 10:20:38 +01:00
parent 81e1550fe5
commit c8567c5870

View file

@ -13,7 +13,7 @@ CMI8788.pcm.front.0 {
card $CARD card $CARD
} }
# default with dmix & dsnoop # default with dmix+softvol & dsnoop
CMI8788.pcm.default { CMI8788.pcm.default {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
@ -22,10 +22,17 @@ CMI8788.pcm.default {
type asym type asym
playback.pcm { playback.pcm {
type plug type plug
slave.pcm {
type softvol
slave.pcm { slave.pcm {
@func concat @func concat
strings [ "dmix:" $CARD ",FORMAT=S32_LE" ] strings [ "dmix:" $CARD ",FORMAT=S32_LE" ]
} }
control {
name "PCM Playback Volume"
card $CARD
}
}
} }
capture.pcm { capture.pcm {
type plug type plug