Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::playback::BufferedContentSource::Stats Struct Reference

#include <buffered_content_source.hpp>

Public Attributes

std::uint64_t produced_frames = 0
 Frames the producer supplied and the audio thread consumed.
std::uint64_t starved_frames = 0
 Declared frames the audio thread had to zero-fill because they had not been produced in time.
std::uint64_t starvation_events = 0
 Pull calls that came up short of what the declaration promised.
std::uint64_t ring_underrun_frames = 0
 Ring-level underruns reported by the underlying stream.
std::uint64_t ring_available_frames = 0
 Frames currently ready for the audio thread.
std::uint64_t producer_errors = 0
 Producer exceptions.

Member Data Documentation

◆ produced_frames

std::uint64_t pulp::playback::BufferedContentSource::Stats::produced_frames = 0

Frames the producer supplied and the audio thread consumed.

◆ producer_errors

std::uint64_t pulp::playback::BufferedContentSource::Stats::producer_errors = 0

Producer exceptions.

A zero return is transient backpressure and is retried without incrementing this counter.

◆ ring_available_frames

std::uint64_t pulp::playback::BufferedContentSource::Stats::ring_available_frames = 0

Frames currently ready for the audio thread.

◆ ring_underrun_frames

std::uint64_t pulp::playback::BufferedContentSource::Stats::ring_underrun_frames = 0

Ring-level underruns reported by the underlying stream.

Resets on every seek or loop wrap, with the ring it describes.

◆ starvation_events

std::uint64_t pulp::playback::BufferedContentSource::Stats::starvation_events = 0

Pull calls that came up short of what the declaration promised.

◆ starved_frames

std::uint64_t pulp::playback::BufferedContentSource::Stats::starved_frames = 0

Declared frames the audio thread had to zero-fill because they had not been produced in time.


The documentation for this struct was generated from the following file: