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>
card $CARD
}
-# default with dmix & dsnoop
+# default with dmix+softvol & dsnoop
CMI8788.pcm.default {
@args [ CARD ]
@args.CARD {
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 {