~/talk

Demystifying Low Latency Audio on Android

Talkat Android Makers 2020 · 2020-04-20..04-21· [android]
slides:none on file

Explains why low latency audio needs native paths and shows concrete fixes: use the Oboe C++ library (works API16+, switches between OpenSL ES and AAudio), avoid JVM buffering hacks, and test with the provided tester app and samples (WaveMaker, HelloOboe). Gives concrete numbers: device round trips around 6–9 ms on some phones, ~20–22 ms on others, Bluetooth often 200–500 ms, professional target round-trip <10 ms. Covers sample‑rate and buffer probing, managed streams, prefab/Gradle caveats, and that the demos work.

AI-written summary · about

  1. 0:00Intro
  2. 1:24Audio processing on Android/Java
  3. 3:49High Performance Audio on Android
  4. 6:02Audio Latency: How?
  5. 7:30Audio path in Android
  6. 8:35Types of Audio Latency
  7. 9:43Audio Latency:Keypoints
  8. 10:35Audio Latency on mobile platforms
  9. 11:24Audio Latency on Android
  10. 12:00Problem on Android
  11. 13:34OS Level Problems: AAudio
  12. 14:03OS Level Problems: CPU Scaling
  13. 15:51Sample rate
  14. 16:39API Level Problems: Samplerate
  15. 17:45API Level Problems: Buffer length
  16. 18:44Audio Latency over Bluetooth
  17. 20:25Java vs Native Path(C++)
  18. 22:55Including Oboe
  19. 24:20compared to OpenSL ES code
  20. 26:36Oboe: Tester
  21. 27:31Apps already using Oboe
  22. 28:22Oboe: Cons
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.