pub struct TrackSpan {
pub token: usize,
pub samples: Range<usize>,
pub stats: ProcessStats,
pub complete: bool,
}Expand description
A track’s contiguous region of one processed or exact output block.
Fields§
§token: usizeDriver-supplied identity for the source track or queue entry.
samples: Range<usize>Interleaved sample indices in SessionBlock::samples or
super::exact_session::ExactSessionBlock::samples.
stats: ProcessStatsObserved normalized peak and guard interventions. Exact spans observe the source peak without modifying samples and have zero interventions.
complete: boolThis span ends the track’s produced output, including delayed SRC frames in a processed session. It does not acknowledge device consumption. An empty range may deliver completion without additional PCM.
Trait Implementations§
impl StructuralPartialEq for TrackSpan
Auto Trait Implementations§
impl Freeze for TrackSpan
impl RefUnwindSafe for TrackSpan
impl Send for TrackSpan
impl Sync for TrackSpan
impl Unpin for TrackSpan
impl UnwindSafe for TrackSpan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more