mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
PC-Speaker config update
The attached patch updates the PC-Speaker.conf for the use of softvol. Signed-off-by: Stas Sergeev <stsp@aknet.ru>
This commit is contained in:
parent
d3339d7b8b
commit
cda4a3cb61
1 changed files with 21 additions and 16 deletions
|
|
@ -9,8 +9,17 @@ PC-Speaker.pcm.front.0 {
|
||||||
@args.CARD {
|
@args.CARD {
|
||||||
type string
|
type string
|
||||||
}
|
}
|
||||||
type hw
|
type softvol
|
||||||
card $CARD
|
slave.pcm {
|
||||||
|
type hw
|
||||||
|
card $CARD
|
||||||
|
}
|
||||||
|
control {
|
||||||
|
name "Master Playback Volume"
|
||||||
|
card $CARD
|
||||||
|
}
|
||||||
|
min_dB -10.0
|
||||||
|
max_dB 20.0
|
||||||
}
|
}
|
||||||
|
|
||||||
# default with dmix & null
|
# default with dmix & null
|
||||||
|
|
@ -23,21 +32,17 @@ PC-Speaker.pcm.default {
|
||||||
playback.pcm {
|
playback.pcm {
|
||||||
type plug
|
type plug
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type dmix
|
type softvol
|
||||||
ipc_key 5678293
|
slave.pcm {
|
||||||
ipc_key_add_uid yes
|
@func concat
|
||||||
slave {
|
strings [ "dmix:" $CARD ]
|
||||||
pcm {
|
|
||||||
type hw
|
|
||||||
card $CARD
|
|
||||||
}
|
|
||||||
period_time 0
|
|
||||||
period_size 1024
|
|
||||||
buffer_size 8192
|
|
||||||
format S16_LE
|
|
||||||
channels 1
|
|
||||||
rate 37286
|
|
||||||
}
|
}
|
||||||
|
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