pub struct AudioCapture {
pub images: Vec<CaptureImage>,
pub analysis: Vec<AnalysisFrame>,
pub rendered: usize,
}Expand description
What one Renderer::capture_audio_after_warmup run produced.
The two fields beside the images exist so a caller can check what the run
did rather than infer it from a stopwatch (Plan 0084 Phase 3): analysis
is the analyzer state the run walked through, and rendered is how much of
it reached a rasterizer.
Fields§
§images: Vec<CaptureImage>The requested frames, in at_frames order.
analysis: Vec<AnalysisFrame>One published AnalysisFrame per hop, in hop order. Independent of
whether the hop was rendered — which is the property that makes feeding
warm-up hops without pixels safe, and is asserted rather than argued
(core/tests/capture_advance.rs).
rendered: usizeHow many frames were rasterized. Zero when every hop is a warm-up hop.
Auto Trait Implementations§
impl Freeze for AudioCapture
impl RefUnwindSafe for AudioCapture
impl Send for AudioCapture
impl Sync for AudioCapture
impl Unpin for AudioCapture
impl UnsafeUnpin for AudioCapture
impl UnwindSafe for AudioCapture
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