pub struct RenderProduct {
pub mono: Vec<f32>,
pub stereo: Option<(Vec<f32>, Vec<f32>)>,
pub layers: Vec<LayerStats>,
}Expand description
A finished render: the mono mid (what analysis and mono export consume)
plus the true stereo bus when the document is a tracks mixer. Producing
both from ONE render keeps the author/refine/export paths from paying the
full synthesis cost twice. Plain documents carry no pair here — their
stereo treatment (Haas / Wide) is applied at write time by stereoize.
Fields§
§mono: Vec<f32>Mono mid signal: 0.5 × (L + R) for a mixer document, the render
itself otherwise.
stereo: Option<(Vec<f32>, Vec<f32>)>The panned, mastered stereo bus of a tracks document.
layers: Vec<LayerStats>Per-layer contribution stats for a tracks document (post-fader,
pre-master), captured from the same render pass.
Auto Trait Implementations§
impl Freeze for RenderProduct
impl RefUnwindSafe for RenderProduct
impl Send for RenderProduct
impl Sync for RenderProduct
impl Unpin for RenderProduct
impl UnsafeUnpin for RenderProduct
impl UnwindSafe for RenderProduct
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