pub struct DecodedFrames<'a> {
pub planes: &'a [Vec<f32>],
pub sample_rate: u32,
pub frame_lens: &'a [usize],
}Expand description
Planar float input as the decoder delivered it.
Fields§
§planes: &'a [Vec<f32>]One Vec per channel.
sample_rate: u32Samples per second.
frame_lens: &'a [usize]Samples per delivered frame (after priming was dropped), in order.
Auto Trait Implementations§
impl<'a> Forget for DecodedFrames<'a>
impl<'a> Freeze for DecodedFrames<'a>
impl<'a> Move for DecodedFrames<'a>
impl<'a> RefUnwindSafe for DecodedFrames<'a>
impl<'a> Send for DecodedFrames<'a>
impl<'a> Sync for DecodedFrames<'a>
impl<'a> Unpin for DecodedFrames<'a>
impl<'a> UnsafeUnpin for DecodedFrames<'a>
impl<'a> UnwindSafe for DecodedFrames<'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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more