Skip to content

Engine → Audio → audio_engine.h

audio_engine_stats

Syntax

struct audio_engine_stats

Variables

AccessNameTypeDefaultDescription
publicactiveVoicesu320Number of currently active voices in the mixer snapshot.
publiccommandsSentu640Commands sent to the mixer.
publiccommandsSpilledu640Commands buffered outside the command ring when it was full.
publicdeviceRestartsu320Successful device restarts during recovery.
publicdeviceStatedevice_statedevice_state::STOPPEDMirrored device state used for diagnostics, including LOST during recovery.
publiceventsDroppedu640Mixer events dropped when the event ring overflowed.
publiceventsReceivedu640Mixer events received on the main thread.
publicfellBackToNullboolfalseWhether backend recovery switched playback to the null backend.
publicframesRenderedu640Total sample frames rendered by the mixer.
publicloopsu320Loop completions recorded by the mixer.
publicoutputFormataudio_format{}The mix output format negotiated at construction.
publicpeakVoicesu320Highest number of active voices observed.
publicrenderCallsu640Number of mixer render calls.
publicstreamingVoicesu320Streaming slots currently tracked by the engine.
publicunderrunsu320Streaming underruns observed during rendering.
publicvoicesDroppedu320Playback requests dropped when a voice could not be admitted.