[][src]Struct miniaudio::DataConverterConfig

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

Implementations

impl DataConverterConfig[src]

pub fn new(
    format_in: Format,
    format_out: Format,
    channels_in: u32,
    channels_out: u32,
    sample_rate_in: u32,
    sample_rate_out: u32
) -> DataConverterConfig
[src]

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

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

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

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

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

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

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

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

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

pub fn set_sample_rate_in(&mut self, rate: u32)[src]

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

pub fn set_resampling(&mut self, algo: ResampleAlgorithm)[src]

pub fn resampling(&self) -> ResampleAlgorithm[src]

Trait Implementations

impl Default for DataConverterConfig[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, 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.