From e9c6bd0be0fa9ef7c25d7744377715c4c5fbc38d Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 17 Feb 2005 15:15:37 +0000 Subject: [PATCH] Use softvol for default PCM Use softvol plugin for default PCM (for C-Media codecs) --- src/conf/cards/VIA8233.conf | 14 +++++++++++--- src/conf/cards/VIA8237.conf | 14 +++++++++++--- 2 files changed, 22 insertions(+), 6 deletions(-) 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 { -- 2.47.1