Embest Technology Co., Ltd
3.7.5 Audio in/out
PCM
CODEC
DRIVER
ASoC embedded audio system basically consists of three components:
1)
Codec driver: The codec driver is platform independent and contains audio
controls, audio interface capabilities, codec dapm definition and codec IO
functions.
2)
Platform driver: It contains the audio dma engine and audio interface drivers (e.g.
I2S, AC97, PCM) of that platform.
3)
Machine driver: The machine driver handles any machine specific controls and
audio events i.e. turning on an amp at start of playback.
Drivers and relevant documents:
Linux-4.1/sound/soc/
Copyright © 2017 Embest Technology
Native ALSA application
ALSA LIBRARY
ALSA KERNEL API
ALSA SOC CORE
MACHINE
DRIVER
HARDWARE
Modular structure for Audio
Figure 3-5
CONTROL
PLATFORM
DRIVER
Hardware
SBC8600B-UM-V2.0
42
User
Kernel