---
title: "Audio"
canonical_url: https://developer.repebble.com/pebbleos/docs/drivers/audio/
last_updated: 2026-11-24
sdk_version: 4.44
---
# Audio

Source: https://developer.repebble.com/pebbleos/docs/drivers/audio/

An audio device streams one direction, playback or capture, between a ring of periods in memory and the hardware. The class calls the client back as each period completes, and the client refills or releases it. Codecs, digital audio interfaces and amplifiers are devices of their own, chained by the devicetree.

| 

 | 

 |
| --- | --- |
| 

Directory

 | 

`drivers/audio`

 |
| 

Header

 | 

`pbl/drivers/audio.h`

 |
| 

Kconfig

 | 

`CONFIG_AUDIO`, enabled by the application

 |
| 

Role

 | 

`MIC`, `SPEAKER`

 |
| 

Sample

 | 

[Microphone: Audio levels](https://developer.repebble.com/pebbleos/docs/samples/drivers/mic.md), [Speaker: Streaming a tone](https://developer.repebble.com/pebbleos/docs/samples/drivers/speaker.md)

 |
| 

API

 | 

[API reference](https://developer.repebble.com/pebbleos/apidoc/dc/d00/group __drivers__ audio.html)

 |

## Drivers

| 

Driver

 | 

Compatible

 | 

Kconfig

 |
| --- | --- | --- |
| 

GPIO amplifier

 | 

`awinic,aw8155`

 | 

`CONFIG_AUDIO_AMP_GPIO`

 |
| 

SiFli SF32LB52 audio codec

 | 

`sifli,sf32lb52-audcodec`

 | 

`CONFIG_AUDIO_SF32LB52_AUDCODEC`

 |
| 

SiFli SF32LB52 PDM

 | 

`sifli,sf32lb52-pdm`

 | 

`CONFIG_AUDIO_SF32LB52_PDM`

 |
| 

QEMU audio device

 | 

`qemu,pebble-audio`

 | 

`CONFIG_AUDIO_QEMU`

 |
| 

Simulated microphone

 | 

—

 | 

`CONFIG_AUDIO_SIM_MIC`

 |
| 

Nordic nRF5 PDM

 | 

`nordic,nrf52832-pdm`

 | 

`CONFIG_AUDIO_NRF5_PDM`

 |
| 

Nordic nRF5 I2S

 | 

`nordic,nrf52832-i2s`

 | 

`CONFIG_AUDIO_NRF5_I2S`

 |
| 

Digital microphones

 | 

`dmic-codec`

 | 

`CONFIG_AUDIO_DMIC`

 |
| 

Dialog DA7212 codec

 | 

`dlg,da7212`

 | 

`CONFIG_AUDIO_DA7212`

 |

Generated from PebbleOS [12b6c531f](https://github.com/coredevices/pebbleos/commit/12b6c531f9e0c2f39fe4e9bb2886314697128f08). This page is maintained in the pebbleos repository: [docs/drivers/audio.md](https://github.com/coredevices/pebbleos/blob/12b6c531f9e0c2f39fe4e9bb2886314697128f08/docs/drivers/audio.md).
