# Android 6 probolem

**URL:** https://qa.fmod.com/t/android-6-probolem/22659
**Category:** FMOD Engine
**Created:** [March 5, 2025, 5:51am UTC](https://qa.fmod.com/t/android-6-probolem/22659 "2025-03-05T05:51:03Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![maksimomelyanchuk](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@maksimomelyanchuk](https://qa.fmod.com/u/maksimomelyanchuk)
#### Post date: [March 5, 2025, 5:51am UTC](https://qa.fmod.com/t/android-6-probolem/22659/1 "2025-03-05T05:51:03Z")

</div>

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](https://www.fmod.com/docs/2.02/api/core-api-system.html#fmod_outputtype) 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](https://qa.fmod.com/uploads/short-url/9KeCbY5FTde8bK0ARdH7dyTqwPu.txt) (34.0 KB)

---

<div class="post-metadata">

### Author: ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)
#### Post date: [March 12, 2025, 1:53am UTC](https://qa.fmod.com/t/android-6-probolem/22659/2 "2025-03-12T01:53:20Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![maksimomelyanchuk](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@maksimomelyanchuk](https://qa.fmod.com/u/maksimomelyanchuk)
#### Post date: [June 23, 2025, 7:46am UTC](https://qa.fmod.com/t/android-6-probolem/22659/3 "2025-06-23T07:46:56Z")

</div>

Have you fixed this problem? I don’t see any fixes in the release change log…

---

<div class="post-metadata">

### Author: ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)
#### Post date: [June 25, 2025, 12:25am UTC](https://qa.fmod.com/t/android-6-probolem/22659/4 "2025-06-25T00:25:24Z")

</div>

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](https://github.com/google/oboe/issues/2232)  
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.

---

<div class="post-metadata">

### Author: ![maksimomelyanchuk](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@maksimomelyanchuk](https://qa.fmod.com/u/maksimomelyanchuk)
#### Post date: [July 11, 2025, 7:00am UTC](https://qa.fmod.com/t/android-6-probolem/22659/5 "2025-07-11T07:00:43Z")

</div>

I’ve tried to use your fix with [setSoftwareFormat](https://www.fmod.com/docs/2.02/api/core-api-system.html#system_setsoftwareformat) and various values like 48000 and 24000, but there is still no sound at all. The only thing that works is to change setOutput to FMOD\_OUTPUTTYPE\_AUDIOTRACK.

---

<div class="post-metadata">

### Author: ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)
#### Post date: [July 13, 2025, 11:01pm UTC](https://qa.fmod.com/t/android-6-probolem/22659/6 "2025-07-13T23:01:35Z")

</div>

Okay, well it looks like using `FMOD_OUTPUTTYPE_AUDIOTRACK` on emulated Android 23 is the only workaround for now. They closed my git issue due to Android 23 being very old, so unfortunately I don’t think there is anything more we can do about this issue.
