In commit c859b4a we introduced support for Google’s Oboe. Oboe is a C++ library for building low latency high-performance audio apps on Android. It supports API 16 onwards (99% devices). Under the hood, Oboe uses OpenSL ES on API 16-26 and AAudio from API 27 (Android 8.1) onwards. AAudio introduces further audio performance improvements such as exclusive audio mode. When using Oboe, developers don’t have to code separately for OpenSL ES and AAudio, since Oboe intelligently picks the correct audio implementation at runtime.
Oboe is currently in developer preview and is expected to be released in near future. This preview allows for early access and evaluation for developers targeting Android platform. To enable Oboe in JUCE, simply download Oboe repository from https://github.com/google/oboe, then in Projucer set JUCE_USE_ANDROID_OBOE to Enabled and set the path to the repository in Android exporter:
We are super curious to hear about your experience with using Oboe in JUCE. Since it is in developer preview, any feedback & bug reports will allow us to make it better for you.