Help needed with my C++ ASIO output code: many drivers are crashing internally



Arne, Yvan, could you please take a look at this issue?

Please note that byuu software is not just regular software. It’s bsnes and higan — the world’s most accurate and incredibly popular open-source emulators of Nintendo’s 8/16-bit game consoles.

According to byuu, the ASIO code used in bsnes and higan is 100% functionally identical to Steinberg’s SDK example code.

On my system, those crashes are 100% reproduceable. My sound card is ESI Juli@ (PCI) with the latest driver 1.21 under Windows 10 Pro (64 bit).

In emulation, minimal latency is crucially important, and audio latency is an important part of the overal latency. ASIO is a natural way to achieve minimal latency, but it causes bsnes crashes immediately after trying to switch to ASIO via its settings (bsnes → Settings → Drivers → Audio → Driver → ASIO).

Right now, byuu has just removed ASIO today from the next bsnes v109.2 and higan v106.214. Please help.

Thanks.