Home
last modified time | relevance | path

Searched refs:playCallback (Results 1 – 2 of 2) sorted by relevance

/frameworks/wilhelm/src/android/
DMediaPlayer_to_android.cpp160 slPlayCallback playCallback = NULL; in player_handleMediaPlayerEventNotifications() local
164 playCallback = mp->mPlay.mCallback; in player_handleMediaPlayerEventNotifications()
171 if (NULL != playCallback) { in player_handleMediaPlayerEventNotifications()
173 (*playCallback)(&mp->mPlay.mItf, playContext, XA_PLAYEVENT_HEADATEND); in player_handleMediaPlayerEventNotifications()
175 SLresult res = EnqueueAsyncCallback_ppi(mp, playCallback, &mp->mPlay.mItf, playContext, in player_handleMediaPlayerEventNotifications()
178 "Callback %p(%p, %p, SL_PLAYEVENT_HEADATEND) dropped", playCallback, in player_handleMediaPlayerEventNotifications()
DAudioPlayer_to_android.cpp408 slPlayCallback playCallback = NULL; in audioPlayer_dispatch_headAtEnd_lockPlay() local
415 playCallback = ap->mPlay.mCallback; in audioPlayer_dispatch_headAtEnd_lockPlay()
425 if (NULL != playCallback) { in audioPlayer_dispatch_headAtEnd_lockPlay()
427 (*playCallback)(&ap->mPlay.mItf, playContext, SL_PLAYEVENT_HEADATEND); in audioPlayer_dispatch_headAtEnd_lockPlay()
429 SLresult result = EnqueueAsyncCallback_ppi(ap, playCallback, &ap->mPlay.mItf, playContext, in audioPlayer_dispatch_headAtEnd_lockPlay()
432 ALOGW("Callback %p(%p, %p, SL_PLAYEVENT_HEADATEND) dropped", playCallback, in audioPlayer_dispatch_headAtEnd_lockPlay()