Struct qoaudio::DecodedQoa
source · pub struct DecodedQoa {
pub num_channels: u8,
pub sample_rate: u32,
pub samples: Vec<i16>,
}
Expand description
A fully decoded QOA file.
Fields§
§num_channels: u8
Number of channels in samples
sample_rate: u32
Sample rate in HZ of samples
samples: Vec<i16>
Interleaved samples of all channels (e.g. L-R-L-R-L-R… if there are two channels)
Auto Trait Implementations§
impl RefUnwindSafe for DecodedQoa
impl Send for DecodedQoa
impl Sync for DecodedQoa
impl Unpin for DecodedQoa
impl UnwindSafe for DecodedQoa
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