[][src]Struct miniaudio::biquad_filtering::BiquadConfig

#[repr(transparent)]pub struct BiquadConfig(_);

Methods

impl BiquadConfig[src]

pub fn new(
    format: Format,
    channels: u32,
    numerators: [f64; 3],
    denominators: [f64; 3]
) -> BiquadConfig
[src]

pub fn format(&self) -> Format[src]

pub fn set_format(&mut self, format: Format)[src]

pub fn channels(&self) -> u32[src]

pub fn set_channels(&mut self, channels: u32)[src]

pub fn b(&self, index: usize) -> f64[src]

Get a Biquad Coefficient numerator.

pub fn set_b(&mut self, index: usize, value: f64)[src]

Set a Biquad Coefficient numerator.

pub fn a(&self, index: usize) -> f64[src]

Get a Biquad Coefficient denominator.

pub fn set_a(&mut self, index: usize, value: f64)[src]

Set a Biquad Coefficient denominator.

Trait Implementations

impl Clone for BiquadConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.