~/talk

Insight of an Audio Driver Based on ALSA

links:none on file
slides:none on file

Explains a concrete ALSA-based mobile SoC audio stack: topology of I2S controller, mixer, codec and how the regmap over I2C controls codec registers. Describes clocking rules (LR clock = sample rate), separate PCM device per DAI, and uses three DMA channels (primary, receive, secondary). Shows ALSA call sequence (PCM open → hw_params → PCM prepare → trigger) and a working Android voice-call path that switches audio from AP-playback to modem-to-codec capture.

AI-written summary · about

  1. 0:00Basics of Audio
  2. 1:13Audio Block
  3. 2:1012S Data Formats
  4. 3:24CLOCK
  5. 5:3612C Interface for codec
  6. 6:1012C Layers
  7. 7:00S/W architecture
  8. 9:35Data Flow in Audio Sub-System
  9. 10:45Control Flow in Audio Driver
  10. 11:28S/W Implementation view of Audio Driver
  11. 12:59Sequence Diagram-Playback/Capture
  12. 16:12Sequence Diagrams - Mixer OPs
  13. 17:20Block Diagram of Mixer
  14. 18:37Controls in Mixer
  15. 19:10Kcontrol Flow
  16. 19:55DAPM controls
  17. 21:24Use case Example
  18. 21:36Android Audio System
  19. 23:13Voice Call Path
~/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.