mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-22 13:41:53 +02:00
nanonote-files: add software volume control
This commit is contained in:
parent
6baf30dc58
commit
28188074d9
26
nanonote-files/script-files/etc/asound.conf
Normal file
26
nanonote-files/script-files/etc/asound.conf
Normal file
@ -0,0 +1,26 @@
|
||||
pcm.!default {
|
||||
type plug
|
||||
slave {
|
||||
pcm "softvol"
|
||||
}
|
||||
}
|
||||
pcm.softvol {
|
||||
type softvol
|
||||
slave {
|
||||
pcm "dmix"
|
||||
}
|
||||
control {
|
||||
name "PCM"
|
||||
card 0
|
||||
count 1
|
||||
}
|
||||
}
|
||||
# For OSS emulation
|
||||
pcm.dsp0 {
|
||||
type plug
|
||||
slave.pcm "softvol"
|
||||
}
|
||||
ctl.mixer0 {
|
||||
type hw
|
||||
card 0
|
||||
}
|
Loading…
Reference in New Issue
Block a user