Skip to content
Surf Wiki
Save to docs
general/application-programming-interfaces

From Surf Wiki (app.surf) — the open knowledge base

OpenSL ES


FieldValue
nameOpenSL ES
logo[[File:OpenSL ES logo.svg220pxOpenSL ES Logo]]
captionThe Standard for Enhanced Audio
developerKhronos Group, Inc.
latest_release_version1.1
latest_release_date
operating_systemCross-platform
genreAPI
licenseRoyalty free
website

OpenSL ES (Open Sound Library for Embedded Systems) is a royalty-free, cross-platform, hardware-accelerated, C-language audio API for 2D and 3D audio. It provides access to features such as 3D positional audio and MIDI playback. It is made for developers in the mobile and gaming industry and is working toward allowing for easy porting of applications across multiple platforms.

Overview

The OpenSL ES API has five major features:

  • Basic audio playback and recording
  • 3D audio effects including 3D positional audio
  • Music experience enhancing effects including bass boost and environmental reverb
  • Interactive music and ringtones using SP-MIDI, Mobile DLS, Mobile XMF
  • Buffer Queues

The features of Audio Playback and Recording and Basic MIDI are common with OpenMAX AL.

Design

OpenSL ES utilizes an object oriented design to give application developers access to the audio functionality. The object model is shared with OpenMAX AL, and a device manufacturer can choose to implement one or both of the APIs. Together the two APIs give access to a wide range of functionality of the device's multimedia engine.

The design goal of OpenSL ES is to give application developers access to advanced audio features such as 3D positional audio and MIDI playback while striving for easy application porting between manufacturers and platforms. It is developed primarily for application developers in the mobile and gaming industry.

Profiles

To avoid fragmentation, OpenSL ES is divided up into three profiles:

  • Phone
  • Music
  • Game Each profile is designed for the respective device needs with a specific set of audio functionalities. A vendor can choose to be conformant with only one or with any combination of profiles.

An application can query the OpenSL ES implementation to find out which profiles are supported. The application developer can then design their application to either work with only the common parts of the profiles, or adapt to the available functionality as given by the profiles in the device it is running on. An application developer can also specify both the minimum and the optimal profile requirements.

Development

OpenSL ES is managed by the non-profit technology consortium Khronos Group. The current chair of the OpenSL ES working group is Erik Noreke.

Specification versions

Implementations

  • Android 2.3 exposes OpenSL ES 1.0 as part of their Android NDK. The latency of the implementation has improved in later releases.
  • A full implementation of OpenSL ES 1.1 is available from SRS Labs.

References

References

  1. "Intel Developer Zone".
  2. [http://www.khronos.org/news/press/releases/khronos-group-releases-opensl-es-1.0-specification-for-portable-mobile/ Khronos Group Releases OpenSL ES 1.0 Specification for Portable Mobile and Embedded Audio Processing] {{webarchive. link. (7 April 2009 , Khronos press release)
  3. [http://www.khronos.org/news/press/releases/khronos-opensl-es-1-1-specification-for-stereo-3d-audio-mobile-os/ Khronos Group Releases OpenSL ES 1.1 Specification For Stereo and 3D Audio on Any Mobile Platform and OS] {{webarchive. link. (17 March 2011 , Khronos press release)
  4. Ionut Arghire. (7 December 2010). "Android 2.3 Brings Changes for Developers too, New SDK Available". softpedia.
  5. (August 2025). "Native Audio: OpenSL ES™ for Android". }}{{Dead link.
  6. "Audio Latency Measurements".
  7. (3 December 2015). "APPROACHES FOR CONSTANT AUDIO LATENCY ON ANDROID". Proc. of the 18th Int. Conference on Digital Audio Effects.
  8. (25 August 2016). "Rebooting Android's 10 Millisecond Problem: Audio Latency Improvements in Android 6.0 Marshmallow". Superpowered Audio for iOS, OSX and Android.
  9. "SRS Labs Launches Industry's First Khronos OpenSL ES 1.1 Audio Solution for Android Mobile Devices at Mobile World Congress".
Info: Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about OpenSL ES — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report