pub struct Decimation {
pub input_sample_rate: f64,
pub factor: u32,
pub offset: u32,
pub delay: f64,
pub correction: f64,
}Expand description
Decimation parameters — describes how sample rate is reduced at this stage.
Fields§
§input_sample_rate: f64Input sample rate to this stage (Hz)
factor: u32Decimation factor (output rate = input rate / factor)
offset: u32Sample offset for decimation
delay: f64Estimated delay introduced by this stage (seconds)
correction: f64Applied correction for the delay (seconds)
Trait Implementations§
Source§impl Clone for Decimation
impl Clone for Decimation
Source§fn clone(&self) -> Decimation
fn clone(&self) -> Decimation
Returns a duplicate of the value. Read more
1.0.0 · 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 Decimation
impl Debug for Decimation
Source§impl<'de> Deserialize<'de> for Decimation
impl<'de> Deserialize<'de> for Decimation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Decimation
impl PartialEq for Decimation
Source§impl Serialize for Decimation
impl Serialize for Decimation
impl StructuralPartialEq for Decimation
Auto Trait Implementations§
impl Freeze for Decimation
impl RefUnwindSafe for Decimation
impl Send for Decimation
impl Sync for Decimation
impl Unpin for Decimation
impl UnsafeUnpin for Decimation
impl UnwindSafe for Decimation
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