[−][src]Struct miniaudio_sys::ma_device
Fields
pContext: *mut ma_context
type_: ma_device_type
sampleRate: ma_uint32
state: ma_uint32
onData: ma_device_callback_proc
onStop: ma_stop_proc
pUserData: *mut c_void
lock: ma_mutex
wakeupEvent: ma_event
startEvent: ma_event
stopEvent: ma_event
thread: ma_thread
workResult: ma_result
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
masterVolumeFactor: f32
resampling: ma_device__bindgen_ty_1
playback: ma_device__bindgen_ty_2
capture: ma_device__bindgen_ty_3
__bindgen_anon_1: ma_device__bindgen_ty_4
Implementations
impl ma_device
[src]
pub fn usingDefaultSampleRate(&self) -> ma_bool32
[src]
pub fn set_usingDefaultSampleRate(&mut self, val: ma_bool32)
[src]
pub fn usingDefaultBufferSize(&self) -> ma_bool32
[src]
pub fn set_usingDefaultBufferSize(&mut self, val: ma_bool32)
[src]
pub fn usingDefaultPeriods(&self) -> ma_bool32
[src]
pub fn set_usingDefaultPeriods(&mut self, val: ma_bool32)
[src]
pub fn isOwnerOfContext(&self) -> ma_bool32
[src]
pub fn set_isOwnerOfContext(&mut self, val: ma_bool32)
[src]
pub fn noPreZeroedOutputBuffer(&self) -> ma_bool32
[src]
pub fn set_noPreZeroedOutputBuffer(&mut self, val: ma_bool32)
[src]
pub fn noClip(&self) -> ma_bool32
[src]
pub fn set_noClip(&mut self, val: ma_bool32)
[src]
pub fn new_bitfield_1(
usingDefaultSampleRate: ma_bool32,
usingDefaultBufferSize: ma_bool32,
usingDefaultPeriods: ma_bool32,
isOwnerOfContext: ma_bool32,
noPreZeroedOutputBuffer: ma_bool32,
noClip: ma_bool32
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]
usingDefaultSampleRate: ma_bool32,
usingDefaultBufferSize: ma_bool32,
usingDefaultPeriods: ma_bool32,
isOwnerOfContext: ma_bool32,
noPreZeroedOutputBuffer: ma_bool32,
noClip: ma_bool32
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ma_device
impl !Send for ma_device
impl !Sync for ma_device
impl Unpin for ma_device
impl UnwindSafe for ma_device
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>,