[][src]Struct miniaudio_sys::ma_format_converter

#[repr(C)]
pub struct ma_format_converter {
    pub config: ma_format_converter_config,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub onConvertPCM: Option<unsafe extern "C" fn(dst: *mut c_void, src: *const c_void, count: ma_uint64, ditherMode: ma_dither_mode)>,
    pub onInterleavePCM: Option<unsafe extern "C" fn(dst: *mut c_void, src: *mut *const c_void, frameCount: ma_uint64, channels: ma_uint32)>,
    pub onDeinterleavePCM: Option<unsafe extern "C" fn(dst: *mut *mut c_void, src: *const c_void, frameCount: ma_uint64, channels: ma_uint32)>,
}

Fields

config: ma_format_converter_config_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>onConvertPCM: Option<unsafe extern "C" fn(dst: *mut c_void, src: *const c_void, count: ma_uint64, ditherMode: ma_dither_mode)>onInterleavePCM: Option<unsafe extern "C" fn(dst: *mut c_void, src: *mut *const c_void, frameCount: ma_uint64, channels: ma_uint32)>onDeinterleavePCM: Option<unsafe extern "C" fn(dst: *mut *mut c_void, src: *const c_void, frameCount: ma_uint64, channels: ma_uint32)>

Methods

impl ma_format_converter[src]

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

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

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

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

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

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

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

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

pub fn new_bitfield_1(
    useSSE2: ma_bool32,
    useAVX2: ma_bool32,
    useAVX512: ma_bool32,
    useNEON: ma_bool32
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for ma_format_converter[src]

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