[][src]Struct miniaudio_sys::ma_pcm_converter_config

#[repr(C)]
pub struct ma_pcm_converter_config {
    pub formatIn: ma_format,
    pub channelsIn: ma_uint32,
    pub sampleRateIn: ma_uint32,
    pub channelMapIn: [ma_channel; 32],
    pub formatOut: ma_format,
    pub channelsOut: ma_uint32,
    pub sampleRateOut: ma_uint32,
    pub channelMapOut: [ma_channel; 32],
    pub channelMixMode: ma_channel_mix_mode,
    pub ditherMode: ma_dither_mode,
    pub srcAlgorithm: ma_src_algorithm,
    pub allowDynamicSampleRate: ma_bool32,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub onRead: ma_pcm_converter_read_proc,
    pub pUserData: *mut c_void,
    pub __bindgen_anon_1: ma_pcm_converter_config__bindgen_ty_1,
}

Fields

formatIn: ma_formatchannelsIn: ma_uint32sampleRateIn: ma_uint32channelMapIn: [ma_channel; 32]formatOut: ma_formatchannelsOut: ma_uint32sampleRateOut: ma_uint32channelMapOut: [ma_channel; 32]channelMixMode: ma_channel_mix_modeditherMode: ma_dither_modesrcAlgorithm: ma_src_algorithmallowDynamicSampleRate: ma_bool32_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>onRead: ma_pcm_converter_read_procpUserData: *mut c_void__bindgen_anon_1: ma_pcm_converter_config__bindgen_ty_1

Methods

impl ma_pcm_converter_config[src]

pub fn neverConsumeEndOfInput(&self) -> ma_bool32[src]

pub fn set_neverConsumeEndOfInput(&mut self, val: ma_bool32)[src]

pub fn noSSE2(&self) -> ma_bool32[src]

pub fn set_noSSE2(&mut self, val: ma_bool32)[src]

pub fn noAVX2(&self) -> ma_bool32[src]

pub fn set_noAVX2(&mut self, val: ma_bool32)[src]

pub fn noAVX512(&self) -> ma_bool32[src]

pub fn set_noAVX512(&mut self, val: ma_bool32)[src]

pub fn noNEON(&self) -> ma_bool32[src]

pub fn set_noNEON(&mut self, val: ma_bool32)[src]

pub fn new_bitfield_1(
    neverConsumeEndOfInput: ma_bool32,
    noSSE2: ma_bool32,
    noAVX2: ma_bool32,
    noAVX512: ma_bool32,
    noNEON: ma_bool32
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for ma_pcm_converter_config[src]

impl Copy for ma_pcm_converter_config[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.