From 28188074d9424bade098257734cdb1c5d783055d Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Tue, 23 Aug 2011 09:29:43 +0800 Subject: [PATCH] nanonote-files: add software volume control --- nanonote-files/script-files/etc/asound.conf | 26 +++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 nanonote-files/script-files/etc/asound.conf diff --git a/nanonote-files/script-files/etc/asound.conf b/nanonote-files/script-files/etc/asound.conf new file mode 100644 index 0000000..866e358 --- /dev/null +++ b/nanonote-files/script-files/etc/asound.conf @@ -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 +}