ebitengine / oto

♪ A low-level library to play sound on multiple platforms ♪
Apache License 2.0
1.59k stars 133 forks source link

ios: Crash: NSLocalizedDescription: oto: AudioQueueStart failed: 561015905 #93

Open hajimehoshi opened 5 years ago

hajimehoshi commented 5 years ago

https://stackoverflow.com/questions/34789414/audioqueuestart-returns-561015905-avaudiosessionerrorcodecannotstartplaying

hajimehoshi commented 5 years ago

https://stackoverflow.com/questions/40769615/playing-sound-in-didreceiveremotenotification-while-in-the-background-using-te

hajimehoshi commented 5 years ago

https://developer.apple.com/documentation/coreaudiotypes/avaudiosessionerrorcode/avaudiosessionerrorcodecannotstartplaying?language=objc

My guess is that creating an audio context happened when the app is in background.

hajimehoshi commented 2 months ago

Integrated into #242

hajimehoshi commented 1 month ago

561015905 (!pla) at AudioQueueStart is still found