pub struct DecodedAudio {
pub sample_rate: u32,
pub planes: Vec<Vec<f32>>,
pub frame_lens: Vec<usize>,
pub stats: ToolStats,
}Expand description
Decoded audio: one Vec per channel.
Fields§
§sample_rate: u32Samples per second.
planes: Vec<Vec<f32>>One Vec per channel.
frame_lens: Vec<usize>Samples in each frame the decoder delivered after the skip, in order (what ffmpeg’s filters receive per call).
stats: ToolStatsWhich coding tools the stream used.
Trait Implementations§
Source§impl Clone for DecodedAudio
impl Clone for DecodedAudio
Auto Trait Implementations§
impl Forget for DecodedAudio
impl Freeze for DecodedAudio
impl Move for DecodedAudio
impl RefUnwindSafe for DecodedAudio
impl Send for DecodedAudio
impl Sync for DecodedAudio
impl Unpin for DecodedAudio
impl UnsafeUnpin for DecodedAudio
impl UnwindSafe for DecodedAudio
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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