Android 12 Developer Preview is here! Try it out, and give us your feedback!

Using Oboe to implement high-performance audio in your game

The Oboe audio library is included in the Android Game SDK. Oboe is an open-source C++ library designed to help build high-performance audio apps on Android. Oboe provides a single native API that works in Android 4.1 (API level 16) and higher.

Use Oboe to gain the following benefits:

  • Achieve the lowest latency. Oboe helps your application achieve the lowest-possible audio latency for a given device and Android version combination.

  • Use the best available native library. On devices running Android API 8.1 (API level 27) and higher, Oboe uses AAudio. For devices running lower versions, Oboe uses OpenSL ES.

  • Avoid audio bugs. Oboe includes workarounds for some known audio issues that manifest on specific devices or versions of Android. Using Oboe helps your application avoid these issues without having to implement or test your own solutions.

Next steps