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