pub struct AudioStats {
pub peak: f64,
pub rms: f64,
}Expand description
What the gate measured on an audio clip. Amplitudes are normalised so that
full scale is 1.0, whatever the source sample format.
Fields§
§peak: f64Largest absolute sample amplitude.
rms: f64Root-mean-square amplitude over the whole clip — the value the gate compares, and the one a skip records.
Trait Implementations§
Source§impl Clone for AudioStats
impl Clone for AudioStats
Source§fn clone(&self) -> AudioStats
fn clone(&self) -> AudioStats
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 moreimpl Copy for AudioStats
Source§impl Debug for AudioStats
impl Debug for AudioStats
Source§impl PartialEq for AudioStats
impl PartialEq for AudioStats
impl StructuralPartialEq for AudioStats
Auto Trait Implementations§
impl Freeze for AudioStats
impl RefUnwindSafe for AudioStats
impl Send for AudioStats
impl Sync for AudioStats
impl Unpin for AudioStats
impl UnsafeUnpin for AudioStats
impl UnwindSafe for AudioStats
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