Home
last modified time | relevance | path

Searched refs:thiz (Results 1 – 25 of 155) sorted by relevance

1234567

/frameworks/wilhelm/src/
Dlocks.h22 extern void object_lock_exclusive_(IObject *thiz, const char *file, int line);
23 extern void object_unlock_exclusive_(IObject *thiz, const char *file, int line);
24 extern void object_unlock_exclusive_attributes_(IObject *thiz, unsigned attr,
26 extern void object_cond_wait_(IObject *thiz, const char *file, int line);
28 extern void object_lock_exclusive(IObject *thiz);
29 extern void object_unlock_exclusive(IObject *thiz);
30 extern void object_unlock_exclusive_attributes(IObject *thiz, unsigned attr);
31 extern void object_cond_wait(IObject *thiz);
33 extern void object_cond_signal(IObject *thiz);
34 extern void object_cond_broadcast(IObject *thiz);
[all …]
Dlocks.cpp44 void object_lock_exclusive_(IObject *thiz, const char *file, int line) in object_lock_exclusive_() argument
47 ok = pthread_mutex_trylock(&thiz->mMutex); in object_lock_exclusive_()
50 int32_t oldGeneration = thiz->mGeneration; in object_lock_exclusive_()
59 ok = pthread_mutex_timedlock(&thiz->mMutex, &ts); in object_lock_exclusive_()
73 int32_t newGeneration = thiz->mGeneration; in object_lock_exclusive_()
83 pthread_t owner = thiz->mOwner; in object_lock_exclusive_()
87 " (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(), thiz, in object_lock_exclusive_()
88 *(void **)&owner, ownerTid, thiz->mFile, thiz->mLine); in object_lock_exclusive_()
92 ok = pthread_mutex_lock(&thiz->mMutex); in object_lock_exclusive_()
101 if (0 != memcmp(&zero, &thiz->mOwner, sizeof(pthread_t))) { in object_lock_exclusive_()
[all …]
Dhandler_bodies.cpp25 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/
DIBufferQueue.cpp26 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()
55 IBufferQueue *thiz = (IBufferQueue *) self; in IBufferQueue_Enqueue() local
56 interface_lock_exclusive(thiz); in IBufferQueue_Enqueue()
57 BufferHeader *oldRear = thiz->mRear, *newRear; in IBufferQueue_Enqueue()
58 if ((newRear = oldRear + 1) == &thiz->mArray[thiz->mNumBuffers + 1]) { in IBufferQueue_Enqueue()
59 newRear = thiz->mArray; in IBufferQueue_Enqueue()
61 if (newRear == thiz->mFront) { in IBufferQueue_Enqueue()
[all …]
DIPlay.cpp31 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 …]
DIEnvironmentalReverb.cpp50 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 …]
DIObject.cpp29 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 …]
DI3DLocation.cpp29 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 …]
DIRecord.cpp31 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 …]
DI3DMacroscopic.cpp32 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 …]
DI3DSource.cpp26 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 …]
DIEqualizer.cpp59 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()
89 SLboolean enabled = thiz->mEnabled; in IEqualizer_IsEnabled()
93 if (NO_EQ(thiz)) { in IEqualizer_IsEnabled()
[all …]
DIAndroidBufferQueue.cpp30 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 …]
DIPrefetchStatus.cpp29 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 …]
DIVolume.cpp30 IVolume *thiz = (IVolume *) self; in IVolume_SetVolumeLevel() local
31 interface_lock_exclusive(thiz); in IVolume_SetVolumeLevel()
32 SLmillibel oldLevel = thiz->mLevel; in IVolume_SetVolumeLevel()
34 thiz->mLevel = level; in IVolume_SetVolumeLevel()
35 interface_unlock_exclusive_attributes(thiz, ATTR_GAIN); in IVolume_SetVolumeLevel()
37 interface_unlock_exclusive(thiz); in IVolume_SetVolumeLevel()
53 IVolume *thiz = (IVolume *) self; in IVolume_GetVolumeLevel() local
54 interface_lock_shared(thiz); in IVolume_GetVolumeLevel()
55 SLmillibel level = thiz->mLevel; in IVolume_GetVolumeLevel()
56 interface_unlock_shared(thiz); in IVolume_GetVolumeLevel()
[all …]
DIMIDIMuteSolo.cpp30 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 …]
DI3DDoppler.cpp29 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 …]
DIAndroidEffectCapabilities.cpp30 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 …]
DIThreadSync.cpp26 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 …]
DIPlaybackRate.cpp26 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 …]
DIVirtualizer.cpp42 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()
73 SLboolean enabled = thiz->mEnabled; in IVirtualizer_IsEnabled()
77 if (NO_VIRTUALIZER(thiz)) { in IVirtualizer_IsEnabled()
[all …]
DIBassBoost.cpp42 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()
71 SLboolean enabled = thiz->mEnabled; in IBassBoost_IsEnabled()
75 if (NO_BASSBOOST(thiz)) { in IBassBoost_IsEnabled()
[all …]
DIAndroidEffectSend.cpp32 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()
48 thiz->mSendLevel = initialLevel; in IAndroidEffectSend_EnableEffectSend()
49 thiz->mEnabled = enable; in IAndroidEffectSend_EnableEffectSend()
52 interface_unlock_exclusive(thiz); in IAndroidEffectSend_EnableEffectSend()
67 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; in IAndroidEffectSend_IsEnabled() local
68 interface_lock_shared(thiz); in IAndroidEffectSend_IsEnabled()
70 SLboolean enable = thiz->mEnabled; in IAndroidEffectSend_IsEnabled()
[all …]
DIEngine.cpp114 CLEDDevice *thiz = (CLEDDevice *) construct(pCLEDDevice_class, exposedMask, self); in IEngine_CreateLEDDevice() local
115 if (NULL == thiz) { in IEngine_CreateLEDDevice()
118 thiz->mDeviceID = deviceID; in IEngine_CreateLEDDevice()
119 IObject_Publish(&thiz->mObject); in IEngine_CreateLEDDevice()
121 *pDevice = &thiz->mObject.mItf; in IEngine_CreateLEDDevice()
152 CVibraDevice *thiz = (CVibraDevice *) construct(pCVibraDevice_class, exposedMask, self); in IEngine_CreateVibraDevice() local
153 if (NULL == thiz) { in IEngine_CreateVibraDevice()
156 thiz->mDeviceID = deviceID; in IEngine_CreateVibraDevice()
157 IObject_Publish(&thiz->mObject); in IEngine_CreateVibraDevice()
159 *pDevice = &thiz->mObject.mItf; in IEngine_CreateVibraDevice()
[all …]
DIMIDITime.cpp29 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 …]

1234567