Replies: 3 comments 5 replies
-
Does it occur when running the debug version of the app without debugging? |
Beta Was this translation helpful? Give feedback.
1 reply
-
No, if failed to open stream, will crash at https://github.com/axmolengine/axmol/blob/dev/thirdparty/openal/alc/backends/oboe.cpp#L64 |
Beta Was this translation helpful? Give feedback.
4 replies
-
For anyone reading this, the problem is resolved, with more info in #1212 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having a really strange and random issue when I start up the application on a real device via the debug option in Android Studio. The app starts up normally, and everything seems fine in the log regarding the audio initialisation, but no audio is played at all for any sound file. If enough sound files are played, an error appears and ends up crashing the app:
Fail to play Sounds/TestFile.mp3 cause by limited max instance of AudioEngine
If that doesn't crash it, but the app is closed via an
Exit
menu item, then it crashes in the following method, because result isResult::ErrorClosed
, and notResult::OK
as expected:It seems like either the
mStream
failed to open, or somehow closed from the start of the app, which is why no sound can be heard. Any ideas what may be causing this issue?I haven't yet noticed this issue when the debug version of the app is started normally without a debugger attached, so hopefully it is just limited to debugging.
Beta Was this translation helpful? Give feedback.
All reactions