Home
last modified time | relevance | path

Searched refs:mPrefetchStatus (Results 1 – 6 of 6) sorted by relevance

/frameworks/wilhelm/src/android/
DMediaPlayer_to_android.cpp80 mp->mPrefetchStatus.mLevel = 0; in player_handleMediaPlayerEventNotifications()
81 mp->mPrefetchStatus.mStatus = SL_PREFETCHSTATUS_UNDERFLOW; in player_handleMediaPlayerEventNotifications()
82 if (!(~mp->mPrefetchStatus.mCallbackEventsMask & in player_handleMediaPlayerEventNotifications()
84 callback = mp->mPrefetchStatus.mCallback; in player_handleMediaPlayerEventNotifications()
85 callbackPContext = mp->mPrefetchStatus.mContext; in player_handleMediaPlayerEventNotifications()
95 (*callback)(&mp->mPrefetchStatus.mItf, callbackPContext, events); in player_handleMediaPlayerEventNotifications()
205 interface_lock_exclusive(&mp->mPrefetchStatus); in player_handleMediaPlayerEventNotifications()
206 if (mp->mPrefetchStatus.mCallbackEventsMask & SL_PREFETCHEVENT_FILLLEVELCHANGE) { in player_handleMediaPlayerEventNotifications()
207 callback = mp->mPrefetchStatus.mCallback; in player_handleMediaPlayerEventNotifications()
208 callbackPContext = mp->mPrefetchStatus.mContext; in player_handleMediaPlayerEventNotifications()
[all …]
DAudioPlayer_to_android.cpp701 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()
[all …]
/frameworks/wilhelm/src/
Dlocks.c222 prefetchCallback = ap->mPrefetchStatus.mDeferredPrefetchCallback; in object_unlock_exclusive_attributes_()
223 prefetchContext = ap->mPrefetchStatus.mDeferredPrefetchContext; in object_unlock_exclusive_attributes_()
224 prefetchEvents = ap->mPrefetchStatus.mDeferredPrefetchEvents; in object_unlock_exclusive_attributes_()
225 ap->mPrefetchStatus.mDeferredPrefetchCallback = NULL; in object_unlock_exclusive_attributes_()
227 ap->mPrefetchStatus.mDeferredPrefetchContext = NULL; in object_unlock_exclusive_attributes_()
228 ap->mPrefetchStatus.mDeferredPrefetchEvents = SL_PREFETCHEVENT_NONE; in object_unlock_exclusive_attributes_()
252 (*prefetchCallback)(&ap->mPrefetchStatus.mItf, prefetchContext, in object_unlock_exclusive_attributes_()
256 (*prefetchCallback)(&ap->mPrefetchStatus.mItf, prefetchContext, in object_unlock_exclusive_attributes_()
Dclasses.h44 IPrefetchStatus mPrefetchStatus; member
254 IPrefetchStatus mPrefetchStatus; member
326 IPrefetchStatus mPrefetchStatus; member
Dclasses.c71 {MPH_PREFETCHSTATUS, INTERFACE_EXPLICIT, offsetof(CAudioPlayer, mPrefetchStatus)},
305 {MPH_PREFETCHSTATUS, INTERFACE_EXPLICIT_GAME_PHONE, offsetof(CMidiPlayer, mPrefetchStatus)},
418 {MPH_XAPREFETCHSTATUS, INTERFACE_EXPLICIT, offsetof(CMediaPlayer, mPrefetchStatus)},
/frameworks/wilhelm/src/desktop/
DSndFile.c196 audioPlayer->mPrefetchStatus.mLevel = 1000; in audioPlayerTransportUpdate()
259 thiz->mPrefetchStatus.mStatus = SL_PREFETCHSTATUS_SUFFICIENTDATA; in SndFile_Realize()