pub struct StemFrame<'a> {
pub mix: &'a [f32],
pub tracks: [&'a [f32]; 7],
}Expand description
One frame’s samples, borrowed from the capture.
Fields§
§mix: &'a [f32]The console’s own mixed output for the frame (what a host would play).
tracks: [&'a [f32]; 7]Each track’s samples, indexed by Stem::index.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for StemFrame<'a>
impl<'a> RefUnwindSafe for StemFrame<'a>
impl<'a> Send for StemFrame<'a>
impl<'a> Sync for StemFrame<'a>
impl<'a> Unpin for StemFrame<'a>
impl<'a> UnsafeUnpin for StemFrame<'a>
impl<'a> UnwindSafe for StemFrame<'a>
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