Skip to content

ESP32_I2S_AudioBackend ​

Class

Source: ESP32_I2S_AudioBackend.h

Inherits from: AudioBackend

Description ​

Audio backend implementation for ESP32 using I2S.

Uses a FreeRTOS task to continuously feed the I2S DMA buffer to ensure smooth playback independent of the game loop frame rate.

Inheritance ​

AudioBackend → ESP32_I2S_AudioBackend

Methods ​

void init(pixelroot32::audio::AudioEngine* engine, const pixelroot32::platforms::PlatformCapabilities& caps) ​

int getSampleRate() const ​

void audioTaskLoop() ​

Released under the MIT License.