Current master suffers from a performance penalty (at least under Windows) that prevents reducing the audio latency below
a certain threshold (25-30ms for me).
Issue appears to be caused by lack of rsemaphore referencing for VDP2 "busy wait".
These changes improve performance and allow for latency to be further reduced.
Backport changes from PR's 191, 197, and 199 by jdgleaver.
Current master suffers from a performance penalty (at least under Windows) that prevents reducing the audio latency below a certain threshold (25-30ms for me).
Issue appears to be caused by lack of rsemaphore referencing for VDP2 "busy wait".
These changes improve performance and allow for latency to be further reduced.
Tested on WIndows 11 using WASAPI audio driver.