• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1page.title=NDK High-Performance Audio
2@jd:body
3
4<p>The NDK package includes an Android-specific implementation of the
5<a class="external-link" href="https://www.khronos.org/opensles/">OpenSL ES™</a> API
6specification from the <a class="external-link" href="https://www.khronos.org">Khronos Group</a>.
7This library allows you to use C or C++ to implement high-performance, low-latency audio, whether
8you are writing a synthesizer, digital audio workstation, karaoke, game,
9 or other real-time app.</p>
10
11<p>This section begins by providing some
12<a href="{@docRoot}ndk/guides/audio/basics.html">basic information</a> about the API, including
13typical use cases and how to incorporate it into your app. It then explains what you need to know
14about the <a href="{@docRoot}ndk/guides/audio/opensl-for-android.html">Android-specific
15implementation</a> of OpenSL ES, focusing on the differences between this implementation and the
16reference specification. Next, you'll learn how to minimze
17 <a href="{@docRoot}ndk/guides/audio/input-latency.html">input latency</a>
18 when using built-in or external microphones
19and some actions that you can take to minimize
20 <a href="{@docRoot}ndk/guides/audio/output-latency.html">output latency</a>.
21 It describes the reasons that you should use
22 <a href="{@docRoot}ndk/guides/audio/floating-point.html">floating-point</a>
23 numbers to represent your audio data, and it provides information that will help you choose the
24optimal <a href="{@docRoot}ndk/guides/audio/sample-rates.html">sample rate</a>. This section
25 concludes with some supplemental <a href="{@docRoot}ndk/guides/audio/opensl-prog-notes.html">
26 programming notes</a> to ensure proper implementation of OpenSL ES.
27 </p>
28