Skip to main content

Module audio

Module audio 

Source
Expand description

Host audio output backends.

Provides a trait for audio output and implementations for native (cpal) and null (headless/test) backends.

Structs§

CpalAudioBackend
cpal-based audio backend for native GUI mode.
NullAudioBackend
No-op backend for tests, headless mode, and scripted harnesses.

Traits§

AudioBackend
Trait for pushing mixed PCM samples to the host audio device.