• Home
  • Raw
  • Download

Lines Matching refs:mPlay

366     interface_lock_shared(&ap->mPlay);  in audioTrack_handleMarker_lockPlay()
367 callback = ap->mPlay.mCallback; in audioTrack_handleMarker_lockPlay()
368 callbackPContext = ap->mPlay.mContext; in audioTrack_handleMarker_lockPlay()
369 interface_unlock_shared(&ap->mPlay); in audioTrack_handleMarker_lockPlay()
373 (*callback)(&ap->mPlay.mItf, callbackPContext, SL_PLAYEVENT_HEADATMARKER); in audioTrack_handleMarker_lockPlay()
383 interface_lock_shared(&ap->mPlay); in audioTrack_handleNewPos_lockPlay()
384 callback = ap->mPlay.mCallback; in audioTrack_handleNewPos_lockPlay()
385 callbackPContext = ap->mPlay.mContext; in audioTrack_handleNewPos_lockPlay()
386 interface_unlock_shared(&ap->mPlay); in audioTrack_handleNewPos_lockPlay()
390 (*callback)(&ap->mPlay.mItf, callbackPContext, SL_PLAYEVENT_HEADATNEWPOS); in audioTrack_handleNewPos_lockPlay()
400 interface_lock_shared(&ap->mPlay); in audioTrack_handleUnderrun_lockPlay()
401 callback = ap->mPlay.mCallback; in audioTrack_handleUnderrun_lockPlay()
402 callbackPContext = ap->mPlay.mContext; in audioTrack_handleUnderrun_lockPlay()
403 bool headStalled = (ap->mPlay.mEventFlags & SL_PLAYEVENT_HEADSTALLED) != 0; in audioTrack_handleUnderrun_lockPlay()
404 interface_unlock_shared(&ap->mPlay); in audioTrack_handleUnderrun_lockPlay()
407 (*callback)(&ap->mPlay.mItf, callbackPContext, SL_PLAYEVENT_HEADSTALLED); in audioTrack_handleUnderrun_lockPlay()
434 interface_lock_exclusive(&ap->mPlay); in audioPlayer_dispatch_headAtEnd_lockPlay()
436 if (ap->mPlay.mEventFlags & SL_PLAYEVENT_HEADATEND) { in audioPlayer_dispatch_headAtEnd_lockPlay()
437 playCallback = ap->mPlay.mCallback; in audioPlayer_dispatch_headAtEnd_lockPlay()
438 playContext = ap->mPlay.mContext; in audioPlayer_dispatch_headAtEnd_lockPlay()
441 ap->mPlay.mState = SL_PLAYSTATE_PAUSED; in audioPlayer_dispatch_headAtEnd_lockPlay()
444 interface_unlock_exclusive(&ap->mPlay); in audioPlayer_dispatch_headAtEnd_lockPlay()
449 (*playCallback)(&ap->mPlay.mItf, playContext, SL_PLAYEVENT_HEADATEND); in audioPlayer_dispatch_headAtEnd_lockPlay()
451 SLresult result = EnqueueAsyncCallback_ppi(ap, playCallback, &ap->mPlay.mItf, playContext, in audioPlayer_dispatch_headAtEnd_lockPlay()
455 &ap->mPlay.mItf, playContext); in audioPlayer_dispatch_headAtEnd_lockPlay()
816 interface_lock_shared(&ap->mPlay); in sfplayer_handlePrefetchEvent()
817 callback = ap->mPlay.mCallback; in sfplayer_handlePrefetchEvent()
818 callbackPContext = ap->mPlay.mContext; in sfplayer_handlePrefetchEvent()
819 interface_unlock_shared(&ap->mPlay); in sfplayer_handlePrefetchEvent()
825 (*callback)(&ap->mPlay.mItf, callbackPContext, event); in sfplayer_handlePrefetchEvent()
828 SLresult result = EnqueueAsyncCallback_ppi(ap, callback, &ap->mPlay.mItf, in sfplayer_handlePrefetchEvent()
832 &ap->mPlay.mItf, callbackPContext, event); in sfplayer_handlePrefetchEvent()
1948 SLuint32 playState = ap->mPlay.mState; in android_audioPlayer_setPlayState()
1997 IPlay *pPlayItf = &ap->mPlay; in android_audioPlayer_usePlayEventMask()