Struct Graph Output Progress
pub struct GraphOutputProgress {
pub rendered_frames: usize,
pub published_frames: usize,
pub pending_frames: usize,
pub input_events_consumed: bool,
pub output_event_count: usize,
pub input_frames_consumed: usize,
pub input_underflow_frames: usize,
pub swap: Option<GraphSwapStatus>,
}Expand description
Progress distinguishes a newly rendered block from retained backpressure. Published frames are a queue prefix, not hardware playback or latency evidence.
Fields§
§rendered_frames: usize§published_frames: usize§pending_frames: usize§input_events_consumed: boolTrue only when this call rendered a fresh block and accepted its input. False while draining a prior suffix: retain input for another pump. Graph faults return Err and may have nonrollback input/history effects.
output_event_count: usizeValid output prefix in the caller’s storage, emitted once on a fresh render. Zero during retained audio publication. Offsets refer to the rendered block, without implying a device-clock or audible-delivery relationship.
input_frames_consumed: usizeQueued source frames consumed only on this fresh render. Zero for no-input profiles or pending publication; this is not a capture/device clock.
input_underflow_frames: usizeMissing queued input frames zero-filled for this fresh render.
swap: Option<GraphSwapStatus>Dynamic handoff outcome only on a fresh render; None for fixed graphs or pending audio publication. Swap success is separate from graph processing.
Trait Implementations§
§impl Clone for GraphOutputProgress
impl Clone for GraphOutputProgress
§fn clone(&self) -> GraphOutputProgress
fn clone(&self) -> GraphOutputProgress
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more