FlexASIO icon indicating copy to clipboard operation
FlexASIO copied to clipboard

FlexASIO should allow controlPanel() calls before init()

Open dechamps opened this issue 2 years ago • 0 comments

In eiz/SynchronousAudioRouter#133 an interesting point was raised, which is that some hosts might want to call controlPanel() before init(). This is somewhat unlikely, and I've never seen an ASIO host application try to do this, but the ASIO SDK doesn't rule this out, so robustness principle would dictate that drivers should be prepared for that to happen.

In the case of FlexASIO, this basically means we should accept controlPanel() calls in the uninitialized state and be prepared to handle such calls without a window handle.

dechamps avatar Feb 04 '23 16:02 dechamps