Skip to content

API Interface AudioDebugInfo

github-actions[bot] edited this page Nov 24, 2026 · 2 revisions

Interface: AudioDebugInfo

Defined in: src/plugins/audio/runtime/debugTypes.ts:171

A copy of the audio state for tools and "why is there no sound?" (§1, architecture §8).

Properties

background

background: AudioBackground;

Defined in: src/plugins/audio/runtime/debugTypes.ts:175


beds?

beds?: AudioBedDebug[];

Defined in: src/plugins/audio/runtime/debugTypes.ts:185

ADR 0162 §1.6 (K0): bed slots (filled by A5; absent on a backend without beds).


buses

buses: object[];

Defined in: src/plugins/audio/runtime/debugTypes.ts:178

ADR 0162 (K0) adds bed (the bus's bed setting), bedHost (the bus whose bed it mixes into) and bedLost (it asked for a bed and has none).

bed?

bed?: "none" | "own" | "parent";

bedHost?

bedHost?: string | null;

bedLost?

bedLost?: boolean;

effectiveGain

effectiveGain: number;

gain

gain: number;

lastRampStartFrame?

lastRampStartFrame?: number;

maxVoices

maxVoices: number | null;

name

name: string;

peakL

peakL: number;

peakR

peakR: number;

voices

voices: number;

core

core: Record<string, number | string | boolean>;

Defined in: src/plugins/audio/runtime/debugTypes.ts:181

Architecture 8: context state, latencies, lookahead, transport, memory and health groups.


coreUnavailable?

coreUnavailable?: string;

Defined in: src/plugins/audio/runtime/debugTypes.ts:214

ADR 0341: why the audio core couldn't run here (a missing AudioWorklet or WebAssembly simd128, a failed load or start), in the engine's words, once the engine has said so; absent while the core runs or is still loading. Audio.debug() adds it; a backend leaves it out.


counters

counters: object & AudioM3Counters;

Defined in: src/plugins/audio/runtime/debugTypes.ts:176

Type Declaration

droppedPlays
droppedPlays: number;
hrtfLoadFailure
hrtfLoadFailure: number;
hrtfVoices
hrtfVoices: number;
lateCommands
lateCommands: number;
logicalVoices
logicalVoices: number;
minSlackFrames
minSlackFrames: number;
mixedCap
mixedCap: number;
mixedVoices
mixedVoices: number;
queuedPlays
queuedPlays: number;
refusedLoads
refusedLoads: number;
traps
traps: number;
underruns
underruns: number;
workUnits
workUnits: number;
workUnitsMax
workUnitsMax: number;

cpu?

cpu?: AudioCpuDebug;

Defined in: src/plugins/audio/runtime/debugTypes.ts:202

ADR 0171 §1.3 (K0; Cp2): the CPU figure.


events?

events?: object[];

Defined in: src/plugins/audio/runtime/debugTypes.ts:183

ADR 0158: playing event instances (Audio.debug() adds them; a backend leaves it out).

asset

asset: string;

id

id: number;

parameters

parameters: Record<string, number | string>;

voices

voices: number;

world

world: number;

memory?

memory?: AudioMemoryDebug;

Defined in: src/plugins/audio/runtime/debugTypes.ts:191

ADR 0162 §1.6 (K0): M3's fixed memory (filled by D5 from the core's preset).


mix?

mix?: AudioMixDebug;

Defined in: src/plugins/audio/runtime/debugTypes.ts:204

ADR 0171 §1.3 (K0; Dbg1): the slot table, monitor and ladder state, mix counters, ducking.


mixCaps?

mixCaps?: AudioMixCaps;

Defined in: src/plugins/audio/runtime/debugTypes.ts:200

ADR 0171 §1.3 (K0; Dbg1): what the backend can do for the mix. Optional until Dbg1 gives every backend one.


music?

music?: MusicDebugRow[];

Defined in: src/plugins/audio/runtime/debugTypes.ts:196

ADR 0166 §1.6, C11: one row per playing music instance. ADR 0249: Audio.debug() adds them above the seam (audioRows.ts, from the players and MusicBackend.debugView); a backend leaves them out. Absent without music.


musicTotals?

musicTotals?: MusicDebugTotals;

Defined in: src/plugins/audio/runtime/debugTypes.ts:198

ADR 0166 §1.6, C11: engine-wide music totals (ADR 0249: added by Audio.debug() as music is).


occlusion?

occlusion?: AudioOcclusionDebug;

Defined in: src/plugins/audio/runtime/debugTypes.ts:189

ADR 0162 §1.6 (K0): the occlusion pass (filled by D2a).


plugins?

plugins?: AudioPluginDebug[];

Defined in: src/plugins/audio/runtime/debugTypes.ts:208

ADR 0352 §6: one row per registered plugin effect (the core's; absent on a backend without plugin effects).


recorder?

recorder?: AudioRecorderDebug | null;

Defined in: src/plugins/audio/runtime/debugTypes.ts:206

ADR 0171 §1.3 (K0; Rc2): the shared capture ring, null while none runs.


sampleRate

sampleRate: number;

Defined in: src/plugins/audio/runtime/debugTypes.ts:173


status

status: AudioStatus;

Defined in: src/plugins/audio/runtime/debugTypes.ts:172


time

time: number;

Defined in: src/plugins/audio/runtime/debugTypes.ts:174


voices

voices: (object & AudioVoiceM3Debug)[];

Defined in: src/plugins/audio/runtime/debugTypes.ts:179


zones?

zones?: AudioZoneDebug[];

Defined in: src/plugins/audio/runtime/debugTypes.ts:187

ADR 0162 §1.6 (K0): reverb zones (filled by C5; absent on the Babylon fallback, where zones are inert).

Clone this wiki locally