/frameworks/wilhelm/src/objects/ |
C3DGroup.c | 26 C3DGroup *thiz = (C3DGroup *) self; local 28 if (0 == thiz->mMemberMask) { 31 SL_LOGE("Object::Destroy(%p) for 3DGroup ignored; mMemberMask=0x%x", thiz, thiz->mMemberMask);
|
CAudioRecorder.c | 29 CAudioRecorder *thiz = (CAudioRecorder *) self; local 30 result = android_audioRecorder_realize(thiz, async); 49 CAudioRecorder *thiz = (CAudioRecorder *) self; local 50 freeDataLocatorFormat(&thiz->mDataSource); 51 freeDataLocatorFormat(&thiz->mDataSink); 53 android_audioRecorder_destroy(thiz); 62 CAudioRecorder *thiz = (CAudioRecorder *) self; local 64 android_audioRecorder_preDestroy(thiz);
|
CMediaPlayer.c | 32 CMediaPlayer *thiz = (CMediaPlayer *) self; local 35 result = android_Player_realize(thiz, async); 51 CMediaPlayer *thiz = (CMediaPlayer *) self; local 52 freeDataLocatorFormat(&thiz->mDataSource); 53 freeDataLocatorFormat(&thiz->mBankSource); 54 freeDataLocatorFormat(&thiz->mAudioSink); 55 freeDataLocatorFormat(&thiz->mImageVideoSink); 56 freeDataLocatorFormat(&thiz->mVibraSink); 57 freeDataLocatorFormat(&thiz->mLEDArraySink); 59 android_Player_destroy(thiz); 67 CMediaPlayer *thiz = (CMediaPlayer *) self; local [all...] |
CAudioPlayer.c | 26 CAudioPlayer *thiz = (CAudioPlayer *) self; local 30 result = android_audioPlayer_realize(thiz, async); 34 result = SndFile_Realize(thiz); 57 CAudioPlayer *thiz = (CAudioPlayer *) self; local 59 android_audioPlayer_destroy(thiz); 61 freeDataLocatorFormat(&thiz->mDataSource); 62 freeDataLocatorFormat(&thiz->mDataSink); 64 SndFile_Destroy(thiz); 73 CAudioPlayer *thiz = (CAudioPlayer *) self; local 75 android_audioPlayer_preDestroy(thiz); [all...] |
COutputMix.c | 29 COutputMix *thiz = (COutputMix *) self; local 30 result = android_outputMix_realize(thiz, async); 50 COutputMix *thiz = (COutputMix *) self; local 51 android_outputMix_destroy(thiz);
|
/frameworks/wilhelm/src/itf/ |
IDynamicSource.c | 29 IDynamicSource *thiz = (IDynamicSource *) self; local 38 IObject *thisObject = InterfaceToIObject(thiz); 41 thiz->mDataSource = pDataSource; 56 IDynamicSource *thiz = (IDynamicSource *) self; local 57 thiz->mItf = &IDynamicSource_Itf; 59 thiz->mDataSource = NULL;
|
IVisualization.c | 30 IVisualization *thiz = (IVisualization *) self; local 31 interface_lock_exclusive(thiz); 32 thiz->mCallback = callback; 33 thiz->mContext = pContext; 34 thiz->mRate = rate; 35 interface_unlock_exclusive(thiz); 65 IVisualization *thiz = (IVisualization *) self; local 66 thiz->mItf = &IVisualization_Itf; 67 thiz->mCallback = NULL; 68 thiz->mContext = NULL [all...] |
I3DCommit.c | 26 I3DCommit *thiz = (I3DCommit *) self; local 27 IObject *thisObject = InterfaceToIObject(thiz); 29 if (thiz->mDeferred) { 30 SLuint32 myGeneration = thiz->mGeneration; 32 ++thiz->mWaiting; 34 } while (thiz->mGeneration == myGeneration); 47 I3DCommit *thiz = (I3DCommit *) self; local 48 IObject *thisObject = InterfaceToIObject(thiz); 50 thiz->mDeferred = SL_BOOLEAN_FALSE != deferred; // normalize 65 I3DCommit *thiz = (I3DCommit *) self local [all...] |
IAudioDecoderCapabilities.c | 67 IAudioDecoderCapabilities *thiz = (IAudioDecoderCapabilities *) self; local 68 thiz->mItf = &IAudioDecoderCapabilities_Itf;
|
IAudioEncoder.c | 30 IAudioEncoder *thiz = (IAudioEncoder *) self; local 32 interface_lock_exclusive(thiz); 33 thiz->mSettings = settings; 34 interface_unlock_exclusive(thiz); 50 IAudioEncoder *thiz = (IAudioEncoder *) self; local 51 interface_lock_shared(thiz); 52 SLAudioEncoderSettings settings = thiz->mSettings; 53 interface_unlock_shared(thiz); 69 IAudioEncoder *thiz = (IAudioEncoder *) self; local 70 thiz->mItf = &IAudioEncoder_Itf [all...] |
IAudioEncoderCapabilities.c | 68 IAudioEncoderCapabilities *thiz = (IAudioEncoderCapabilities *) self; local 69 thiz->mItf = &IAudioEncoderCapabilities_Itf;
|
IOutputMix.c | 52 IOutputMix *thiz = (IOutputMix *) self; local 53 interface_lock_exclusive(thiz); 54 thiz->mCallback = callback; 55 thiz->mContext = pContext; 56 interface_unlock_exclusive(thiz); 94 IOutputMix *thiz = (IOutputMix *) self; local 95 thiz->mItf = &IOutputMix_Itf; 96 thiz->mCallback = NULL; 97 thiz->mContext = NULL;
|
IThreadSync.c | 26 IThreadSync *thiz = (IThreadSync *) self; local 27 interface_lock_exclusive(thiz); 29 if (thiz->mInCriticalSection) { 30 if (!pthread_equal(thiz->mOwner, pthread_self())) { 31 ++thiz->mWaiting; 32 interface_cond_wait(thiz); 39 thiz->mInCriticalSection = SL_BOOLEAN_TRUE; 40 thiz->mOwner = pthread_self(); 44 interface_unlock_exclusive(thiz); 54 IThreadSync *thiz = (IThreadSync *) self local 80 IThreadSync *thiz = (IThreadSync *) self; local 89 IThreadSync *thiz = (IThreadSync *) self; local [all...] |
IAcousticEchoCancellation.c | 35 IAndroidAcousticEchoCancellation *thiz = (IAndroidAcousticEchoCancellation *) self; local 36 interface_lock_exclusive(thiz); 37 thiz->mEnabled = (SLboolean) enabled; 38 if (NO_ECHOCANCEL(thiz)) { 41 android::status_t status = thiz->mAECEffect->setEnabled((bool) thiz->mEnabled); 44 interface_unlock_exclusive(thiz); 58 IAndroidAcousticEchoCancellation *thiz = (IAndroidAcousticEchoCancellation *) self; local 59 interface_lock_exclusive(thiz); 60 if (NO_ECHOCANCEL(thiz)) { 79 IAndroidAcousticEchoCancellation *thiz = (IAndroidAcousticEchoCancellation *) self; local 89 IAndroidAcousticEchoCancellation *thiz = (IAndroidAcousticEchoCancellation *) self; local 96 IAndroidAcousticEchoCancellation *thiz = (IAndroidAcousticEchoCancellation *) self; local [all...] |
IAndroidEffect.cpp | 28 IAndroidEffect *thiz = (IAndroidEffect *) self; local 29 if (SL_OBJECTID_AUDIOPLAYER == IObjectToObjectID(thiz->mThis)) { 30 CAudioPlayer *ap = (CAudioPlayer *)thiz->mThis; 32 result = android_genericFx_createEffect(thiz, effectImplementationId, ap->mSessionId); 36 } else if (SL_OBJECTID_OUTPUTMIX == IObjectToObjectID(thiz->mThis)) { 37 result = android_genericFx_createEffect(thiz, effectImplementationId, 54 IAndroidEffect *thiz = (IAndroidEffect *) self; local 55 result = android_genericFx_releaseEffect(thiz, effectImplementationId); 66 IAndroidEffect *thiz = (IAndroidEffect *) self; local 67 result = android_genericFx_setEnabled(thiz, effectImplementationId, enabled) 78 IAndroidEffect *thiz = (IAndroidEffect *) self; local 91 IAndroidEffect *thiz = (IAndroidEffect *) self; local 109 IAndroidEffect *thiz = (IAndroidEffect *) self; local 117 IAndroidEffect *thiz = (IAndroidEffect *) self; local [all...] |
IAutomaticGainControl.c | 34 IAndroidAutomaticGainControl *thiz = (IAndroidAutomaticGainControl *) self; local 35 interface_lock_exclusive(thiz); 36 thiz->mEnabled = (SLboolean) enabled; 37 if (NO_AUTOGAIN(thiz)) { 40 android::status_t status = thiz->mAGCEffect->setEnabled((bool) thiz->mEnabled); 43 interface_unlock_exclusive(thiz); 56 IAndroidAutomaticGainControl *thiz = (IAndroidAutomaticGainControl *) self; local 57 interface_lock_exclusive(thiz); 58 if (NO_AUTOGAIN(thiz)) { 76 IAndroidAutomaticGainControl *thiz = (IAndroidAutomaticGainControl *) self; local 86 IAndroidAutomaticGainControl *thiz = (IAndroidAutomaticGainControl *) self; local 93 IAndroidAutomaticGainControl *thiz = (IAndroidAutomaticGainControl *) self; local [all...] |
IDeviceVolume.c | 62 IDeviceVolume *thiz = (IDeviceVolume *) self; local 63 interface_lock_poke(thiz); 64 thiz->mVolume[~deviceID] = volume; 65 interface_unlock_poke(thiz); 94 IDeviceVolume *thiz = (IDeviceVolume *) self; local 95 interface_lock_peek(thiz); 96 SLint32 volume = thiz->mVolume[~deviceID]; 97 interface_unlock_peek(thiz); 120 IDeviceVolume *thiz = (IDeviceVolume *) self; local 121 thiz->mItf = &IDeviceVolume_Itf [all...] |
IMIDIMessage.c | 30 //IMIDIMessage *thiz = (IMIDIMessage *) self; 43 IMIDIMessage *thiz = (IMIDIMessage *) self; local 44 interface_lock_exclusive(thiz); 45 thiz->mMetaEventCallback = callback; 46 thiz->mMetaEventContext = pContext; 47 interface_unlock_exclusive(thiz); 59 IMIDIMessage *thiz = (IMIDIMessage *) self; local 60 interface_lock_exclusive(thiz); 61 thiz->mMessageCallback = callback; 62 thiz->mMessageContext = pContext 85 IMIDIMessage *thiz = (IMIDIMessage *) self; local 105 IMIDIMessage *thiz = (IMIDIMessage *) self; local 125 IMIDIMessage *thiz = (IMIDIMessage *) self; local [all...] |
IMIDITempo.c | 29 IMIDITempo *thiz = (IMIDITempo *) self; local 30 interface_lock_poke(thiz); 31 thiz->mTicksPerQuarterNote = tpqn; 32 interface_unlock_poke(thiz); 47 IMIDITempo *thiz = (IMIDITempo *) self; local 48 interface_lock_peek(thiz); 49 SLuint32 ticksPerQuarterNote = thiz->mTicksPerQuarterNote; 50 interface_unlock_peek(thiz); 67 IMIDITempo *thiz = (IMIDITempo *) self; local 68 interface_lock_poke(thiz); 85 IMIDITempo *thiz = (IMIDITempo *) self; local 106 IMIDITempo *thiz = (IMIDITempo *) self; local [all...] |
IMetadataExtraction.c | 29 IMetadataExtraction *thiz = (IMetadataExtraction *) self; local 30 if (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) { 32 result = android_audioPlayer_metadata_getItemCount((CAudioPlayer *)thiz->mThis, 54 IMetadataExtraction *thiz = (IMetadataExtraction *) self; local 55 if (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) { 57 result = android_audioPlayer_metadata_getKeySize((CAudioPlayer *)thiz->mThis, 79 IMetadataExtraction *thiz = (IMetadataExtraction *) self; local 80 if (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) { 82 result = android_audioPlayer_metadata_getKey((CAudioPlayer *)thiz->mThis, 104 IMetadataExtraction *thiz = (IMetadataExtraction *) self local 129 IMetadataExtraction *thiz = (IMetadataExtraction *) self; local 156 IMetadataExtraction *thiz = (IMetadataExtraction *) self; local 176 IMetadataExtraction *thiz = (IMetadataExtraction *) self; local 196 IMetadataExtraction *thiz = (IMetadataExtraction *) self; local [all...] |
INoiseSuppression.c | 32 IAndroidNoiseSuppression *thiz = (IAndroidNoiseSuppression *) self; local 33 interface_lock_exclusive(thiz); 34 thiz->mEnabled = (SLboolean) enabled; 35 if (NO_NOISESUPPRESS(thiz)) { 38 android::status_t status = thiz->mNSEffect->setEnabled((bool) thiz->mEnabled); 41 interface_unlock_exclusive(thiz); 53 IAndroidNoiseSuppression *thiz = (IAndroidNoiseSuppression *) self; local 54 interface_lock_exclusive(thiz); 55 if (NO_NOISESUPPRESS(thiz)) { 73 IAndroidNoiseSuppression *thiz = (IAndroidNoiseSuppression *) self; local 83 IAndroidNoiseSuppression *thiz = (IAndroidNoiseSuppression *) self; local 90 IAndroidNoiseSuppression *thiz = (IAndroidNoiseSuppression *) self; local [all...] |
IPitch.c | 26 IPitch *thiz = (IPitch *) self; local 28 if (!(thiz->mMinPitch <= pitch && pitch <= thiz->mMaxPitch)) { 31 interface_lock_poke(thiz); 32 thiz->mPitch = pitch; 33 interface_unlock_poke(thiz); 48 IPitch *thiz = (IPitch *) self; local 49 interface_lock_peek(thiz); 50 SLpermille pitch = thiz->mPitch; 51 interface_unlock_peek(thiz); 70 IPitch *thiz = (IPitch *) self; local 92 IPitch *thiz = (IPitch *) self; local [all...] |
IPresetReverb.c | 34 IPresetReverb *thiz = (IPresetReverb *) self; local 43 interface_lock_exclusive(thiz); 44 thiz->mPreset = preset; 48 if (NO_PRESETREVERB(thiz)) { 51 android::status_t status = android_prev_setPreset(thiz->mPresetReverbEffect, preset); 55 interface_unlock_exclusive(thiz); 72 IPresetReverb *thiz = (IPresetReverb *) self; local 73 interface_lock_shared(thiz); 76 preset = thiz->mPreset; 79 if (NO_PRESETREVERB(thiz)) { 105 IPresetReverb *thiz = (IPresetReverb *) self; local 118 IPresetReverb *thiz = (IPresetReverb *) self; local 127 IPresetReverb *thiz = (IPresetReverb *) self; local [all...] |
IRatePitch.c | 26 IRatePitch *thiz = (IRatePitch *) self; local 27 if (!(thiz->mMinRate <= rate && rate <= thiz->mMaxRate)) { 30 interface_lock_poke(thiz); 31 thiz->mRate = rate; 32 interface_unlock_poke(thiz); 47 IRatePitch *thiz = (IRatePitch *) self; local 48 interface_lock_peek(thiz); 49 SLpermille rate = thiz->mRate; 50 interface_unlock_peek(thiz); 69 IRatePitch *thiz = (IRatePitch *) self; local 91 IRatePitch *thiz = (IRatePitch *) self; local [all...] |
IVideoDecoderCapabilities.cpp | 115 IVideoDecoderCapabilities *thiz = (IVideoDecoderCapabilities *) self; local 116 thiz->mItf = &IVideoDecoderCapabilities_Itf;
|