[][src]Struct audir_sles::SLAndroidBufferQueueItf_

#[repr(C)]pub struct SLAndroidBufferQueueItf_ {
    pub RegisterCallback: Option<unsafe extern "C" fn(self_: SLAndroidBufferQueueItf, callback: slAndroidBufferQueueCallback, pCallbackContext: *mut c_void) -> SLresult>,
    pub Clear: Option<unsafe extern "C" fn(self_: SLAndroidBufferQueueItf) -> SLresult>,
    pub Enqueue: Option<unsafe extern "C" fn(self_: SLAndroidBufferQueueItf, pBufferContext: *mut c_void, pData: *mut c_void, dataLength: SLuint32, pItems: *const SLAndroidBufferItem, itemsLength: SLuint32) -> SLresult>,
    pub GetState: Option<unsafe extern "C" fn(self_: SLAndroidBufferQueueItf, pState: *mut SLAndroidBufferQueueState) -> SLresult>,
    pub SetCallbackEventsMask: Option<unsafe extern "C" fn(self_: SLAndroidBufferQueueItf, eventFlags: SLuint32) -> SLresult>,
    pub GetCallbackEventsMask: Option<unsafe extern "C" fn(self_: SLAndroidBufferQueueItf, pEventFlags: *mut SLuint32) -> SLresult>,
}

Fields

RegisterCallback: Option<unsafe extern "C" fn(self_: SLAndroidBufferQueueItf, callback: slAndroidBufferQueueCallback, pCallbackContext: *mut c_void) -> SLresult>Clear: Option<unsafe extern "C" fn(self_: SLAndroidBufferQueueItf) -> SLresult>Enqueue: Option<unsafe extern "C" fn(self_: SLAndroidBufferQueueItf, pBufferContext: *mut c_void, pData: *mut c_void, dataLength: SLuint32, pItems: *const SLAndroidBufferItem, itemsLength: SLuint32) -> SLresult>GetState: Option<unsafe extern "C" fn(self_: SLAndroidBufferQueueItf, pState: *mut SLAndroidBufferQueueState) -> SLresult>SetCallbackEventsMask: Option<unsafe extern "C" fn(self_: SLAndroidBufferQueueItf, eventFlags: SLuint32) -> SLresult>GetCallbackEventsMask: Option<unsafe extern "C" fn(self_: SLAndroidBufferQueueItf, pEventFlags: *mut SLuint32) -> SLresult>

Trait Implementations

impl Clone for SLAndroidBufferQueueItf_[src]

impl Copy for SLAndroidBufferQueueItf_[src]

impl Debug for SLAndroidBufferQueueItf_[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.