Use softvol for default PCM

Use softvol plugin for default PCM (for C-Media codecs)
This commit is contained in:
Takashi Iwai 2005-02-17 15:15:37 +00:00
parent 6408cdf021
commit e9c6bd0be0
2 changed files with 22 additions and 6 deletions

View file

@ -14,7 +14,7 @@ VIA8233.pcm.front.0 {
device 0 device 0
} }
# default with plughw/dsnoop # default with softvol/dsnoop
# VIA8233 supports multi-playback # VIA8233 supports multi-playback
VIA8233.pcm.default { VIA8233.pcm.default {
@args [ CARD ] @args [ CARD ]
@ -25,8 +25,16 @@ VIA8233.pcm.default {
playback.pcm { playback.pcm {
type plug type plug
slave.pcm { slave.pcm {
@func concat type softvol
strings [ "hw:" $CARD ] slave.pcm {
type hw
card $CARD
device 0
}
control {
name "PCM Playback Volume"
card $CARD
}
} }
} }
capture.pcm { capture.pcm {

View file

@ -14,7 +14,7 @@ VIA8237.pcm.front.0 {
device 0 device 0
} }
# default with plughw/dsnoop # default with softvol/dsnoop
# VIA8237 supports multi-playback # VIA8237 supports multi-playback
VIA8237.pcm.default { VIA8237.pcm.default {
@args [ CARD ] @args [ CARD ]
@ -25,8 +25,16 @@ VIA8237.pcm.default {
playback.pcm { playback.pcm {
type plug type plug
slave.pcm { slave.pcm {
@func concat type softvol
strings [ "hw:" $CARD ] slave.pcm {
type hw
card $CARD
device 0
}
control {
name "PCM Playback Volume"
card $CARD
}
} }
} }
capture.pcm { capture.pcm {