Lines Matching refs:mPlay
30 SLuint32 state = thisAP->mPlay.mState; in SndFile_Callback()
51 slPlayCallback callback = thisAP->mPlay.mCallback; in SndFile_Callback()
52 void *context = thisAP->mPlay.mContext; in SndFile_Callback()
57 thisAP->mPlay.mPosition = (SLuint32) (((long long) thisAP->mPlay.mFramesSinceLastSeek * in SndFile_Callback()
58 1000000LL) / sampleRateMilliHz) + thisAP->mPlay.mLastSeekPosition; in SndFile_Callback()
61 SLuint32 frameUpdatePeriod = thisAP->mPlay.mFrameUpdatePeriod; in SndFile_Callback()
63 (thisAP->mPlay.mFramesSincePositionUpdate >= frameUpdatePeriod) && in SndFile_Callback()
64 (SL_PLAYEVENT_HEADATNEWPOS & thisAP->mPlay.mEventFlags)) { in SndFile_Callback()
68 if ((thisAP->mPlay.mFramesSincePositionUpdate -= thisAP->mPlay.mFrameUpdatePeriod) >= in SndFile_Callback()
70 thisAP->mPlay.mFramesSincePositionUpdate %= frameUpdatePeriod; in SndFile_Callback()
84 thisAP->mPlay.mState = SL_PLAYSTATE_PAUSED; in SndFile_Callback()
93 (*callback)(&thisAP->mPlay.mItf, context, SL_PLAYEVENT_HEADATNEWPOS); in SndFile_Callback()
201 if (pos > audioPlayer->mPlay.mDuration) { in audioPlayerTransportUpdate()
202 pos = audioPlayer->mPlay.mDuration; in audioPlayerTransportUpdate()
204 audioPlayer->mPlay.mLastSeekPosition = pos; in audioPlayerTransportUpdate()
205 audioPlayer->mPlay.mFramesSinceLastSeek = 0; in audioPlayerTransportUpdate()
207 audioPlayer->mPlay.mFramesSincePositionUpdate = 0; in audioPlayerTransportUpdate()
261 thiz->mPlay.mDuration = (SLmillisecond) (((long long) thiz->mSndFile.mSfInfo.frames * in SndFile_Realize()
266 thiz->mPlay.mFrameUpdatePeriod = ((long long) thiz->mPlay.mPositionUpdatePeriod * in SndFile_Realize()