pub struct PcmConversionReport {
pub frames: usize,
pub input_channels: usize,
pub output_channels: usize,
pub peak_before_quantization: f64,
pub clipped_samples: usize,
pub quantization_error_rms: f64,
pub dither: DitherPolicy,
}Expand description
Audit report for one channel-map and PCM16 quantization pass.
Fields§
§frames: usizeWhole source frames converted.
input_channels: usizeInterleaved source channels.
output_channels: usizeInterleaved destination channels.
peak_before_quantization: f64Peak absolute mapped float sample before clipping or dither.
clipped_samples: usizeCount of mapped samples outside the representable [-1, 1] interval.
quantization_error_rms: f64Root-mean-square difference between mapped floats and PCM16 reconstruction.
dither: DitherPolicyExact dither policy used by the quantizer.
Trait Implementations§
Source§impl Clone for PcmConversionReport
impl Clone for PcmConversionReport
Source§fn clone(&self) -> PcmConversionReport
fn clone(&self) -> PcmConversionReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PcmConversionReport
impl Debug for PcmConversionReport
Source§impl PartialEq for PcmConversionReport
impl PartialEq for PcmConversionReport
impl StructuralPartialEq for PcmConversionReport
Auto Trait Implementations§
impl Freeze for PcmConversionReport
impl RefUnwindSafe for PcmConversionReport
impl Send for PcmConversionReport
impl Sync for PcmConversionReport
impl Unpin for PcmConversionReport
impl UnsafeUnpin for PcmConversionReport
impl UnwindSafe for PcmConversionReport
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