pub struct PolyphaseFilterParams {
pub phases: usize,
pub taps_per_phase: usize,
pub window: Window,
}Expand description
Tunable polyphase filter parameters.
phases: number of precomputed fractional phases (higher = finer fractional-delay resolution at the cost of a larger coefficient table).taps_per_phase: must be odd and non-zero; larger values give a sharper filter (more stopband attenuation) and longer latency.window: the window applied to the sinc kernel.
Fields§
§phases: usize§taps_per_phase: usize§window: WindowImplementations§
Source§impl PolyphaseFilterParams
impl PolyphaseFilterParams
pub fn validate(&self) -> Result<(), ResampleError>
Trait Implementations§
Source§impl Clone for PolyphaseFilterParams
impl Clone for PolyphaseFilterParams
Source§fn clone(&self) -> PolyphaseFilterParams
fn clone(&self) -> PolyphaseFilterParams
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 PolyphaseFilterParams
Source§impl Debug for PolyphaseFilterParams
impl Debug for PolyphaseFilterParams
Source§impl Default for PolyphaseFilterParams
impl Default for PolyphaseFilterParams
Source§impl PartialEq for PolyphaseFilterParams
impl PartialEq for PolyphaseFilterParams
impl StructuralPartialEq for PolyphaseFilterParams
Auto Trait Implementations§
impl Freeze for PolyphaseFilterParams
impl RefUnwindSafe for PolyphaseFilterParams
impl Send for PolyphaseFilterParams
impl Sync for PolyphaseFilterParams
impl Unpin for PolyphaseFilterParams
impl UnsafeUnpin for PolyphaseFilterParams
impl UnwindSafe for PolyphaseFilterParams
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