From: Takashi Iwai Date: Thu, 17 Feb 2005 15:15:37 +0000 (+0000) Subject: Use softvol for default PCM X-Git-Tag: v1.0.9rc1~18 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=e9c6bd0be0fa9ef7c25d7744377715c4c5fbc38d;p=alsa-lib.git Use softvol for default PCM Use softvol plugin for default PCM (for C-Media codecs) --- diff --git a/src/conf/cards/VIA8233.conf b/src/conf/cards/VIA8233.conf index 23cf4b7d..b8f88cdb 100644 --- a/src/conf/cards/VIA8233.conf +++ b/src/conf/cards/VIA8233.conf @@ -14,7 +14,7 @@ VIA8233.pcm.front.0 { device 0 } -# default with plughw/dsnoop +# default with softvol/dsnoop # VIA8233 supports multi-playback VIA8233.pcm.default { @args [ CARD ] @@ -25,8 +25,16 @@ VIA8233.pcm.default { playback.pcm { type plug slave.pcm { - @func concat - strings [ "hw:" $CARD ] + type softvol + slave.pcm { + type hw + card $CARD + device 0 + } + control { + name "PCM Playback Volume" + card $CARD + } } } capture.pcm { diff --git a/src/conf/cards/VIA8237.conf b/src/conf/cards/VIA8237.conf index 74520055..a9474377 100644 --- a/src/conf/cards/VIA8237.conf +++ b/src/conf/cards/VIA8237.conf @@ -14,7 +14,7 @@ VIA8237.pcm.front.0 { device 0 } -# default with plughw/dsnoop +# default with softvol/dsnoop # VIA8237 supports multi-playback VIA8237.pcm.default { @args [ CARD ] @@ -25,8 +25,16 @@ VIA8237.pcm.default { playback.pcm { type plug slave.pcm { - @func concat - strings [ "hw:" $CARD ] + type softvol + slave.pcm { + type hw + card $CARD + device 0 + } + control { + name "PCM Playback Volume" + card $CARD + } } } capture.pcm {