[][src]Struct miniaudio_sys::ma_device_config

#[repr(C)]
pub struct ma_device_config {
    pub deviceType: ma_device_type,
    pub sampleRate: ma_uint32,
    pub bufferSizeInFrames: ma_uint32,
    pub bufferSizeInMilliseconds: ma_uint32,
    pub periods: ma_uint32,
    pub performanceProfile: ma_performance_profile,
    pub noPreZeroedOutputBuffer: ma_bool32,
    pub noClip: ma_bool32,
    pub dataCallback: ma_device_callback_proc,
    pub stopCallback: ma_stop_proc,
    pub pUserData: *mut c_void,
    pub playback: ma_device_config__bindgen_ty_1,
    pub capture: ma_device_config__bindgen_ty_2,
    pub wasapi: ma_device_config__bindgen_ty_3,
    pub alsa: ma_device_config__bindgen_ty_4,
    pub pulse: ma_device_config__bindgen_ty_5,
}

Fields

deviceType: ma_device_typesampleRate: ma_uint32bufferSizeInFrames: ma_uint32bufferSizeInMilliseconds: ma_uint32periods: ma_uint32performanceProfile: ma_performance_profilenoPreZeroedOutputBuffer: ma_bool32noClip: ma_bool32dataCallback: ma_device_callback_procstopCallback: ma_stop_procpUserData: *mut c_voidplayback: ma_device_config__bindgen_ty_1capture: ma_device_config__bindgen_ty_2wasapi: ma_device_config__bindgen_ty_3alsa: ma_device_config__bindgen_ty_4pulse: ma_device_config__bindgen_ty_5

Trait Implementations

impl Clone for ma_device_config[src]

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