dsound-EAX: Disable EAX support by default.

Several older games seem to trigger various bugs when EAX 1 support is enabled.
This commit is contained in:
Sebastian Lackner
2015-04-13 00:37:54 +02:00
parent bbbdc32ff4
commit 2bb0477ca0
2 changed files with 6 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
From 937d52434c44a50628f5b96b4e08a8e24f6df62b Mon Sep 17 00:00:00 2001
From b69c6b88a3628dcaf0f5520f2a33a47013c50aef Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Sun, 5 Apr 2015 19:13:18 +0200
Subject: dsound: Allow disabling of EAX support in the registry.
@@ -46,14 +46,14 @@ index 3641e32..ca6a5b5 100644
return E_PROP_ID_UNSUPPORTED;
diff --git a/dlls/dsound/dsound_main.c b/dlls/dsound/dsound_main.c
index 1f512a4..4b45528 100644
index 1f512a4..4b7e7b0 100644
--- a/dlls/dsound/dsound_main.c
+++ b/dlls/dsound/dsound_main.c
@@ -95,8 +95,12 @@ WCHAR wine_vxd_drv[] = { 'w','i','n','e','m','m','.','v','x','d', 0 };
int ds_hel_buflen = 32768 * 2;
int ds_snd_queue_max = 10;
int ds_hq_buffers_max = 4;
+BOOL ds_eax_enabled = TRUE;
+BOOL ds_eax_enabled = FALSE;
static HINSTANCE instance;
+#define IS_OPTION_TRUE(ch) \