Lines Matching refs:mPlay

386     interface_lock_shared(&ap->mPlay);  in audioTrack_handleMarker_lockPlay()
387 callback = ap->mPlay.mCallback; in audioTrack_handleMarker_lockPlay()
388 callbackPContext = ap->mPlay.mContext; in audioTrack_handleMarker_lockPlay()
389 interface_unlock_shared(&ap->mPlay); in audioTrack_handleMarker_lockPlay()
393 (*callback)(&ap->mPlay.mItf, callbackPContext, SL_PLAYEVENT_HEADATMARKER); in audioTrack_handleMarker_lockPlay()
403 interface_lock_shared(&ap->mPlay); in audioTrack_handleNewPos_lockPlay()
404 callback = ap->mPlay.mCallback; in audioTrack_handleNewPos_lockPlay()
405 callbackPContext = ap->mPlay.mContext; in audioTrack_handleNewPos_lockPlay()
406 interface_unlock_shared(&ap->mPlay); in audioTrack_handleNewPos_lockPlay()
410 (*callback)(&ap->mPlay.mItf, callbackPContext, SL_PLAYEVENT_HEADATNEWPOS); in audioTrack_handleNewPos_lockPlay()
420 interface_lock_shared(&ap->mPlay); in audioTrack_handleUnderrun_lockPlay()
421 callback = ap->mPlay.mCallback; in audioTrack_handleUnderrun_lockPlay()
422 callbackPContext = ap->mPlay.mContext; in audioTrack_handleUnderrun_lockPlay()
423 bool headStalled = (ap->mPlay.mEventFlags & SL_PLAYEVENT_HEADSTALLED) != 0; in audioTrack_handleUnderrun_lockPlay()
424 interface_unlock_shared(&ap->mPlay); in audioTrack_handleUnderrun_lockPlay()
427 (*callback)(&ap->mPlay.mItf, callbackPContext, SL_PLAYEVENT_HEADSTALLED); in audioTrack_handleUnderrun_lockPlay()
454 interface_lock_exclusive(&ap->mPlay); in audioPlayer_dispatch_headAtEnd_lockPlay()
456 if (ap->mPlay.mEventFlags & SL_PLAYEVENT_HEADATEND) { in audioPlayer_dispatch_headAtEnd_lockPlay()
457 playCallback = ap->mPlay.mCallback; in audioPlayer_dispatch_headAtEnd_lockPlay()
458 playContext = ap->mPlay.mContext; in audioPlayer_dispatch_headAtEnd_lockPlay()
461 ap->mPlay.mState = SL_PLAYSTATE_PAUSED; in audioPlayer_dispatch_headAtEnd_lockPlay()
464 interface_unlock_exclusive(&ap->mPlay); in audioPlayer_dispatch_headAtEnd_lockPlay()
469 (*playCallback)(&ap->mPlay.mItf, playContext, SL_PLAYEVENT_HEADATEND); in audioPlayer_dispatch_headAtEnd_lockPlay()
471 SLresult result = EnqueueAsyncCallback_ppi(ap, playCallback, &ap->mPlay.mItf, playContext, in audioPlayer_dispatch_headAtEnd_lockPlay()
475 &ap->mPlay.mItf, playContext); in audioPlayer_dispatch_headAtEnd_lockPlay()
899 interface_lock_shared(&ap->mPlay); in sfplayer_handlePrefetchEvent()
900 callback = ap->mPlay.mCallback; in sfplayer_handlePrefetchEvent()
901 callbackPContext = ap->mPlay.mContext; in sfplayer_handlePrefetchEvent()
902 interface_unlock_shared(&ap->mPlay); in sfplayer_handlePrefetchEvent()
908 (*callback)(&ap->mPlay.mItf, callbackPContext, event); in sfplayer_handlePrefetchEvent()
911 SLresult result = EnqueueAsyncCallback_ppi(ap, callback, &ap->mPlay.mItf, in sfplayer_handlePrefetchEvent()
915 &ap->mPlay.mItf, callbackPContext, event); in sfplayer_handlePrefetchEvent()
2229 SLuint32 playState = ap->mPlay.mState; in android_audioPlayer_setPlayState()
2295 IPlay *pPlayItf = &ap->mPlay; in android_audioPlayer_usePlayEventMask()