/frameworks/wilhelm/src/itf/ |
IPrefetchStatus.c | 29 IPrefetchStatus *thiz = (IPrefetchStatus *) self; local 30 interface_lock_shared(thiz); 31 SLuint32 status = thiz->mStatus; 32 interface_unlock_shared(thiz); 48 IPrefetchStatus *thiz = (IPrefetchStatus *) self; local 49 interface_lock_shared(thiz); 50 SLpermille level = thiz->mLevel; 51 interface_unlock_shared(thiz); 65 IPrefetchStatus *thiz = (IPrefetchStatus *) self; local 66 interface_lock_exclusive(thiz); 84 IPrefetchStatus *thiz = (IPrefetchStatus *) self; local 104 IPrefetchStatus *thiz = (IPrefetchStatus *) self; local 123 IPrefetchStatus *thiz = (IPrefetchStatus *) self; local 147 IPrefetchStatus *thiz = (IPrefetchStatus *) self; local 171 IPrefetchStatus *thiz = (IPrefetchStatus *) self; local [all...] |
IVibra.c | 26 IVibra *thiz = (IVibra *) self; local 27 interface_lock_poke(thiz); 28 thiz->mVibrate = SL_BOOLEAN_FALSE != vibrate; // normalize 29 interface_unlock_poke(thiz); 43 IVibra *thiz = (IVibra *) self; local 44 interface_lock_peek(thiz); 45 SLboolean vibrate = thiz->mVibrate; 46 interface_unlock_peek(thiz); 65 IVibra *thiz = (IVibra *) self; local 66 interface_lock_poke(thiz); 83 IVibra *thiz = (IVibra *) self; local 105 IVibra *thiz = (IVibra *) self; local 127 IVibra *thiz = (IVibra *) self; local 151 IVibra *thiz = (IVibra *) self; local [all...] |
ILEDArray.c | 26 ILEDArray *thiz = (ILEDArray *) self; local 27 interface_lock_poke(thiz); 28 thiz->mLightMask = lightMask; 29 interface_unlock_poke(thiz); 43 ILEDArray *thiz = (ILEDArray *) self; local 44 interface_lock_peek(thiz); 45 SLuint32 lightMask = thiz->mLightMask; 46 interface_unlock_peek(thiz); 70 ILEDArray *thiz = (ILEDArray *) self; local 72 interface_lock_exclusive(thiz); 89 ILEDArray *thiz = (ILEDArray *) self; local 111 ILEDArray *thiz = (ILEDArray *) self; local [all...] |
IMIDITime.c | 29 IMIDITime *thiz = (IMIDITime *) self; local 30 SLuint32 duration = thiz->mDuration; 43 IMIDITime *thiz = (IMIDITime *) self; local 45 if (!(position < thiz->mDuration)) { 48 interface_lock_poke(thiz); 49 thiz->mPosition = position; 50 interface_unlock_poke(thiz); 65 IMIDITime *thiz = (IMIDITime *) self; local 66 interface_lock_peek(thiz); 67 SLuint32 position = thiz->mPosition 81 IMIDITime *thiz = (IMIDITime *) self; local 106 IMIDITime *thiz = (IMIDITime *) self; local 130 IMIDITime *thiz = (IMIDITime *) self; local [all...] |
IBassBoost.c | 42 IBassBoost *thiz = (IBassBoost *) self; local 43 interface_lock_exclusive(thiz); 44 thiz->mEnabled = (SLboolean) enabled; 48 if (NO_BASSBOOST(thiz)) { 51 android::status_t status = thiz->mBassBoostEffect->setEnabled((bool) thiz->mEnabled); 55 interface_unlock_exclusive(thiz); 68 IBassBoost *thiz = (IBassBoost *) self; local 69 interface_lock_exclusive(thiz); 70 SLboolean enabled = thiz->mEnabled 96 IBassBoost *thiz = (IBassBoost *) self; local 124 IBassBoost *thiz = (IBassBoost *) self; local 187 IBassBoost *thiz = (IBassBoost *) self; local 201 IBassBoost *thiz = (IBassBoost *) self; local 210 IBassBoost *thiz = (IBassBoost *) self; local [all...] |
IVirtualizer.c | 42 IVirtualizer *thiz = (IVirtualizer *) self; local 43 interface_lock_exclusive(thiz); 44 thiz->mEnabled = (SLboolean) enabled; 48 if (NO_VIRTUALIZER(thiz)) { 52 thiz->mVirtualizerEffect->setEnabled((bool) thiz->mEnabled); 56 interface_unlock_exclusive(thiz); 70 IVirtualizer *thiz = (IVirtualizer *) self; local 71 interface_lock_exclusive(thiz); 72 SLboolean enabled = thiz->mEnabled 98 IVirtualizer *thiz = (IVirtualizer *) self; local 126 IVirtualizer *thiz = (IVirtualizer *) self; local 189 IVirtualizer *thiz = (IVirtualizer *) self; local 203 IVirtualizer *thiz = (IVirtualizer *) self; local 212 IVirtualizer *thiz = (IVirtualizer *) self; local [all...] |
IMetadataTraversal.c | 30 IMetadataTraversal *thiz = (IMetadataTraversal *) self; local 31 interface_lock_poke(thiz); 32 thiz->mMode = mode; 33 interface_unlock_poke(thiz); 53 IMetadataTraversal *thiz = (IMetadataTraversal *) self; local 54 interface_lock_peek(thiz); 55 SLuint32 count = thiz->mCount; 56 interface_unlock_peek(thiz); 73 IMetadataTraversal *thiz = (IMetadataTraversal *) self; local 74 interface_lock_peek(thiz); 104 IMetadataTraversal *thiz = (IMetadataTraversal *) self; local 122 IMetadataTraversal *thiz = (IMetadataTraversal *) self; local [all...] |
IAndroidEffectCapabilities.c | 30 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; local 31 interface_lock_shared(thiz); 33 *pNumSupportedAudioEffects = thiz->mNumFx; 36 interface_unlock_shared(thiz); 49 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; local 50 if (index > thiz->mNumFx) { 53 interface_lock_shared(thiz); 55 *pEffectType = (SLInterfaceID) &thiz->mFxDescriptors[index].type; 58 *pEffectImplementation = (SLInterfaceID) &thiz->mFxDescriptors[index].uuid; 61 int len = strlen(thiz->mFxDescriptors[index].name) 81 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; local 91 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; local 133 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; local [all...] |
IAndroidEffectSend.c | 32 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local 33 interface_lock_exclusive(thiz); 35 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? 36 (CAudioPlayer *) thiz->mThis : NULL; 49 thiz->mSendLevel = initialLevel; 50 thiz->mEnabled = enable; 53 interface_unlock_exclusive(thiz); 68 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local 69 interface_lock_shared(thiz); 71 SLboolean enable = thiz->mEnabled 91 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local 124 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local 152 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local 191 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local 232 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local [all...] |
IObject.c | 29 IObject *thiz = (IObject *) self; local 30 assert(NULL != thiz); 31 const ClassTable *clazz = thiz->mClass; 38 object_lock_exclusive(thiz); 39 state = thiz->mState; 44 thiz->mState = SL_OBJECT_STATE_REALIZING_2; 47 result = (*realize)(thiz, SL_BOOLEAN_TRUE); 48 assert(SL_OBJECT_STATE_REALIZING_2 == thiz->mState); 70 thiz->mState = state; 73 slObjectCallback callback = thiz->mCallback 88 IObject *thiz = (IObject *) self; local 172 IObject *thiz = (IObject *) self; local 231 IObject *thiz = (IObject *) self; local 291 IObject *thiz = (IObject *) self; local 336 IObject *thiz = (IObject *) self; local 392 IObject *thiz = (IObject *) self; local 509 IObject *thiz = (IObject *) self; local 521 IObject *thiz = (IObject *) self; local 647 IObject *thiz = (IObject *) self; local 669 IObject *thiz = (IObject *) self; local 698 IObject *thiz = (IObject *) self; local 753 IObject *thiz = (IObject *) self; local 789 IObject *thiz = (IObject *) self; local [all...] |
IEnvironmentalReverb.c | 50 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 51 interface_lock_exclusive(thiz); 52 thiz->mProperties.roomLevel = room; 56 if (NO_ENVREVERB(thiz)) { 59 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, 64 interface_unlock_exclusive(thiz); 78 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 79 interface_lock_shared(thiz); 83 if (NO_ENVREVERB(thiz)) { 86 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect 111 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 140 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 170 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 199 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 229 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 258 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 290 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 319 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 349 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 378 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 410 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 439 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 469 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 498 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 528 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 557 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 587 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 616 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 671 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 700 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 762 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 775 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 784 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local [all...] |
IEqualizer.c | 59 IEqualizer *thiz = (IEqualizer *) self; local 60 interface_lock_exclusive(thiz); 61 thiz->mEnabled = (SLboolean) enabled; 65 if (NO_EQ(thiz)) { 69 thiz->mEqEffect->setEnabled((bool) thiz->mEnabled); 73 interface_unlock_exclusive(thiz); 86 IEqualizer *thiz = (IEqualizer *) self; local 87 interface_lock_exclusive(thiz); 88 SLboolean enabled = thiz->mEnabled 114 IEqualizer *thiz = (IEqualizer *) self; local 132 IEqualizer *thiz = (IEqualizer *) self; local 149 IEqualizer *thiz = (IEqualizer *) self; local 182 IEqualizer *thiz = (IEqualizer *) self; local 217 IEqualizer *thiz = (IEqualizer *) self; local 253 IEqualizer *thiz = (IEqualizer *) self; local 296 IEqualizer *thiz = (IEqualizer *) self; local 346 IEqualizer *thiz = (IEqualizer *) self; local 382 IEqualizer *thiz = (IEqualizer *) self; local 417 IEqualizer *thiz = (IEqualizer *) self; local 435 IEqualizer *thiz = (IEqualizer *) self; local 479 IEqualizer *thiz = (IEqualizer *) self; local 507 IEqualizer *thiz = (IEqualizer *) self; local 516 IEqualizer *thiz = (IEqualizer *) self; local [all...] |
ISeek.c | 34 ISeek *thiz = (ISeek *) self; local 35 interface_lock_exclusive(thiz); 36 thiz->mPos = pos; 38 interface_unlock_exclusive_attributes(thiz, ATTR_POSITION); 59 ISeek *thiz = (ISeek *) self; local 60 interface_lock_exclusive(thiz); 65 switch (IObjectToObjectID((thiz)->mThis)) { 67 CAudioPlayer *ap = InterfaceToCAudioPlayer(thiz); 76 CMediaPlayer *mp = InterfaceToCMediaPlayer(thiz); 89 thiz->mLoopEnabled = SL_BOOLEAN_FALSE != loopEnable; // normaliz 116 ISeek *thiz = (ISeek *) self; local 140 ISeek *thiz = (ISeek *) 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 116 IAndroidEffect *thiz = (IAndroidEffect *) self; local [all...] |
IAndroidConfiguration.c | 34 IAndroidConfiguration *thiz = (IAndroidConfiguration *) self; local 35 interface_lock_exclusive(thiz); 38 switch (IObjectToObjectID((thiz)->mThis)) { 42 result = android_audioRecorder_setConfig((CAudioRecorder *) thiz->mThis, configKey, 48 result = android_audioPlayer_setConfig((CAudioPlayer *) thiz->mThis, configKey, 56 interface_unlock_exclusive(thiz); 75 IAndroidConfiguration *thiz = (IAndroidConfiguration *) self; local 76 interface_lock_exclusive(thiz); 79 switch (IObjectToObjectID((thiz)->mThis)) { 81 result = android_audioRecorder_getConfig((CAudioRecorder *) thiz->mThis, configKey 106 IAndroidConfiguration *thiz = (IAndroidConfiguration *) 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...] |
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;
|
IAndroidBufferQueue.c | 30 static SLuint32 getAssociatedState(IAndroidBufferQueue *thiz) 33 switch (InterfaceToObjectID(thiz)) { 35 state = ((CMediaPlayer *) thiz->mThis)->mPlay.mState; 38 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState; 240 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 242 interface_lock_exclusive(thiz); 245 if (SL_PLAYSTATE_STOPPED == getAssociatedState(thiz)) { 246 thiz->mCallback = callback; 247 thiz->mContext = pContext; 254 interface_unlock_exclusive(thiz); 265 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 319 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 403 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 424 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 447 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 471 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 491 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local [all...] |
IAcousticEchoCancellation.c | 36 IAndroidAcousticEchoCancellation *thiz = (IAndroidAcousticEchoCancellation *) self; local 37 interface_lock_exclusive(thiz); 38 thiz->mEnabled = (SLboolean) enabled; 39 if (NO_ECHOCANCEL(thiz)) { 42 android::status_t status = thiz->mAECEffect->setEnabled((bool) thiz->mEnabled); 45 interface_unlock_exclusive(thiz); 58 IAndroidAcousticEchoCancellation *thiz = (IAndroidAcousticEchoCancellation *) self; local 59 interface_lock_exclusive(thiz); 60 SLboolean enabled = thiz->mEnabled 114 IAndroidAcousticEchoCancellation *thiz = (IAndroidAcousticEchoCancellation *) self; local 124 IAndroidAcousticEchoCancellation *thiz = (IAndroidAcousticEchoCancellation *) self; local 131 IAndroidAcousticEchoCancellation *thiz = (IAndroidAcousticEchoCancellation *) self; local [all...] |
IAutomaticGainControl.c | 35 IAndroidAutomaticGainControl *thiz = (IAndroidAutomaticGainControl *) self; local 36 interface_lock_exclusive(thiz); 37 thiz->mEnabled = (SLboolean) enabled; 38 if (NO_AUTOGAIN(thiz)) { 41 android::status_t status = thiz->mAGCEffect->setEnabled((bool) thiz->mEnabled); 44 interface_unlock_exclusive(thiz); 56 IAndroidAutomaticGainControl *thiz = (IAndroidAutomaticGainControl *) self; local 57 interface_lock_exclusive(thiz); 58 SLboolean enabled = thiz->mEnabled 111 IAndroidAutomaticGainControl *thiz = (IAndroidAutomaticGainControl *) self; local 121 IAndroidAutomaticGainControl *thiz = (IAndroidAutomaticGainControl *) self; local 128 IAndroidAutomaticGainControl *thiz = (IAndroidAutomaticGainControl *) self; local [all...] |
/frameworks/wilhelm/src/ |
handler_bodies.c | 25 unsigned handler_AudioPlayer_gain(IObject *thiz) 27 CAudioPlayer *ap = (CAudioPlayer *) thiz; 34 unsigned handler_OutputMix_gain(IObject *thiz) 43 unsigned handler_MidiPlayer_gain(IObject *thiz) 51 unsigned handler_MediaPlayer_gain(IObject *thiz) 53 CMediaPlayer *mp = (CMediaPlayer *) thiz; 60 unsigned handler_AudioPlayer_position(IObject *thiz) 63 ap = (CAudioPlayer *) thiz; 71 unsigned handler_MidiPlayer_position(IObject *thiz) 79 unsigned handler_AudioPlayer_transport(IObject *thiz) [all...] |
handlers.h | 27 extern unsigned handler_MediaPlayer_gain(IObject *thiz); 29 extern unsigned handler_MediaPlayer_transport(IObject *thiz); 30 extern unsigned handler_MediaPlayer_position(IObject *thiz); 31 extern unsigned handler_MediaPlayer_abq_enqueue(IObject *thiz); 32 extern unsigned handler_MediaPlayer_play_state(IObject *thiz); 33 extern unsigned handler_AudioPlayer_gain(IObject *thiz); 34 extern unsigned handler_AudioPlayer_transport(IObject *thiz); 35 extern unsigned handler_AudioPlayer_position(IObject *thiz); 36 extern unsigned handler_AudioPlayer_bq_enqueue(IObject *thiz); 37 extern unsigned handler_AudioPlayer_abq_enqueue(IObject *thiz); [all...] |
sync.c | 30 CEngine *thiz = (CEngine *) arg; local 37 object_lock_exclusive(&thiz->mObject); 38 if (thiz->mEngine.mShutdown) { 39 thiz->mEngine.mShutdownAck = SL_BOOLEAN_TRUE; 41 object_cond_broadcast(&thiz->mObject); 42 object_unlock_exclusive(&thiz->mObject); 45 if (thiz->m3DCommit.mWaiting) { 46 thiz->m3DCommit.mWaiting = 0; 47 ++thiz->m3DCommit.mGeneration; 49 object_cond_broadcast(&thiz->mObject) [all...] |
/frameworks/wilhelm/src/objects/ |
CEngine.c | 54 CEngine *thiz = (CEngine *) self; local 58 int err = pthread_create(&thiz->mSyncThread, (const pthread_attr_t *) NULL, sync_start, thiz); 64 result = ThreadPool_init(&thiz->mThreadPool, 0, 0); 66 thiz->mEngine.mShutdown = SL_BOOLEAN_TRUE; 67 (void) pthread_join(thiz->mSyncThread, (void **) NULL); 71 SDL_open(&thiz->mEngine); 89 CEngine *thiz = (CEngine *) self; local 92 unsigned instanceCount = thiz->mEngine.mInstanceCount; 93 unsigned instanceMask = thiz->mEngine.mInstanceMask [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...] |