[WDMAUD.DRV] Workaround multiple issues with AC97 driver from rapps
authorJoachim Henze <Joachim.Henze@reactos.org>
Mon, 14 Sep 2020 15:12:16 +0000 (17:12 +0200)
committerJoachim Henze <Joachim.Henze@reactos.org>
Mon, 14 Sep 2020 15:12:16 +0000 (17:12 +0200)
commit6d7ebc20481a587bd19e8a8049317113071b0817
treeab3acebc643eeda6de82042e8a9d8371488d237e
parent78edea816477ac7d088a86ec1743d7a649c0c025
[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