Skip to main content

Section outline

  • Topics:

    • Digital Audio Basics
    • Audio in Linux: OSS vs ALSA
    • ALSA Components and Architecture
    • ALSA Application Development

    Hands-on Labs:

    • Listing sound cards and devices.
    • Developing a minimal Playback and Capture application.
    • Exploring different transfer modes.
  • Topics:

    • ALSA Sound Card Registration
    • Allocating and De-allocating Sound Cards
    • PCM Device Registration and Operations
    • PCM Callbacks and Buffer Management

    Hands-on Labs:

    • Registering a sound card.
    • Implementing PCM playback and capture.
    • Updating buffer positions.
    • Capturing dummy data using a dummy sound card.
  • Topics:

    • Introduction to ASoC
    • ASoC Components: Machine Driver, Platform Driver, Codec Driver
    • ASoC DAI (Digital Audio Interface)
    • Dynamic Audio Power Management (DAPM)
    • Audio Routing Setup

    Hands-on Labs:

    • Kernel configuration and Device Tree modifications.
    • Writing a Dummy Codec Driver.
    • Configuring the I2C-based Codec Driver.
    • Registering the Codec Driver with the ASoC Framework.
    • Simple Audio Card Setup and Clock Integration.
    • Adding Kcontrols to the Codec Driver.