mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
pcsp: remove downsampling
apply softvol before plug as softvol doesn't support U8 as of now. This also improves the sound quality. Signed-off-by: Stas Sergeev <stsp@aknet.ru>
This commit is contained in:
parent
87ae12214b
commit
542b12b888
1 changed files with 8 additions and 8 deletions
|
|
@ -30,19 +30,19 @@ PC-Speaker.pcm.default {
|
||||||
}
|
}
|
||||||
type asym
|
type asym
|
||||||
playback.pcm {
|
playback.pcm {
|
||||||
type plug
|
type softvol
|
||||||
|
control {
|
||||||
|
name "Master Playback Volume"
|
||||||
|
card $CARD
|
||||||
|
}
|
||||||
|
min_dB -10.0
|
||||||
|
max_dB 20.0
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type softvol
|
type plug
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
@func concat
|
@func concat
|
||||||
strings [ "dmix:" $CARD ]
|
strings [ "dmix:" $CARD ]
|
||||||
}
|
}
|
||||||
control {
|
|
||||||
name "Master Playback Volume"
|
|
||||||
card $CARD
|
|
||||||
}
|
|
||||||
min_dB -10.0
|
|
||||||
max_dB 20.0
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
capture.pcm {
|
capture.pcm {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue