mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2025-04-21 12:27:27 +03:00
nanonote-files: add software volume control
This commit is contained in:
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
|
||||
}
|
||||
Reference in New Issue
Block a user