pub struct Info {
pub sample_rate: u32,
pub channel_count: u32,
pub sample_count: u64,
pub audio_offset: u64,
pub audio_len: u64,
}Expand description
Facts about the audio in a DSDIFF file.
Fields§
§sample_rate: u32Sampling frequency in Hz (for example 2_822_400).
channel_count: u32Number of channels.
sample_count: u64Samples per channel.
audio_offset: u64File offset of the first audio byte.
audio_len: u64Audio size in bytes (all channels).
Trait Implementations§
impl Eq for Info
impl StructuralPartialEq for Info
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnsafeUnpin for Info
impl UnwindSafe for Info
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