IT lexicon › Programming › OpenSL ES

OpenSL ES

Programming På svenska → Updated: 2026-10-29
More info
Creator
Khronos Group
Released
2009
Type
Audio API (standard)
Successor
AAudio (on Android)

Khronos's standard audio API for embedded and mobile devices, best known as the only way to play sound from native code on Android before AAudio existed.

The Khronos Group — the consortium behind OpenGL ES — published version 1.0 in 2009, hoping to do for audio what OpenGL ES had done for graphics: one interface across phones and handheld consoles. Android adopted it in 2.3 through the NDK, and that is more or less where its adoption stopped.

The API is object-oriented C, with interfaces fetched by ID and objects realised in several stages, so even a trivial playback sample runs to a couple of hundred lines. Android's implementation was a subset with its own extensions, which quietly cancelled the portability that was the whole point of a standard. Its low latency was never quite as low as advertised, and Google has since deprecated it in favour of AAudio and Oboe.

← Back to the lexicon