mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Use softvol for default PCM
Use softvol plugin for default PCM (for C-Media codecs)
This commit is contained in:
parent
6408cdf021
commit
e9c6bd0be0
2 changed files with 22 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue