pub enum FirView<'a> {
Full(&'a [f64]),
LowRate(&'a [f64], f64),
}Expand description
One FIR of a plan, borrowed: collecting export files never clones stored FIR arrays.
Variants§
Implementations§
Source§impl<'a> FirView<'a>
impl<'a> FirView<'a>
Sourcepub fn validate(self) -> Result<(), GraphError>
pub fn validate(self) -> Result<(), GraphError>
Check a low-rate recipe against the low-rate FIR rule and its taps for
finite values. A plan from ExportGraph always
passes; a hand-built or revived plan may not.
Sourcepub fn materialize(self) -> Cow<'a, [f64]>
pub fn materialize(self) -> Cow<'a, [f64]>
The 48 kHz taps, expanding a low-rate recipe.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for FirView<'a>
impl<'a> RefUnwindSafe for FirView<'a>
impl<'a> Send for FirView<'a>
impl<'a> Sync for FirView<'a>
impl<'a> Unpin for FirView<'a>
impl<'a> UnsafeUnpin for FirView<'a>
impl<'a> UnwindSafe for FirView<'a>
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