[−][src]Struct miniaudio_sys::ma_format_converter
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]
useSSE2: ma_bool32,
useAVX2: ma_bool32,
useAVX512: ma_bool32,
useNEON: ma_bool32
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
impl Clone for ma_format_converter
[src]
fn clone(&self) -> ma_format_converter
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ma_format_converter
[src]
Auto Trait Implementations
impl RefUnwindSafe for ma_format_converter
impl !Send for ma_format_converter
impl !Sync for ma_format_converter
impl Unpin for ma_format_converter
impl UnwindSafe for ma_format_converter
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>,