OpenSL vs AudioTrack on Android API 26+ (avoiding AAudio)

I’m using the FMOD Core API on Android. On some devices, System_Init() takes 400 ms or more when the output is AAudio. For my case, I prefer to avoid AAudio for now.

That leaves me with OpenSL or AudioTrack. I prefer OpenSL because it offers finer granularity, but I’m not sure if it is safe to use it on every device my app can run on (API 26+).

Is it safe to always use OpenSL on API 26+ devices? If not, is there a way to ask FMOD which one (OpenSL vs AudioTrack) is better for the current device, like calling init with AUTODETECT but excluding AAudio? If not, what criteria should I use to decide between OpenSL and AudioTrack?

Thanks!

Hi,

There was a known issue with slow AAudio start up times which has been solved in the most recent release: FMOD Engine | Welcome Revision History. Would it be possible to update to the latest to confirm if the issue persists?