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!