Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
audio_probe_json.hpp
Go to the documentation of this file.
1#pragma once
2
20
23
24#include <string>
25#include <string_view>
26
27namespace pulp::audio {
28
31
41 const AudioStats& stats,
42 bool pretty = true);
43
44} // namespace pulp::audio
The realtime-produced probe summary — the shared schema between the RT producer (pulp::audio::AudioPr...
Small POD counter struct for release-safe audio observability.
Definition analyzer_provider.hpp:12
AudioProbeStage
Identifies which audio boundary a snapshot was produced at.
Definition audio_probe_snapshot.hpp:28
std::string audio_probe_snapshot_to_json(const AudioProbeSnapshot &snapshot, const AudioStats &stats, bool pretty=true)
Serialize a probe snapshot (and the release-safe counter subset) to a flat JSON object string.
std::string_view audio_probe_stage_name(AudioProbeStage stage)
Stable string name for a probe stage, used as the JSON stage field.
Realtime-produced, fixed-capacity, trivially-copyable probe summary.
Definition audio_probe_snapshot.hpp:42
Minimal release-safe audio counter aggregate.
Definition audio_stats.hpp:36