[−][src]Struct miniaudio::LinearResamplerConfig
Methods
impl LinearResamplerConfig
[src]
pub fn new(
format: Format,
channels: u32,
sample_rate_in: u32,
sample_rate_out: u32
) -> LinearResamplerConfig
[src]
format: Format,
channels: u32,
sample_rate_in: u32,
sample_rate_out: u32
) -> LinearResamplerConfig
pub fn format(&self) -> Format
[src]
pub fn channels(&self) -> u32
[src]
pub fn sample_rate_in(&self) -> u32
[src]
pub fn set_sample_rate_in(&mut self, sample_rate: u32)
[src]
pub fn sample_rate_out(&self) -> u32
[src]
pub fn set_sample_rate_out(&mut self, sample_rate: u32)
[src]
pub fn lpf_nyquist_factor(&self) -> f64
[src]
pub fn set_lpf_nyquist_factor(&mut self, factor: f64)
[src]
pub fn lpf_order(&self) -> u32
[src]
pub fn set_lpf_order(&mut self, order: u32)
[src]
Trait Implementations
impl Clone for LinearResamplerConfig
[src]
fn clone(&self) -> LinearResamplerConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for LinearResamplerConfig
impl Send for LinearResamplerConfig
impl Sync for LinearResamplerConfig
impl Unpin for LinearResamplerConfig
impl UnwindSafe for LinearResamplerConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,