Skip to content

Engine → Audio

audio_engine.h

This header brings together construction settings, batched voice transforms, diagnostic counters, and the audio engine facade. Include it when constructing an audio engine directly, driving audio in a tool or test, or extending the application's audio integration. The engine owns its backend, mixer, voice table, groups, and listener; the small structures describe its inputs and observations.

Structs

File Description
audio_engine_stats A snapshot of voice, command, event, rendering, and device-recovery counters for diagnostics and profiling.
audio_settings Construction settings for the audio engine, including backend selection, mix format, recovery policy, initial groups, and optional decoding jobs.
voice_transform A voice identifier with its world-space position and velocity, used to submit several spatial updates together.

Classes

File Description
audio_engine The audio facade that owns the backend, mixer, voices, group hierarchy, and listener, and coordinates them during each frame.

Forward Declarations

audio_engine::state

struct state;

detail::audio_engine_helpers

struct audio_engine_helpers;