From c8567c5870a659cfa401703c75db7f4e25d4668c Mon Sep 17 00:00:00 2001 From: Clemens Ladisch Date: Mon, 19 Jan 2009 10:20:38 +0100 Subject: [PATCH] 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 --- src/conf/cards/CMI8788.conf | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/conf/cards/CMI8788.conf b/src/conf/cards/CMI8788.conf index 0ca71e9d..26910d51 100644 --- a/src/conf/cards/CMI8788.conf +++ b/src/conf/cards/CMI8788.conf @@ -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 { -- 2.47.1