[][src]Struct audir_sles::SLEngineItf_

#[repr(C)]pub struct SLEngineItf_ {
    pub CreateLEDDevice: Option<unsafe extern "C" fn(self_: SLEngineItf, pDevice: *mut SLObjectItf, deviceID: SLuint32, numInterfaces: SLuint32, pInterfaceIds: *const SLInterfaceID, pInterfaceRequired: *const SLboolean) -> SLresult>,
    pub CreateVibraDevice: Option<unsafe extern "C" fn(self_: SLEngineItf, pDevice: *mut SLObjectItf, deviceID: SLuint32, numInterfaces: SLuint32, pInterfaceIds: *const SLInterfaceID, pInterfaceRequired: *const SLboolean) -> SLresult>,
    pub CreateAudioPlayer: Option<unsafe extern "C" fn(self_: SLEngineItf, pPlayer: *mut SLObjectItf, pAudioSrc: *const SLDataSource, pAudioSnk: *const SLDataSink, numInterfaces: SLuint32, pInterfaceIds: *const SLInterfaceID, pInterfaceRequired: *const SLboolean) -> SLresult>,
    pub CreateAudioRecorder: Option<unsafe extern "C" fn(self_: SLEngineItf, pRecorder: *mut SLObjectItf, pAudioSrc: *const SLDataSource, pAudioSnk: *const SLDataSink, numInterfaces: SLuint32, pInterfaceIds: *const SLInterfaceID, pInterfaceRequired: *const SLboolean) -> SLresult>,
    pub CreateMidiPlayer: Option<unsafe extern "C" fn(self_: SLEngineItf, pPlayer: *mut SLObjectItf, pMIDISrc: *const SLDataSource, pBankSrc: *const SLDataSource, pAudioOutput: *const SLDataSink, pVibra: *const SLDataSink, pLEDArray: *const SLDataSink, numInterfaces: SLuint32, pInterfaceIds: *const SLInterfaceID, pInterfaceRequired: *const SLboolean) -> SLresult>,
    pub CreateListener: Option<unsafe extern "C" fn(self_: SLEngineItf, pListener: *mut SLObjectItf, numInterfaces: SLuint32, pInterfaceIds: *const SLInterfaceID, pInterfaceRequired: *const SLboolean) -> SLresult>,
    pub Create3DGroup: Option<unsafe extern "C" fn(self_: SLEngineItf, pGroup: *mut SLObjectItf, numInterfaces: SLuint32, pInterfaceIds: *const SLInterfaceID, pInterfaceRequired: *const SLboolean) -> SLresult>,
    pub CreateOutputMix: Option<unsafe extern "C" fn(self_: SLEngineItf, pMix: *mut SLObjectItf, numInterfaces: SLuint32, pInterfaceIds: *const SLInterfaceID, pInterfaceRequired: *const SLboolean) -> SLresult>,
    pub CreateMetadataExtractor: Option<unsafe extern "C" fn(self_: SLEngineItf, pMetadataExtractor: *mut SLObjectItf, pDataSource: *const SLDataSource, numInterfaces: SLuint32, pInterfaceIds: *const SLInterfaceID, pInterfaceRequired: *const SLboolean) -> SLresult>,
    pub CreateExtensionObject: Option<unsafe extern "C" fn(self_: SLEngineItf, pObject: *mut SLObjectItf, pParameters: *mut c_void, objectID: SLuint32, numInterfaces: SLuint32, pInterfaceIds: *const SLInterfaceID, pInterfaceRequired: *const SLboolean) -> SLresult>,
    pub QueryNumSupportedInterfaces: Option<unsafe extern "C" fn(self_: SLEngineItf, objectID: SLuint32, pNumSupportedInterfaces: *mut SLuint32) -> SLresult>,
    pub QuerySupportedInterfaces: Option<unsafe extern "C" fn(self_: SLEngineItf, objectID: SLuint32, index: SLuint32, pInterfaceId: *mut SLInterfaceID) -> SLresult>,
    pub QueryNumSupportedExtensions: Option<unsafe extern "C" fn(self_: SLEngineItf, pNumExtensions: *mut SLuint32) -> SLresult>,
    pub QuerySupportedExtension: Option<unsafe extern "C" fn(self_: SLEngineItf, index: SLuint32, pExtensionName: *mut SLchar, pNameLength: *mut SLuint16) -> SLresult>,
    pub IsExtensionSupported: Option<unsafe extern "C" fn(self_: SLEngineItf, pExtensionName: *const SLchar, pSupported: *mut SLboolean) -> SLresult>,
}

