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.cpp804 ap->mPrefetchStatus.mLevel = 0; in sfplayer_handlePrefetchEvent()
805 ap->mPrefetchStatus.mStatus = SL_PREFETCHSTATUS_UNDERFLOW; in sfplayer_handlePrefetchEvent()
806 if (!(~ap->mPrefetchStatus.mCallbackEventsMask & in sfplayer_handlePrefetchEvent()
808 callback = ap->mPrefetchStatus.mCallback; in sfplayer_handlePrefetchEvent()
809 callbackPContext = ap->mPrefetchStatus.mContext; in sfplayer_handlePrefetchEvent()
819 (*callback)(&ap->mPrefetchStatus.mItf, callbackPContext, events); in sfplayer_handlePrefetchEvent()
833 interface_lock_exclusive(&ap->mPrefetchStatus); in sfplayer_handlePrefetchEvent()
834 if (ap->mPrefetchStatus.mCallbackEventsMask & SL_PREFETCHEVENT_FILLLEVELCHANGE) { in sfplayer_handlePrefetchEvent()
835 callback = ap->mPrefetchStatus.mCallback; in sfplayer_handlePrefetchEvent()
836 callbackPContext = ap->mPrefetchStatus.mContext; in sfplayer_handlePrefetchEvent()
[all …]
/frameworks/wilhelm/src/
Dlocks.cpp222 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.h47 IPrefetchStatus mPrefetchStatus; member
263 IPrefetchStatus mPrefetchStatus; member
335 IPrefetchStatus mPrefetchStatus; member
Dclasses.cpp71 {MPH_PREFETCHSTATUS, INTERFACE_EXPLICIT, offsetof(CAudioPlayer, mPrefetchStatus)},
308 {MPH_PREFETCHSTATUS, INTERFACE_EXPLICIT_GAME_PHONE, offsetof(CMidiPlayer, mPrefetchStatus)},
421 {MPH_XAPREFETCHSTATUS, INTERFACE_EXPLICIT, offsetof(CMediaPlayer, mPrefetchStatus)},
/frameworks/wilhelm/src/desktop/
DSndFile.cpp196 audioPlayer->mPrefetchStatus.mLevel = 1000; in audioPlayerTransportUpdate()
259 thiz->mPrefetchStatus.mStatus = SL_PREFETCHSTATUS_SUFFICIENTDATA; in SndFile_Realize()