/frameworks/wilhelm/src/ |
D | locks.h | 20 extern void object_lock_exclusive_(IObject *thiz, const char *file, int line); 21 extern void object_unlock_exclusive_(IObject *thiz, const char *file, int line); 22 extern void object_unlock_exclusive_attributes_(IObject *thiz, unsigned attr, 24 extern void object_cond_wait_(IObject *thiz, const char *file, int line); 26 extern void object_lock_exclusive(IObject *thiz); 27 extern void object_unlock_exclusive(IObject *thiz); 28 extern void object_unlock_exclusive_attributes(IObject *thiz, unsigned attr); 29 extern void object_cond_wait(IObject *thiz); 31 extern void object_cond_signal(IObject *thiz); 32 extern void object_cond_broadcast(IObject *thiz); [all …]
|
D | locks.c | 34 void object_lock_exclusive_(IObject *thiz, const char *file, int line) in object_lock_exclusive_() argument 37 ok = pthread_mutex_trylock(&thiz->mMutex); in object_lock_exclusive_() 40 int32_t oldGeneration = thiz->mGeneration; in object_lock_exclusive_() 46 ok = pthread_mutex_lock_timeout_np(&thiz->mMutex, backoffs[i]); in object_lock_exclusive_() 60 int32_t newGeneration = thiz->mGeneration; in object_lock_exclusive_() 70 pthread_t owner = thiz->mOwner; in object_lock_exclusive_() 74 " (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(), thiz, in object_lock_exclusive_() 75 *(void **)&owner, ownerTid, thiz->mFile, thiz->mLine); in object_lock_exclusive_() 79 ok = pthread_mutex_lock(&thiz->mMutex); in object_lock_exclusive_() 88 if (0 != memcmp(&zero, &thiz->mOwner, sizeof(pthread_t))) { in object_lock_exclusive_() [all …]
|
D | handler_bodies.c | 25 unsigned handler_AudioPlayer_gain(IObject *thiz) in handler_AudioPlayer_gain() argument 27 CAudioPlayer *ap = (CAudioPlayer *) thiz; in handler_AudioPlayer_gain() 34 unsigned handler_OutputMix_gain(IObject *thiz) in handler_OutputMix_gain() argument 43 unsigned handler_MidiPlayer_gain(IObject *thiz) in handler_MidiPlayer_gain() argument 51 unsigned handler_MediaPlayer_gain(IObject *thiz) in handler_MediaPlayer_gain() argument 53 CMediaPlayer *mp = (CMediaPlayer *) thiz; in handler_MediaPlayer_gain() 60 unsigned handler_AudioPlayer_position(IObject *thiz) in handler_AudioPlayer_position() argument 63 ap = (CAudioPlayer *) thiz; in handler_AudioPlayer_position() 71 unsigned handler_MidiPlayer_position(IObject *thiz) in handler_MidiPlayer_position() argument 79 unsigned handler_AudioPlayer_transport(IObject *thiz) in handler_AudioPlayer_transport() argument [all …]
|
/frameworks/wilhelm/src/itf/ |
D | IBufferQueue.c | 26 static SLuint32 getAssociatedState(IBufferQueue *thiz) in getAssociatedState() argument 29 switch (InterfaceToObjectID(thiz)) { in getAssociatedState() 31 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState; in getAssociatedState() 34 state = ((CAudioRecorder *) thiz->mThis)->mRecord.mState; in getAssociatedState() 56 IBufferQueue *thiz = (IBufferQueue *) self; in IBufferQueue_Enqueue() local 57 interface_lock_exclusive(thiz); in IBufferQueue_Enqueue() 58 BufferHeader *oldRear = thiz->mRear, *newRear; in IBufferQueue_Enqueue() 59 if ((newRear = oldRear + 1) == &thiz->mArray[thiz->mNumBuffers + 1]) { in IBufferQueue_Enqueue() 60 newRear = thiz->mArray; in IBufferQueue_Enqueue() 62 if (newRear == thiz->mFront) { in IBufferQueue_Enqueue() [all …]
|
D | IPlay.c | 31 IPlay *thiz = (IPlay *) self; in IPlay_SetPlayState() local 35 CAudioPlayer *audioPlayer = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? in IPlay_SetPlayState() 36 (CAudioPlayer *) thiz->mThis : NULL; in IPlay_SetPlayState() 38 interface_lock_exclusive(thiz); in IPlay_SetPlayState() 39 SLuint32 oldState = thiz->mState; in IPlay_SetPlayState() 42 for (;; interface_cond_wait(thiz)) { in IPlay_SetPlayState() 69 thiz->mState = state; in IPlay_SetPlayState() 84 thiz->mState = SL_PLAYSTATE_STOPPING; in IPlay_SetPlayState() 99 thiz->mState = state; in IPlay_SetPlayState() 105 interface_unlock_exclusive_attributes(thiz, attr); in IPlay_SetPlayState() [all …]
|
D | IEnvironmentalReverb.c | 50 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; in IEnvironmentalReverb_SetRoomLevel() local 51 interface_lock_exclusive(thiz); in IEnvironmentalReverb_SetRoomLevel() 52 thiz->mProperties.roomLevel = room; in IEnvironmentalReverb_SetRoomLevel() 56 if (NO_ENVREVERB(thiz)) { in IEnvironmentalReverb_SetRoomLevel() 59 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, in IEnvironmentalReverb_SetRoomLevel() 64 interface_unlock_exclusive(thiz); in IEnvironmentalReverb_SetRoomLevel() 78 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; in IEnvironmentalReverb_GetRoomLevel() local 79 interface_lock_shared(thiz); in IEnvironmentalReverb_GetRoomLevel() 83 if (NO_ENVREVERB(thiz)) { in IEnvironmentalReverb_GetRoomLevel() 86 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, in IEnvironmentalReverb_GetRoomLevel() [all …]
|
D | IObject.c | 29 IObject *thiz = (IObject *) self; in HandleRealize() local 30 assert(NULL != thiz); in HandleRealize() 31 const ClassTable *clazz = thiz->mClass; in HandleRealize() 38 object_lock_exclusive(thiz); in HandleRealize() 39 state = thiz->mState; in HandleRealize() 44 thiz->mState = SL_OBJECT_STATE_REALIZING_2; in HandleRealize() 47 result = (*realize)(thiz, SL_BOOLEAN_TRUE); in HandleRealize() 48 assert(SL_OBJECT_STATE_REALIZING_2 == thiz->mState); in HandleRealize() 70 thiz->mState = state; in HandleRealize() 73 slObjectCallback callback = thiz->mCallback; in HandleRealize() [all …]
|
D | I3DLocation.c | 29 I3DLocation *thiz = (I3DLocation *) self; in I3DLocation_SetLocationCartesian() local 31 interface_lock_exclusive(thiz); in I3DLocation_SetLocationCartesian() 32 thiz->mLocationCartesian = locationCartesian; in I3DLocation_SetLocationCartesian() 33 thiz->mLocationActive = CARTESIAN_SET_SPHERICAL_UNKNOWN; in I3DLocation_SetLocationCartesian() 34 interface_unlock_exclusive(thiz); in I3DLocation_SetLocationCartesian() 52 I3DLocation *thiz = (I3DLocation *) self; in I3DLocation_SetLocationSpherical() local 53 interface_lock_exclusive(thiz); in I3DLocation_SetLocationSpherical() 54 thiz->mLocationSpherical.mAzimuth = azimuth; in I3DLocation_SetLocationSpherical() 55 thiz->mLocationSpherical.mElevation = elevation; in I3DLocation_SetLocationSpherical() 56 thiz->mLocationSpherical.mDistance = distance; in I3DLocation_SetLocationSpherical() [all …]
|
D | IRecord.c | 31 IRecord *thiz = (IRecord *) self; in IRecord_SetRecordState() local 32 interface_lock_exclusive(thiz); in IRecord_SetRecordState() 33 thiz->mState = state; in IRecord_SetRecordState() 35 android_audioRecorder_setRecordState(InterfaceToCAudioRecorder(thiz), state); in IRecord_SetRecordState() 37 interface_unlock_exclusive(thiz); in IRecord_SetRecordState() 54 IRecord *thiz = (IRecord *) self; in IRecord_GetRecordState() local 58 interface_lock_shared(thiz); in IRecord_GetRecordState() 59 SLuint32 state = thiz->mState; in IRecord_GetRecordState() 60 interface_unlock_shared(thiz); in IRecord_GetRecordState() 73 IRecord *thiz = (IRecord *) self; in IRecord_SetDurationLimit() local [all …]
|
D | I3DMacroscopic.c | 32 I3DMacroscopic *thiz = (I3DMacroscopic *) self; in I3DMacroscopic_SetSize() local 33 interface_lock_exclusive(thiz); in I3DMacroscopic_SetSize() 34 thiz->mSize.mWidth = width; in I3DMacroscopic_SetSize() 35 thiz->mSize.mHeight = height; in I3DMacroscopic_SetSize() 36 thiz->mSize.mDepth = depth; in I3DMacroscopic_SetSize() 37 interface_unlock_exclusive(thiz); in I3DMacroscopic_SetSize() 53 I3DMacroscopic *thiz = (I3DMacroscopic *) self; in I3DMacroscopic_GetSize() local 54 interface_lock_shared(thiz); in I3DMacroscopic_GetSize() 55 SLmillimeter width = thiz->mSize.mWidth; in I3DMacroscopic_GetSize() 56 SLmillimeter height = thiz->mSize.mHeight; in I3DMacroscopic_GetSize() [all …]
|
D | I3DSource.c | 26 I3DSource *thiz = (I3DSource *) self; in I3DSource_SetHeadRelative() local 27 interface_lock_poke(thiz); in I3DSource_SetHeadRelative() 28 thiz->mHeadRelative = SL_BOOLEAN_FALSE != headRelative; // normalize in I3DSource_SetHeadRelative() 29 interface_unlock_poke(thiz); in I3DSource_SetHeadRelative() 43 I3DSource *thiz = (I3DSource *) self; in I3DSource_GetHeadRelative() local 44 interface_lock_peek(thiz); in I3DSource_GetHeadRelative() 45 SLboolean headRelative = thiz->mHeadRelative; in I3DSource_GetHeadRelative() 46 interface_unlock_peek(thiz); in I3DSource_GetHeadRelative() 64 I3DSource *thiz = (I3DSource *) self; in I3DSource_SetRolloffDistances() local 65 interface_lock_exclusive(thiz); in I3DSource_SetRolloffDistances() [all …]
|
D | IEqualizer.c | 59 IEqualizer *thiz = (IEqualizer *) self; in IEqualizer_SetEnabled() local 60 interface_lock_exclusive(thiz); in IEqualizer_SetEnabled() 61 thiz->mEnabled = (SLboolean) enabled; in IEqualizer_SetEnabled() 65 if (NO_EQ(thiz)) { in IEqualizer_SetEnabled() 69 thiz->mEqEffect->setEnabled((bool) thiz->mEnabled); in IEqualizer_SetEnabled() 73 interface_unlock_exclusive(thiz); in IEqualizer_SetEnabled() 86 IEqualizer *thiz = (IEqualizer *) self; in IEqualizer_IsEnabled() local 87 interface_lock_exclusive(thiz); in IEqualizer_IsEnabled() 88 SLboolean enabled = thiz->mEnabled; in IEqualizer_IsEnabled() 93 if (NO_EQ(thiz)) { in IEqualizer_IsEnabled() [all …]
|
D | IAndroidBufferQueue.c | 30 static SLuint32 getAssociatedState(IAndroidBufferQueue *thiz) in getAssociatedState() argument 33 switch (InterfaceToObjectID(thiz)) { in getAssociatedState() 35 state = ((CMediaPlayer *) thiz->mThis)->mPlay.mState; in getAssociatedState() 38 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState; in getAssociatedState() 240 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; in IAndroidBufferQueue_RegisterCallback() local 242 interface_lock_exclusive(thiz); in IAndroidBufferQueue_RegisterCallback() 245 if (SL_PLAYSTATE_STOPPED == getAssociatedState(thiz)) { in IAndroidBufferQueue_RegisterCallback() 246 thiz->mCallback = callback; in IAndroidBufferQueue_RegisterCallback() 247 thiz->mContext = pContext; in IAndroidBufferQueue_RegisterCallback() 254 interface_unlock_exclusive(thiz); in IAndroidBufferQueue_RegisterCallback() [all …]
|
D | IPrefetchStatus.c | 29 IPrefetchStatus *thiz = (IPrefetchStatus *) self; in IPrefetchStatus_GetPrefetchStatus() local 30 interface_lock_shared(thiz); in IPrefetchStatus_GetPrefetchStatus() 31 SLuint32 status = thiz->mStatus; in IPrefetchStatus_GetPrefetchStatus() 32 interface_unlock_shared(thiz); in IPrefetchStatus_GetPrefetchStatus() 48 IPrefetchStatus *thiz = (IPrefetchStatus *) self; in IPrefetchStatus_GetFillLevel() local 49 interface_lock_shared(thiz); in IPrefetchStatus_GetFillLevel() 50 SLpermille level = thiz->mLevel; in IPrefetchStatus_GetFillLevel() 51 interface_unlock_shared(thiz); in IPrefetchStatus_GetFillLevel() 65 IPrefetchStatus *thiz = (IPrefetchStatus *) self; in IPrefetchStatus_RegisterCallback() local 66 interface_lock_exclusive(thiz); in IPrefetchStatus_RegisterCallback() [all …]
|
D | IVolume.c | 29 IVolume *thiz = (IVolume *) self; in IVolume_SetVolumeLevel() local 30 interface_lock_exclusive(thiz); in IVolume_SetVolumeLevel() 31 SLmillibel oldLevel = thiz->mLevel; in IVolume_SetVolumeLevel() 33 thiz->mLevel = level; in IVolume_SetVolumeLevel() 34 interface_unlock_exclusive_attributes(thiz, ATTR_GAIN); in IVolume_SetVolumeLevel() 36 interface_unlock_exclusive(thiz); in IVolume_SetVolumeLevel() 52 IVolume *thiz = (IVolume *) self; in IVolume_GetVolumeLevel() local 53 interface_lock_shared(thiz); in IVolume_GetVolumeLevel() 54 SLmillibel level = thiz->mLevel; in IVolume_GetVolumeLevel() 55 interface_unlock_shared(thiz); in IVolume_GetVolumeLevel() [all …]
|
D | IMIDIMuteSolo.c | 30 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; in IMIDIMuteSolo_SetChannelMute() local 32 interface_lock_exclusive(thiz); in IMIDIMuteSolo_SetChannelMute() 34 thiz->mChannelMuteMask |= mask; in IMIDIMuteSolo_SetChannelMute() 36 thiz->mChannelMuteMask &= ~mask; in IMIDIMuteSolo_SetChannelMute() 37 interface_unlock_exclusive(thiz); in IMIDIMuteSolo_SetChannelMute() 53 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; in IMIDIMuteSolo_GetChannelMute() local 54 interface_lock_peek(thiz); in IMIDIMuteSolo_GetChannelMute() 55 SLuint16 mask = thiz->mChannelMuteMask; in IMIDIMuteSolo_GetChannelMute() 56 interface_unlock_peek(thiz); in IMIDIMuteSolo_GetChannelMute() 73 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; in IMIDIMuteSolo_SetChannelSolo() local [all …]
|
D | I3DDoppler.c | 29 I3DDoppler *thiz = (I3DDoppler *) self; in I3DDoppler_SetVelocityCartesian() local 31 interface_lock_exclusive(thiz); in I3DDoppler_SetVelocityCartesian() 32 thiz->mVelocityCartesian = velocityCartesian; in I3DDoppler_SetVelocityCartesian() 33 thiz->mVelocityActive = CARTESIAN_SET_SPHERICAL_UNKNOWN; in I3DDoppler_SetVelocityCartesian() 34 interface_unlock_exclusive(thiz); in I3DDoppler_SetVelocityCartesian() 47 I3DDoppler *thiz = (I3DDoppler *) self; in I3DDoppler_SetVelocitySpherical() local 48 interface_lock_exclusive(thiz); in I3DDoppler_SetVelocitySpherical() 49 thiz->mVelocitySpherical.mAzimuth = azimuth; in I3DDoppler_SetVelocitySpherical() 50 thiz->mVelocitySpherical.mElevation = elevation; in I3DDoppler_SetVelocitySpherical() 51 thiz->mVelocitySpherical.mSpeed = speed; in I3DDoppler_SetVelocitySpherical() [all …]
|
D | IAndroidEffectCapabilities.c | 30 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; in IAndroidEffectCapabilities_QueryNumEffects() local 31 interface_lock_shared(thiz); in IAndroidEffectCapabilities_QueryNumEffects() 33 *pNumSupportedAudioEffects = thiz->mNumFx; in IAndroidEffectCapabilities_QueryNumEffects() 36 interface_unlock_shared(thiz); in IAndroidEffectCapabilities_QueryNumEffects() 49 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; in IAndroidEffectCapabilities_QueryEffect() local 50 if (index > thiz->mNumFx) { in IAndroidEffectCapabilities_QueryEffect() 53 interface_lock_shared(thiz); in IAndroidEffectCapabilities_QueryEffect() 55 *pEffectType = (SLInterfaceID) &thiz->mFxDescriptors[index].type; in IAndroidEffectCapabilities_QueryEffect() 58 *pEffectImplementation = (SLInterfaceID) &thiz->mFxDescriptors[index].uuid; in IAndroidEffectCapabilities_QueryEffect() 61 int len = strlen(thiz->mFxDescriptors[index].name); in IAndroidEffectCapabilities_QueryEffect() [all …]
|
D | IThreadSync.c | 26 IThreadSync *thiz = (IThreadSync *) self; in IThreadSync_EnterCriticalSection() local 27 interface_lock_exclusive(thiz); in IThreadSync_EnterCriticalSection() 29 if (thiz->mInCriticalSection) { in IThreadSync_EnterCriticalSection() 30 if (!pthread_equal(thiz->mOwner, pthread_self())) { in IThreadSync_EnterCriticalSection() 31 ++thiz->mWaiting; in IThreadSync_EnterCriticalSection() 32 interface_cond_wait(thiz); in IThreadSync_EnterCriticalSection() 39 thiz->mInCriticalSection = SL_BOOLEAN_TRUE; in IThreadSync_EnterCriticalSection() 40 thiz->mOwner = pthread_self(); in IThreadSync_EnterCriticalSection() 44 interface_unlock_exclusive(thiz); in IThreadSync_EnterCriticalSection() 54 IThreadSync *thiz = (IThreadSync *) self; in IThreadSync_ExitCriticalSection() local [all …]
|
D | IPlaybackRate.c | 26 IPlaybackRate *thiz = (IPlaybackRate *) self; in IPlaybackRate_SetRate() local 28 if (!(thiz->mMinRate <= rate && rate <= thiz->mMaxRate)) { in IPlaybackRate_SetRate() 31 interface_lock_exclusive(thiz); in IPlaybackRate_SetRate() 33 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? in IPlaybackRate_SetRate() 34 (CAudioPlayer *) thiz->mThis : NULL; in IPlaybackRate_SetRate() 36 result = android_audioPlayer_setPlaybackRateAndConstraints(ap, rate, thiz->mProperties); in IPlaybackRate_SetRate() 44 thiz->mRate = rate; in IPlaybackRate_SetRate() 46 interface_unlock_exclusive(thiz); in IPlaybackRate_SetRate() 60 IPlaybackRate *thiz = (IPlaybackRate *) self; in IPlaybackRate_GetRate() local 61 interface_lock_shared(thiz); in IPlaybackRate_GetRate() [all …]
|
D | IBassBoost.c | 42 IBassBoost *thiz = (IBassBoost *) self; in IBassBoost_SetEnabled() local 43 interface_lock_exclusive(thiz); in IBassBoost_SetEnabled() 44 thiz->mEnabled = (SLboolean) enabled; in IBassBoost_SetEnabled() 48 if (NO_BASSBOOST(thiz)) { in IBassBoost_SetEnabled() 51 android::status_t status = thiz->mBassBoostEffect->setEnabled((bool) thiz->mEnabled); in IBassBoost_SetEnabled() 55 interface_unlock_exclusive(thiz); in IBassBoost_SetEnabled() 68 IBassBoost *thiz = (IBassBoost *) self; in IBassBoost_IsEnabled() local 69 interface_lock_exclusive(thiz); in IBassBoost_IsEnabled() 70 SLboolean enabled = thiz->mEnabled; in IBassBoost_IsEnabled() 75 if (NO_BASSBOOST(thiz)) { in IBassBoost_IsEnabled() [all …]
|
D | IVirtualizer.c | 42 IVirtualizer *thiz = (IVirtualizer *) self; in IVirtualizer_SetEnabled() local 43 interface_lock_exclusive(thiz); in IVirtualizer_SetEnabled() 44 thiz->mEnabled = (SLboolean) enabled; in IVirtualizer_SetEnabled() 48 if (NO_VIRTUALIZER(thiz)) { in IVirtualizer_SetEnabled() 52 thiz->mVirtualizerEffect->setEnabled((bool) thiz->mEnabled); in IVirtualizer_SetEnabled() 56 interface_unlock_exclusive(thiz); in IVirtualizer_SetEnabled() 70 IVirtualizer *thiz = (IVirtualizer *) self; in IVirtualizer_IsEnabled() local 71 interface_lock_exclusive(thiz); in IVirtualizer_IsEnabled() 72 SLboolean enabled = thiz->mEnabled; in IVirtualizer_IsEnabled() 77 if (NO_VIRTUALIZER(thiz)) { in IVirtualizer_IsEnabled() [all …]
|
D | IMIDITime.c | 29 IMIDITime *thiz = (IMIDITime *) self; in IMIDITime_GetDuration() local 30 SLuint32 duration = thiz->mDuration; in IMIDITime_GetDuration() 43 IMIDITime *thiz = (IMIDITime *) self; in IMIDITime_SetPosition() local 45 if (!(position < thiz->mDuration)) { in IMIDITime_SetPosition() 48 interface_lock_poke(thiz); in IMIDITime_SetPosition() 49 thiz->mPosition = position; in IMIDITime_SetPosition() 50 interface_unlock_poke(thiz); in IMIDITime_SetPosition() 65 IMIDITime *thiz = (IMIDITime *) self; in IMIDITime_GetPosition() local 66 interface_lock_peek(thiz); in IMIDITime_GetPosition() 67 SLuint32 position = thiz->mPosition; in IMIDITime_GetPosition() [all …]
|
D | IAndroidEffectSend.c | 32 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; in IAndroidEffectSend_EnableEffectSend() local 33 interface_lock_exclusive(thiz); in IAndroidEffectSend_EnableEffectSend() 35 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? in IAndroidEffectSend_EnableEffectSend() 36 (CAudioPlayer *) thiz->mThis : NULL; in IAndroidEffectSend_EnableEffectSend() 49 thiz->mSendLevel = initialLevel; in IAndroidEffectSend_EnableEffectSend() 50 thiz->mEnabled = enable; in IAndroidEffectSend_EnableEffectSend() 53 interface_unlock_exclusive(thiz); in IAndroidEffectSend_EnableEffectSend() 68 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; in IAndroidEffectSend_IsEnabled() local 69 interface_lock_shared(thiz); in IAndroidEffectSend_IsEnabled() 71 SLboolean enable = thiz->mEnabled; in IAndroidEffectSend_IsEnabled() [all …]
|
D | IMetadataExtraction.c | 29 IMetadataExtraction *thiz = (IMetadataExtraction *) self; in IMetadataExtraction_GetItemCount() local 30 if (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) { in IMetadataExtraction_GetItemCount() 32 result = android_audioPlayer_metadata_getItemCount((CAudioPlayer *)thiz->mThis, in IMetadataExtraction_GetItemCount() 54 IMetadataExtraction *thiz = (IMetadataExtraction *) self; in IMetadataExtraction_GetKeySize() local 55 if (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) { in IMetadataExtraction_GetKeySize() 57 result = android_audioPlayer_metadata_getKeySize((CAudioPlayer *)thiz->mThis, in IMetadataExtraction_GetKeySize() 79 IMetadataExtraction *thiz = (IMetadataExtraction *) self; in IMetadataExtraction_GetKey() local 80 if (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) { in IMetadataExtraction_GetKey() 82 result = android_audioPlayer_metadata_getKey((CAudioPlayer *)thiz->mThis, in IMetadataExtraction_GetKey() 104 IMetadataExtraction *thiz = (IMetadataExtraction *) self; in IMetadataExtraction_GetValueSize() local [all …]
|