~/talk

Weaponizing the Audio Framework to Beamform with a 5ch Mic

TalkinJapaneseat DroidKaigi 2022 · 2022-10-05..10-07· [embedded-and-hardware]
links:none on file
slides:none on file

Describes modifying the Android Audio Framework on a Qualcomm device so a 5-microphone array produces a single-channel beamformed audio stream for apps. Integrates an external beamforming library, exposes raw 5-channel PCM via a custom channel-config flag (value 124), performs beamforming in the audio buffer path to convert 5ch→1ch, and overrides HAL headset switching so wired headset insertions still use the device mics. A working prototype returns clear 1-channel beamformed PCM to applications.

AI-written summary · about

  1. 0:00Introduction
  2. 2:38What is Beamforming?
  3. 4:53Why is Beamforming Necessary?
  4. 6:16Supporting 5ch Microphone Input: Hardware Edition
  5. 9:56Supporting 5ch Microphone Input: Software Edition
  6. 16:17Supporting Third-Party Apps/SDKs
  7. 22:12Handling Earphone Mic Insertion/Removal
  8. 25:45Presentation Goals
~/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.