Fields

CreateLEDDevice: Option<unsafe extern "C" fn(self_: SLEngineItf, pDevice: *mut SLObjectItf, deviceID: SLuint32, numInterfaces: SLuint32, pInterfaceIds: *const SLInterfaceID, pInterfaceRequired: *const SLboolean) -> SLresult>CreateVibraDevice: Option<unsafe extern "C" fn(self_: SLEngineItf, pDevice: *mut SLObjectItf, deviceID: SLuint32, numInterfaces: SLuint32, pInterfaceIds: *const SLInterfaceID, pInterfaceRequired: *const SLboolean) -> SLresult>CreateAudioPlayer: Option<unsafe extern "C" fn(self_: SLEngineItf, pPlayer: *mut SLObjectItf, pAudioSrc: *const SLDataSource, pAudioSnk: *const SLDataSink, numInterfaces: SLuint32, pInterfaceIds: *const SLInterfaceID, pInterfaceRequired: *const SLboolean) -> SLresult>CreateAudioRecorder: Option<unsafe extern "C" fn(self_: SLEngineItf, pRecorder: *mut SLObjectItf, pAudioSrc: *const SLDataSource, pAudioSnk: *const SLDataSink, numInterfaces: SLuint32, pInterfaceIds: *const SLInterfaceID, pInterfaceRequired: *const SLboolean) -> SLresult>CreateMidiPlayer: Option<unsafe extern "C" fn(self_: SLEngineItf, pPlayer: *mut SLObjectItf, pMIDISrc: *const SLDataSource, pBankSrc: *const SLDataSource, pAudioOutput: *const SLDataSink, pVibra: *const SLDataSink, pLEDArray: *const SLDataSink, numInterfaces: SLuint32, pInterfaceIds: *const SLInterfaceID, pInterfaceRequired: *const SLboolean) -> SLresult>CreateListener: Option<unsafe extern "C" fn(self_: SLEngineItf, pListener: *mut SLObjectItf, numInterfaces: SLuint32, pInterfaceIds: *const SLInterfaceID, pInterfaceRequired: *const SLboolean) -> SLresult>Create3DGroup: Option<unsafe extern "C" fn(self_: SLEngineItf, pGroup: *mut SLObjectItf, numInterfaces: SLuint32, pInterfaceIds: *const SLInterfaceID, pInterfaceRequired: *const SLboolean) -> SLresult>CreateOutputMix: Option<unsafe extern "C" fn(self_: SLEngineItf, pMix: *mut SLObjectItf, numInterfaces: SLuint32, pInterfaceIds: *const SLInterfaceID, pInterfaceRequired: *const SLboolean) -> SLresult>CreateMetadataExtractor: Option<unsafe extern "C" fn(self_: SLEngineItf, pMetadataExtractor: *mut SLObjectItf, pDataSource: *const SLDataSource, numInterfaces: SLuint32, pInterfaceIds: *const SLInterfaceID, pInterfaceRequired: *const SLboolean) -> SLresult>CreateExtensionObject: Option<unsafe extern "C" fn(self_: SLEngineItf, pObject: *mut SLObjectItf, pParameters: *mut c_void, objectID: SLuint32, numInterfaces: SLuint32, pInterfaceIds: *const SLInterfaceID, pInterfaceRequired: *const SLboolean) -> SLresult>QueryNumSupportedInterfaces: Option<unsafe extern "C" fn(self_: SLEngineItf, objectID: SLuint32, pNumSupportedInterfaces: *mut SLuint32) -> SLresult>QuerySupportedInterfaces: Option<unsafe extern "C" fn(self_: SLEngineItf, objectID: SLuint32, index: SLuint32, pInterfaceId: *mut SLInterfaceID) -> SLresult>QueryNumSupportedExtensions: Option<unsafe extern "C" fn(self_: SLEngineItf, pNumExtensions: *mut SLuint32) -> SLresult>QuerySupportedExtension: Option<unsafe extern "C" fn(self_: SLEngineItf, index: SLuint32, pExtensionName: *mut SLchar, pNameLength: *mut SLuint16) -> SLresult>IsExtensionSupported: Option<unsafe extern "C" fn(self_: SLEngineItf, pExtensionName: *const SLchar, pSupported: *mut SLboolean) -> SLresult>

Trait Implementations

impl Clone for SLEngineItf_[src]

impl Copy for SLEngineItf_[src]

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