https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6d7ebc20481a587bd19e8a...
commit 6d7ebc20481a587bd19e8a8049317113071b0817 Author: Joachim Henze Joachim.Henze@reactos.org AuthorDate: Mon Sep 14 17:12:16 2020 +0200 Commit: Joachim Henze Joachim.Henze@reactos.org CommitDate: Mon Sep 14 17:12:16 2020 +0200
[WDMAUD.DRV] Workaround multiple issues with AC97 driver from rapps
By taking alternative code-paths in WdmAud and bypassing Sysaudio.
This relies on the patch 0.4.15-dev-765-g b8e936a57b4770e133772cf2dd66f30671a1524b
It fixes the following bugs/regressions: -CORE-13202 Unhandled exception from wdmaud.drv when recording sound in Scratch 1.4 leads to app-crash -CORE-13488 A deadlock in "DiabloII" character selection screen and "The Lion King II" -CORE-8726/CORE-9986/CORE-16564 AC97 driver is now working in the same session where driver was installed, no reboot-orgies needed anymore -CORE-9981 almost 100% fixed, DosBox + Commander Keen6 properly plays music instead of garbled output, same improvement for ScummVM 2.0 with Monkey Island 2
The playback is not yet *entirely* perfect, still a few hiccups now and then, but by orders of magnitude better than before. --- dll/win32/wdmaud.drv/wdmaud.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dll/win32/wdmaud.drv/wdmaud.c b/dll/win32/wdmaud.drv/wdmaud.c index dfd8ea0361e..45308b3aff2 100644 --- a/dll/win32/wdmaud.drv/wdmaud.c +++ b/dll/win32/wdmaud.drv/wdmaud.c @@ -18,6 +18,7 @@ #include <debug.h> #include <mmebuddy_debug.h>
+#define USE_MMIXER_LIB #ifndef USE_MMIXER_LIB #define FUNC_NAME(x) x##ByLegacy #else