Hello, we have a problem using FMOD Android SDK (2.02.27) on Android 6(API Level 23) emulator platform. Other Android versions work fine (tested 22, 24 and above).
I’ve modified your simple_event example. You have to add a line
ERRCHECK( coreSystem->setOutput(FMOD_OUTPUTTYPE_OPENSL) );
to reproduce it. If you change it to
ERRCHECK( coreSystem->setOutput(FMOD_OUTPUTTYPE_AUDIOTRACK) );
everythnig works fine then.
Your docs says that FMOD_OUTPUTTYPE_OPENSL should be default for this Android version, but it seems it doesn’t, because without setting the output the bug doesn’t appear.
Here are logs:
FmodAndroid6.txt (34.0 KB)
I can reproduce this in the emulator as described, thank you for reporting this issue. I can’t immediately see what the problem is, I will pass it onto the Dev team to investigate further.
Have you fixed this problem? I don’t see any fixes in the release change log…
We reproduced this issue outside of FMOD, and I’ve filed a bug report with the Google Oboe API 44.1kHz sample rate silent on emulated Android 23 device · Issue #2232 · google/oboe · GitHub
It appears that for whatever reason, OpenSL doesn’t work with 44.1kHz on an emulated Android 23 device, with or without FMOD. If I switch our OpenSL implementation to use 48kHz it works on the emulated device without issue, and the task now is to explore options for changing the OpenSL sample rate. I will bump the task.