]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Added EMU10K1 configuration
authorJaroslav Kysela <perex@perex.cz>
Mon, 14 May 2001 14:26:38 +0000 (14:26 +0000)
committerJaroslav Kysela <perex@perex.cz>
Mon, 14 May 2001 14:26:38 +0000 (14:26 +0000)
src/pcm/surround.conf

index a9d5d08db71b8c12d46bc3f5d977a1c1a439d1f6..a3c61eeb16d9d2110150b0fca7fccd6345dd665d 100644 (file)
@@ -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;
+       }
+}