i use fmod 18.104.22.168 in my android game, i want use FMOD_RESULT eResut = m_pLowLevelSystem->mixerSuspend(); to stop the music when the appgame enter to background, but this function return FMMOD_ERR_OUT_DRIVERCALL,and the muisc still playing when the game in background, which question maybe here?
This is because the thread you’re calling mixerSuspend from is not attached to the Java VM. Native threads must be attached to the Java VM, please call JavaVM::AttachCurrentThread before calling mixerSuspend.
FYI, we’ve made the logging output of this error more descriptive in 1.08.
Please login first to submit.