-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Crash in Playing #10
Comments
Hi Harry, Thanks for raising the issue. Unfortunately, I am not able to reproduce it. The only thing that I can think of is the following. Try to create the dispatch queue and store a reference somewhere: let queue = DispatchQueue(label: "com.staysorted.soundfx") And then use the queue to play sounds: queue.async {
Sound.play(file: sound.filename)
} Please let me know if you are able to give some tips on how to reproduce the issue and if my proposed solution works. |
Thanks for response @adamcichy |
@harryworld Have you experienced the crash since your last post? Have you got more details that could help identify the issue? |
It's working fine so far. We have followed your suggestion above. |
That's great. Closing the issue. |
Any idea on what's happening?
For some reasons, we implement our code like this.
The text was updated successfully, but these errors were encountered: