-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AudioOut stop() & enqueue AudioOut.Flush both lockup Sim and device #263
Comments
@zgramana, if you would provide an example, that would ensure we are looking into the same issue and help us to isolate the problem. Thanks. |
@phoddie I've sent your PR #265, which both reproduces the problem and provides a needed example for the use of It appears there are a couple of issues which this example can reproduce. I will file separate issues for them in case they are not the same root cause. |
Steps to reproduce this issue
|
@zgramana - nice example. And, yes, it hangs. :( The fix seems straightforward. I tested on macOS. It should work everywhere. Would you give it a try? In We'd be happy to accept the PR. You'll just need to complete the CLA. |
@phoddie The fix works when tested on a Moddable Two and a Mac via the Simulator. Cheers!
|
Thanks for confirming. I committed the change already so it is in the current tree. You can email the executed CLA PDF to [email protected]. Thank you! |
|
Trying to cancel enqueued samples, and calling either
stop
orenqueue(stream, AudioOut.Flush)
results in a hung device (moddable 2) or simulator (macOS).The text was updated successfully, but these errors were encountered: