Searched refs:mPlay (Results 1 – 11 of 11) sorted by relevance
/frameworks/wilhelm/src/desktop/ |
D | SndFile.c | 30 SLuint32 state = thisAP->mPlay.mState; in SndFile_Callback() 51 slPlayCallback callback = thisAP->mPlay.mCallback; in SndFile_Callback() 52 void *context = thisAP->mPlay.mContext; in SndFile_Callback() 57 thisAP->mPlay.mPosition = (SLuint32) (((long long) thisAP->mPlay.mFramesSinceLastSeek * in SndFile_Callback() 58 1000000LL) / sampleRateMilliHz) + thisAP->mPlay.mLastSeekPosition; in SndFile_Callback() 61 SLuint32 frameUpdatePeriod = thisAP->mPlay.mFrameUpdatePeriod; in SndFile_Callback() 63 (thisAP->mPlay.mFramesSincePositionUpdate >= frameUpdatePeriod) && in SndFile_Callback() 64 (SL_PLAYEVENT_HEADATNEWPOS & thisAP->mPlay.mEventFlags)) { in SndFile_Callback() 68 if ((thisAP->mPlay.mFramesSincePositionUpdate -= thisAP->mPlay.mFrameUpdatePeriod) >= in SndFile_Callback() 70 thisAP->mPlay.mFramesSincePositionUpdate %= frameUpdatePeriod; in SndFile_Callback() [all …]
|
/frameworks/wilhelm/tests/sandbox/ |
D | monkey.c | 42 SLPlayItf mPlay; member 56 assert(NULL != p->mPlay); in actionPause() 57 SLresult result = (*p->mPlay)->SetPlayState(p->mPlay, SL_PLAYSTATE_PAUSED); in actionPause() 64 assert(NULL != p->mPlay); in actionPlay() 65 SLresult result = (*p->mPlay)->SetPlayState(p->mPlay, SL_PLAYSTATE_PLAYING); in actionPlay() 72 assert(NULL != p->mPlay); in actionStop() 73 SLresult result = (*p->mPlay)->SetPlayState(p->mPlay, SL_PLAYSTATE_STOPPED); in actionStop() 91 p->mPlay = NULL; in actionDestroy() 133 result = (*p->mObject)->GetInterface(p->mObject, SL_IID_PLAY, &p->mPlay); in actionRealize() 250 player.mPlay = NULL; in main()
|
/frameworks/wilhelm/src/android/ |
D | AudioPlayer_to_android.cpp | 342 interface_lock_shared(&ap->mPlay); in audioTrack_handleMarker_lockPlay() 343 callback = ap->mPlay.mCallback; in audioTrack_handleMarker_lockPlay() 344 callbackPContext = ap->mPlay.mContext; in audioTrack_handleMarker_lockPlay() 345 interface_unlock_shared(&ap->mPlay); in audioTrack_handleMarker_lockPlay() 349 (*callback)(&ap->mPlay.mItf, callbackPContext, SL_PLAYEVENT_HEADATMARKER); in audioTrack_handleMarker_lockPlay() 359 interface_lock_shared(&ap->mPlay); in audioTrack_handleNewPos_lockPlay() 360 callback = ap->mPlay.mCallback; in audioTrack_handleNewPos_lockPlay() 361 callbackPContext = ap->mPlay.mContext; in audioTrack_handleNewPos_lockPlay() 362 interface_unlock_shared(&ap->mPlay); in audioTrack_handleNewPos_lockPlay() 366 (*callback)(&ap->mPlay.mItf, callbackPContext, SL_PLAYEVENT_HEADATNEWPOS); in audioTrack_handleNewPos_lockPlay() [all …]
|
D | MediaPlayer_to_android.cpp | 163 if (mp->mPlay.mEventFlags & XA_PLAYEVENT_HEADATEND) { in player_handleMediaPlayerEventNotifications() 164 playCallback = mp->mPlay.mCallback; in player_handleMediaPlayerEventNotifications() 165 playContext = mp->mPlay.mContext; in player_handleMediaPlayerEventNotifications() 167 mp->mPlay.mState = XA_PLAYSTATE_PAUSED; 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() 179 &mp->mPlay.mItf, playContext); in player_handleMediaPlayerEventNotifications() 252 interface_lock_shared(&mp->mPlay); in player_handleMediaPlayerEventNotifications() 253 slPlayCallback callback = mp->mPlay.mCallback; in player_handleMediaPlayerEventNotifications() 254 void* callbackPContext = mp->mPlay.mContext; in player_handleMediaPlayerEventNotifications() [all …]
|
/frameworks/wilhelm/src/ |
D | handler_bodies.c | 120 android_Player_setPlayState(avp, mp->mPlay.mState, &(mp->mAndroidObjState)); in handler_MediaPlayer_play_state() 131 assert(SL_PLAYSTATE_PLAYING == ap->mPlay.mState); in handler_AudioPlayer_bq_enqueue() 142 assert(SL_PLAYSTATE_PLAYING == ap->mPlay.mState); in handler_AudioPlayer_abq_enqueue() 152 if (SL_PLAYSTATE_PLAYING == mp->mPlay.mState) { in handler_MediaPlayer_abq_enqueue()
|
D | classes.h | 35 IPlay mPlay; member 236 IPlay mPlay; member 317 IPlay mPlay; member
|
D | classes.c | 59 {MPH_PLAY, INTERFACE_IMPLICIT, offsetof(CAudioPlayer, mPlay)}, 286 {MPH_PLAY, INTERFACE_IMPLICIT, offsetof(CMidiPlayer, mPlay)}, 409 {MPH_XAPLAY, INTERFACE_IMPLICIT, offsetof(CMediaPlayer, mPlay)},
|
/frameworks/wilhelm/src/itf/ |
D | IOutputMixExt.c | 63 audioPlayer->mPlay.mFramesSinceLastSeek += framesMixed; in track_check() 64 audioPlayer->mPlay.mFramesSincePositionUpdate += framesMixed; in track_check() 99 switch (audioPlayer->mPlay.mState) { in track_check() 114 audioPlayer->mPlay.mState = SL_PLAYSTATE_PLAYING; in track_check() 128 audioPlayer->mPlay.mPosition = (SLmillisecond) 0; in track_check() 129 audioPlayer->mPlay.mFramesSinceLastSeek = 0; in track_check() 130 audioPlayer->mPlay.mFramesSincePositionUpdate = 0; in track_check() 131 audioPlayer->mPlay.mLastSeekPosition = 0; in track_check() 132 audioPlayer->mPlay.mState = SL_PLAYSTATE_STOPPED; in track_check()
|
D | IAndroidBufferQueue.c | 35 state = ((CMediaPlayer *) thiz->mThis)->mPlay.mState; in getAssociatedState() 38 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState; in getAssociatedState()
|
D | IBufferQueue.c | 31 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState; in getAssociatedState()
|
D | IEngine.c | 575 thiz->mPlay.mDuration = 0; in IEngine_CreateMidiPlayer()
|