firewheel-graph 0.11.0

Core audio graph algorithm and executor for Firewheel
Documentation
use bevy_platform::time::Instant;
use core::time::Duration;
use firewheel_core::node::StreamStatus;

#[derive(Debug, Clone, PartialEq, Eq)]
pub struct BackendProcessInfo {
    pub frames: usize,
    pub process_timestamp: Option<Instant>,
    pub duration_since_stream_start: Duration,
    pub input_stream_status: StreamStatus,
    pub output_stream_status: StreamStatus,
    pub dropped_frames: u32,

    /// The estimated time between when this process loop was called and
    /// when the data will be delivered to the output device for playback.
    ///
    /// If the audio backend does not provide this information, then set
    /// this to `None`.
    pub process_to_playback_delay: Option<Duration>,
}