pub struct ResamplerPolicy {
pub phases: usize,
pub taps: usize,
pub cutoff_ratio: f64,
pub max_input_frames: usize,
}Expand description
Fixed construction policy for PolyphaseResampler.
Fields§
§phases: usizeNumber of fractional-delay phases in the coefficient bank.
taps: usizeEven number of windowed-sinc taps per phase.
cutoff_ratio: f64Fraction of the alias-free cutoff retained, in (0, 1].
max_input_frames: usizeMaximum input frames accepted by one callback call.
Trait Implementations§
Source§impl Clone for ResamplerPolicy
impl Clone for ResamplerPolicy
Source§fn clone(&self) -> ResamplerPolicy
fn clone(&self) -> ResamplerPolicy
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 ResamplerPolicy
Source§impl Debug for ResamplerPolicy
impl Debug for ResamplerPolicy
Source§impl Default for ResamplerPolicy
impl Default for ResamplerPolicy
Source§impl PartialEq for ResamplerPolicy
impl PartialEq for ResamplerPolicy
impl StructuralPartialEq for ResamplerPolicy
Auto Trait Implementations§
impl Freeze for ResamplerPolicy
impl RefUnwindSafe for ResamplerPolicy
impl Send for ResamplerPolicy
impl Sync for ResamplerPolicy
impl Unpin for ResamplerPolicy
impl UnsafeUnpin for ResamplerPolicy
impl UnwindSafe for ResamplerPolicy
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