Make flush and close asynchronously, otherwise flush or close will block the main thread. But only Windows (win32) and MacOS (coreaudio) are tested, other backends are not tested (Don't have enough time and resource to test every backend, sorry). So this should be a BREAK_CHANGE, I just want to submit a PR for now and ask someone's advice.
Make flush and close asynchronously, otherwise flush or close will block the main thread. But only Windows (win32) and MacOS (coreaudio) are tested, other backends are not tested (Don't have enough time and resource to test every backend, sorry). So this should be a BREAK_CHANGE, I just want to submit a PR for now and ask someone's advice.