Lines Matching refs:mPlay

387     interface_lock_shared(&ap->mPlay);  in audioTrack_handleMarker_lockPlay()
388 callback = ap->mPlay.mCallback; in audioTrack_handleMarker_lockPlay()
389 callbackPContext = ap->mPlay.mContext; in audioTrack_handleMarker_lockPlay()
390 interface_unlock_shared(&ap->mPlay); in audioTrack_handleMarker_lockPlay()
394 (*callback)(&ap->mPlay.mItf, callbackPContext, SL_PLAYEVENT_HEADATMARKER); in audioTrack_handleMarker_lockPlay()
404 interface_lock_shared(&ap->mPlay); in audioTrack_handleNewPos_lockPlay()
405 callback = ap->mPlay.mCallback; in audioTrack_handleNewPos_lockPlay()
406 callbackPContext = ap->mPlay.mContext; in audioTrack_handleNewPos_lockPlay()
407 interface_unlock_shared(&ap->mPlay); in audioTrack_handleNewPos_lockPlay()
411 (*callback)(&ap->mPlay.mItf, callbackPContext, SL_PLAYEVENT_HEADATNEWPOS); in audioTrack_handleNewPos_lockPlay()
421 interface_lock_shared(&ap->mPlay); in audioTrack_handleUnderrun_lockPlay()
422 callback = ap->mPlay.mCallback; in audioTrack_handleUnderrun_lockPlay()
423 callbackPContext = ap->mPlay.mContext; in audioTrack_handleUnderrun_lockPlay()
424 bool headStalled = (ap->mPlay.mEventFlags & SL_PLAYEVENT_HEADSTALLED) != 0; in audioTrack_handleUnderrun_lockPlay()
425 interface_unlock_shared(&ap->mPlay); in audioTrack_handleUnderrun_lockPlay()
428 (*callback)(&ap->mPlay.mItf, callbackPContext, SL_PLAYEVENT_HEADSTALLED); in audioTrack_handleUnderrun_lockPlay()
455 interface_lock_exclusive(&ap->mPlay); in audioPlayer_dispatch_headAtEnd_lockPlay()
457 if (ap->mPlay.mEventFlags & SL_PLAYEVENT_HEADATEND) { in audioPlayer_dispatch_headAtEnd_lockPlay()
458 playCallback = ap->mPlay.mCallback; in audioPlayer_dispatch_headAtEnd_lockPlay()
459 playContext = ap->mPlay.mContext; in audioPlayer_dispatch_headAtEnd_lockPlay()
462 ap->mPlay.mState = SL_PLAYSTATE_PAUSED; in audioPlayer_dispatch_headAtEnd_lockPlay()
465 interface_unlock_exclusive(&ap->mPlay); in audioPlayer_dispatch_headAtEnd_lockPlay()
470 (*playCallback)(&ap->mPlay.mItf, playContext, SL_PLAYEVENT_HEADATEND); in audioPlayer_dispatch_headAtEnd_lockPlay()
472 SLresult result = EnqueueAsyncCallback_ppi(ap, playCallback, &ap->mPlay.mItf, playContext, in audioPlayer_dispatch_headAtEnd_lockPlay()
476 &ap->mPlay.mItf, playContext); in audioPlayer_dispatch_headAtEnd_lockPlay()
900 interface_lock_shared(&ap->mPlay); in sfplayer_handlePrefetchEvent()
901 callback = ap->mPlay.mCallback; in sfplayer_handlePrefetchEvent()
902 callbackPContext = ap->mPlay.mContext; in sfplayer_handlePrefetchEvent()
903 interface_unlock_shared(&ap->mPlay); in sfplayer_handlePrefetchEvent()
909 (*callback)(&ap->mPlay.mItf, callbackPContext, event); in sfplayer_handlePrefetchEvent()
912 SLresult result = EnqueueAsyncCallback_ppi(ap, callback, &ap->mPlay.mItf, in sfplayer_handlePrefetchEvent()
916 &ap->mPlay.mItf, callbackPContext, event); in sfplayer_handlePrefetchEvent()
2234 SLuint32 playState = ap->mPlay.mState; in android_audioPlayer_setPlayState()
2305 IPlay *pPlayItf = &ap->mPlay; in android_audioPlayer_usePlayEventMask()