ludus::audio::AudioDebugSnapshotSink¶
Ludus Wiki · API overview · Browse API
Class
The owner drains these during Service.
Implementations copy what they need and return quickly; they must not call back into the AudioSystem. Loss of debug records is counted and never blocks terminal acknowledgment or reclamation.
Declared in modules/audio/include/ludus/audio/audio_debug.h
#include <ludus/audio/audio_debug.h>
class ludus::audio::AudioDebugSnapshotSink
Methods¶
~AudioDebugSnapshotSink¶
virtual ludus::audio::AudioDebugSnapshotSink::~AudioDebugSnapshotSink()=default
Declared in modules/audio/include/ludus/audio/audio_debug.h
OnSystemSnapshot¶
virtual void ludus::audio::AudioDebugSnapshotSink::OnSystemSnapshot(const SystemSnapshot &snapshot) noexcept=0
A full system snapshot copied on the owner thread.
Related types: SystemSnapshot
Declared in modules/audio/include/ludus/audio/audio_debug.h
OnVoiceSnapshots¶
virtual void ludus::audio::AudioDebugSnapshotSink::OnVoiceSnapshots(std::span< const VoiceInfo > voices) noexcept=0
Per-voice snapshots for the current publication (borrowed; valid only for the duration of the call).
Related types: VoiceInfo
Declared in modules/audio/include/ludus/audio/audio_debug.h
OnOwnerEvent¶
virtual void ludus::audio::AudioDebugSnapshotSink::OnOwnerEvent(const OwnerEvent &event) noexcept=0
Owner-side policy/admission/preparation diagnostics (no phantom voice).
Related types: OwnerEvent
Declared in modules/audio/include/ludus/audio/audio_debug.h
OnTrace¶
virtual void ludus::audio::AudioDebugSnapshotSink::OnTrace(std::span< const TraceRecord > records) noexcept=0
Optional bounded trace records (may be truncated; truncation is counted separately from gameplay admission loss).
Related types: TraceRecord