From: Jaroslav Kysela Date: Mon, 14 May 2001 14:26:38 +0000 (+0000) Subject: Added EMU10K1 configuration X-Git-Tag: v1.0.3~838 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=f1a6bb270db9def38cc89446ec33e90e772e0070;p=alsa-lib.git Added EMU10K1 configuration --- diff --git a/src/pcm/surround.conf b/src/pcm/surround.conf index a9d5d08d..a3c61eeb 100644 --- a/src/pcm/surround.conf +++ b/src/pcm/surround.conf @@ -41,7 +41,7 @@ surround_plugin.FM801 { } surround_plugin.ENS1370 { - use_fd = 1; + use_fd_four = 1; open_multi { device.0 = 1; subdevice.0 = 0; @@ -135,3 +135,56 @@ surround_plugin.INTEL8X0 { subdevice = 0; } } + +surround_plugin.EMU10K1 { + channels_six = true; + use_fd_four = 1; + use_fd_six = 2; + open_multi { + device.0 = 0; + subdevice.0 = -1; + device.1 = 0; + subdevice.1 = -1; + device.2 = 0; + subdevice.2 = -1; + } + open_control.0 { + iface = MIXER; + name = 'Wave Surround Playback Volume'; + index = 0; + lock = true; + preserve = true; + value.0 = 0; + value.1 = 0; + } + # change send volume from front to rear + open_control.1 { + iface = MIXER; + name = 'EMU10K1 PCM Send Volume'; + index = subdevice1; + lock = true; + value.4 = 0; + value.5 = 0; + value.6 = 255; + value.7 = 0; + value.8 = 0; + value.9 = 0; + value.10 = 0; + value.11 = 255; + } + # send routing must be changed to 6 (center) and 7 (LFE) + open_control.2 { + iface = MIXER; + name = 'EMU10K1 PCM Send Routing'; + index = subdevice2; + lock = true; + value.4 = 6; + value.5 = 7; + value.6 = 0; + value.7 = 1; + value.8 = 6; + value.9 = 7; + value.10 = 0; + value.11 = 1; + } +}