dechamps / FlexASIO

A flexible universal ASIO driver that uses the PortAudio sound I/O library. Supports WASAPI (shared and exclusive), KS, DirectSound and MME.
Other
1.29k stars 70 forks source link

WASAPI Event Mode Unsupported #198

Open Hortlak1 opened 9 months ago

Hortlak1 commented 9 months ago

Could the option to disable Event Mode be added? As some systems do not support it. example "wasapiEventMode = false". TIA

dechamps commented 9 months ago

I can look into it - PortAudio already has that option so it should be trivial to add in the next release.

I'm a bit curious as to what issue you're having with event mode though. I'm honestly a bit surprised that, in modern Windows, WASAPI event mode would still be seen as less reliable than polling. This WASAPI feature has existed for more than 15 years; I would have expected bugs to have been ironed out by now. It's quite possible you're hitting limitations of the PortAudio WASAPI code as opposed to limitations in WASAPI itself.

dechamps commented 1 month ago

Before I proceed with this, I would like to understand what you think is wrong with "event mode", i.e. what the actual problem is so that I can try to reproduce it. This way I can check if it can be fixed (or worked around) in PortAudio itself, which would be a much better solution than adding yet another obscure FlexASIO option and putting the burden on users to figure it out.