Lines Matching refs:mPrefetchStatus

701                 ap->mPrefetchStatus.mLevel = 0;  in sfplayer_handlePrefetchEvent()
702 ap->mPrefetchStatus.mStatus = SL_PREFETCHSTATUS_UNDERFLOW; in sfplayer_handlePrefetchEvent()
703 if (!(~ap->mPrefetchStatus.mCallbackEventsMask & in sfplayer_handlePrefetchEvent()
705 callback = ap->mPrefetchStatus.mCallback; in sfplayer_handlePrefetchEvent()
706 callbackPContext = ap->mPrefetchStatus.mContext; in sfplayer_handlePrefetchEvent()
716 (*callback)(&ap->mPrefetchStatus.mItf, callbackPContext, events); in sfplayer_handlePrefetchEvent()
730 interface_lock_exclusive(&ap->mPrefetchStatus); in sfplayer_handlePrefetchEvent()
731 if (ap->mPrefetchStatus.mCallbackEventsMask & SL_PREFETCHEVENT_FILLLEVELCHANGE) { in sfplayer_handlePrefetchEvent()
732 callback = ap->mPrefetchStatus.mCallback; in sfplayer_handlePrefetchEvent()
733 callbackPContext = ap->mPrefetchStatus.mContext; in sfplayer_handlePrefetchEvent()
735 ap->mPrefetchStatus.mLevel = (SLpermille)data1; in sfplayer_handlePrefetchEvent()
736 interface_unlock_exclusive(&ap->mPrefetchStatus); in sfplayer_handlePrefetchEvent()
740 (*callback)(&ap->mPrefetchStatus.mItf, callbackPContext, in sfplayer_handlePrefetchEvent()
755 if (ap->mPrefetchStatus.mCallbackEventsMask & SL_PREFETCHEVENT_STATUSCHANGE) { in sfplayer_handlePrefetchEvent()
756 callback = ap->mPrefetchStatus.mCallback; in sfplayer_handlePrefetchEvent()
757 callbackPContext = ap->mPrefetchStatus.mContext; in sfplayer_handlePrefetchEvent()
760 ap->mPrefetchStatus.mStatus = SL_PREFETCHSTATUS_SUFFICIENTDATA; in sfplayer_handlePrefetchEvent()
762 ap->mPrefetchStatus.mStatus = SL_PREFETCHSTATUS_UNDERFLOW; in sfplayer_handlePrefetchEvent()
768 (*callback)(&ap->mPrefetchStatus.mItf, callbackPContext, SL_PREFETCHEVENT_STATUSCHANGE); in sfplayer_handlePrefetchEvent()
827 ap->mPrefetchStatus.mLevel = 0; in sfplayer_handlePrefetchEvent()
828 ap->mPrefetchStatus.mStatus = SL_PREFETCHSTATUS_UNDERFLOW; in sfplayer_handlePrefetchEvent()
829 if (!(~ap->mPrefetchStatus.mCallbackEventsMask & in sfplayer_handlePrefetchEvent()
831 callback = ap->mPrefetchStatus.mCallback; in sfplayer_handlePrefetchEvent()
832 callbackPContext = ap->mPrefetchStatus.mContext; in sfplayer_handlePrefetchEvent()
842 (*callback)(&ap->mPrefetchStatus.mItf, callbackPContext, in sfplayer_handlePrefetchEvent()
1197 ap->mPrefetchStatus.mStatus = SL_PREFETCHSTATUS_UNDERFLOW; in audioTrack_callBack_pullFromBuffQueue()
1198 ap->mPrefetchStatus.mLevel = 0; in audioTrack_callBack_pullFromBuffQueue()
1200 prefetchEvents = ap->mPrefetchStatus.mCallbackEventsMask & in audioTrack_callBack_pullFromBuffQueue()
1203 prefetchCallback = ap->mPrefetchStatus.mCallback; in audioTrack_callBack_pullFromBuffQueue()
1204 prefetchContext = ap->mPrefetchStatus.mContext; in audioTrack_callBack_pullFromBuffQueue()
1218 (*prefetchCallback)(&ap->mPrefetchStatus.mItf, prefetchContext, in audioTrack_callBack_pullFromBuffQueue()
1222 (*prefetchCallback)(&ap->mPrefetchStatus.mItf, prefetchContext, in audioTrack_callBack_pullFromBuffQueue()
2200 assert(SL_PREFETCHSTATUS_UNDERFLOW == ap->mPrefetchStatus.mStatus); in android_audioPlayer_bufferQueue_onRefilled_l()
2201 assert(0 == ap->mPrefetchStatus.mLevel); in android_audioPlayer_bufferQueue_onRefilled_l()
2202 ap->mPrefetchStatus.mStatus = SL_PREFETCHSTATUS_SUFFICIENTDATA; in android_audioPlayer_bufferQueue_onRefilled_l()
2203 ap->mPrefetchStatus.mLevel = 1000; in android_audioPlayer_bufferQueue_onRefilled_l()
2205 SLuint32 prefetchEvents = ap->mPrefetchStatus.mCallbackEventsMask & in android_audioPlayer_bufferQueue_onRefilled_l()
2208 ap->mPrefetchStatus.mDeferredPrefetchCallback = ap->mPrefetchStatus.mCallback; in android_audioPlayer_bufferQueue_onRefilled_l()
2209 ap->mPrefetchStatus.mDeferredPrefetchContext = ap->mPrefetchStatus.mContext; in android_audioPlayer_bufferQueue_onRefilled_l()
2210 ap->mPrefetchStatus.mDeferredPrefetchEvents = prefetchEvents; in android_audioPlayer_bufferQueue_onRefilled_l()