~/talk

Understanding and Implementing Audio on Android

Talkat Droidcon Italy 2018 · 2018-04-19..04-20· [android]
links:none on file
slides:none on file

Concrete implementation notes and outcomes: compares MediaPlayer, SoundPool and ExoPlayer, inspects Android’s AudioService, and ships audio for a smart oven. Uses SoundPool for low-latency taps and MediaPlayer for larger files, implements audio focus and themes, and loads common sounds eagerly. Shows state-machine pitfalls, a slider UI that requires mixing simultaneous notes, a wake-sound race that produces static, and APK bloat from packed assets, so workarounds are practical but imperfect.

AI-written summary · about

  1. 0:00Start
  2. 1:41Motivation Creating a more interactive experience
  3. 3:51How is Audio Processed?
  4. 7:36Implementing Audio Playback
  5. 8:03Media Player
  6. 12:23MediaPlayer : Common Errors
  7. 13:55SoundPool
  8. 19:02Being a good (App) Citizen
  9. 19:58AudioFocus : Scenario
  10. 20:30AudioFocus : Proper Flow
  11. 21:02AudioFocus: Intentions
  12. 21:52Sounds on the June Oven
  13. 23:27Problems Encountered
~/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.