pub struct FlacAudit {
pub declared_bit_depth: u16,
pub effective_bit_depth: u16,
pub channels: u16,
pub stereo: StereoContent,
pub digital_silence: bool,
pub frames_examined: usize,
pub truncated: bool,
}Expand description
What the frame structure says about the audio, beyond what the header claims.
Fields§
§declared_bit_depth: u16Bit depth written in STREAMINFO.
effective_bit_depth: u16Conservative bit-depth estimate for the frames examined, once confirmed wasted low bits are removed. Unavailable confirmation retains the declared depth.
Lower than declared_bit_depth means the file was padded: 24-bit
packaging around 16-bit music.
channels: u16Channel count written in STREAMINFO.
stereo: StereoContentWhat the two channels of a stereo file actually hold.
digital_silence: boolWhether every subframe examined was constant zero, which means silence.
frames_examined: usizeNumber of frames the walk covered.
truncated: booltrue when a limit stopped the walk before the end of the file.
The verdict then describes the portion examined, not the whole file.
Implementations§
Trait Implementations§
impl StructuralPartialEq for FlacAudit
Auto Trait Implementations§
impl Freeze for FlacAudit
impl RefUnwindSafe for FlacAudit
impl Send for FlacAudit
impl Sync for FlacAudit
impl Unpin for FlacAudit
impl UnwindSafe for FlacAudit
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