Low latency Audio - because your ears are worth it
summary
Demonstrates the Oboe C++ library for low‑latency audio, using AAudio on API 27+ and OpenSL ES on older devices, and shows exact choices: request exclusive sharing mode to shave milliseconds, set buffer to double the frames‑per‑burst to avoid underruns, implement an onAudioReady callback that fills float frames, and tie rotation sensor values to oscillator frequency. Builds a simple musical instrument on a Pixel XL, it runs live and sounds responsive, and plays over the Amen break loop.
AI-written summary · about
chapters (16)
- 0:00Intro
- 0:30User experience
- 1:36Oboe
- 3:53Start Engine
- 6:37Audio Stream Builder
- 7:35Exclusive Sharing Mode
- 8:35Buffer Size
- 9:35Callback
- 10:23Method signature
- 11:05Audio source
- 11:43Render
- 12:05Render Audio
- 12:31Return Result
- 15:07Music
- 16:12Frequency
- 17:09Interlude
related talks
39mDemystifying Low Latency Audio on Android
17mA Brief History of Real Time Audio (or Wasn’t That API Deprecated?)
40mHigh Performance Audio
38mAndroid Audio: Beyond Winning On It
33mVisualizing the Human Voice
26mUnderstanding and Implementing Audio on Android
42mLet's make some noise with Android
16mUnderstanding and Implementing Audio on Android
