HomeSort by relevance Sort by last modified time
    Searched refs:mPlay (Results 1 - 14 of 14) sorted by null

  /frameworks/wilhelm/src/desktop/
SndFile.c 30 SLuint32 state = thisAP->mPlay.mState;
51 slPlayCallback callback = thisAP->mPlay.mCallback;
52 void *context = thisAP->mPlay.mContext;
57 thisAP->mPlay.mPosition = (SLuint32) (((long long) thisAP->mPlay.mFramesSinceLastSeek *
58 1000000LL) / sampleRateMilliHz) + thisAP->mPlay.mLastSeekPosition;
61 SLuint32 frameUpdatePeriod = thisAP->mPlay.mFrameUpdatePeriod;
63 (thisAP->mPlay.mFramesSincePositionUpdate >= frameUpdatePeriod) &&
64 (SL_PLAYEVENT_HEADATNEWPOS & thisAP->mPlay.mEventFlags)) {
68 if ((thisAP->mPlay.mFramesSincePositionUpdate -= thisAP->mPlay.mFrameUpdatePeriod) >
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
TrivialPlayer.java 31 boolean mPlay;
53 mPlay = false;
76 mPlay = true;
82 mPlay = false;
103 while (mAudioTrack != null && mPlay) {
  /frameworks/wilhelm/tests/sandbox/
monkey.c 42 SLPlayItf mPlay;
56 assert(NULL != p->mPlay);
57 SLresult result = (*p->mPlay)->SetPlayState(p->mPlay, SL_PLAYSTATE_PAUSED);
64 assert(NULL != p->mPlay);
65 SLresult result = (*p->mPlay)->SetPlayState(p->mPlay, SL_PLAYSTATE_PLAYING);
72 assert(NULL != p->mPlay);
73 SLresult result = (*p->mPlay)->SetPlayState(p->mPlay, SL_PLAYSTATE_STOPPED)
    [all...]
  /frameworks/wilhelm/src/
handler_bodies.c 120 android_Player_setPlayState(avp, mp->mPlay.mState, &mp->mAndroidObjState);
131 assert(SL_PLAYSTATE_PLAYING == ap->mPlay.mState);
142 assert(SL_PLAYSTATE_PLAYING == ap->mPlay.mState);
152 if (SL_PLAYSTATE_PLAYING == mp->mPlay.mState) {
classes.h 36 IPlay mPlay;
244 IPlay mPlay;
325 IPlay mPlay;
classes.c 59 {MPH_PLAY, INTERFACE_IMPLICIT, offsetof(CAudioPlayer, mPlay)},
294 {MPH_PLAY, INTERFACE_IMPLICIT, offsetof(CMidiPlayer, mPlay)},
417 {MPH_XAPLAY, INTERFACE_IMPLICIT, offsetof(CMediaPlayer, mPlay)},
  /cts/tests/tests/media/libaudiojni/
audio-track-native.cpp 61 mPlay(NULL),
144 res = (*mPlayerObj)->GetInterface(mPlayerObj, SL_IID_PLAY, (void*)&mPlay);
172 if (mPlay != NULL && mPlayState != SL_PLAYSTATE_STOPPED) {
185 mPlay = NULL;
207 if (mPlay == NULL) {
210 SLresult res = (*mPlay)->SetPlayState(mPlay, playState);
221 if (mPlay == NULL) {
225 SLresult res = (*mPlay)->GetPlayState(mPlay, &playState)
    [all...]
  /frameworks/wilhelm/src/android/
MediaPlayer_to_android.cpp 163 if (mp->mPlay.mEventFlags & XA_PLAYEVENT_HEADATEND) {
164 playCallback = mp->mPlay.mCallback;
165 playContext = mp->mPlay.mContext;
167 mp->mPlay.mState = XA_PLAYSTATE_PAUSED;
173 (*playCallback)(&mp->mPlay.mItf, playContext, XA_PLAYEVENT_HEADATEND);
175 SLresult res = EnqueueAsyncCallback_ppi(mp, playCallback, &mp->mPlay.mItf, playContext,
179 &mp->mPlay.mItf, playContext);
252 interface_lock_shared(&mp->mPlay);
253 slPlayCallback callback = mp->mPlay.mCallback;
254 void* callbackPContext = mp->mPlay.mContext
    [all...]
AudioPlayer_to_android.cpp 348 interface_lock_shared(&ap->mPlay);
349 callback = ap->mPlay.mCallback;
350 callbackPContext = ap->mPlay.mContext;
351 interface_unlock_shared(&ap->mPlay);
355 (*callback)(&ap->mPlay.mItf, callbackPContext, SL_PLAYEVENT_HEADATMARKER);
365 interface_lock_shared(&ap->mPlay);
366 callback = ap->mPlay.mCallback;
367 callbackPContext = ap->mPlay.mContext;
368 interface_unlock_shared(&ap->mPlay);
372 (*callback)(&ap->mPlay.mItf, callbackPContext, SL_PLAYEVENT_HEADATNEWPOS)
    [all...]
  /frameworks/wilhelm/src/itf/
IOutputMixExt.c 63 audioPlayer->mPlay.mFramesSinceLastSeek += framesMixed;
64 audioPlayer->mPlay.mFramesSincePositionUpdate += framesMixed;
99 switch (audioPlayer->mPlay.mState) {
114 audioPlayer->mPlay.mState = SL_PLAYSTATE_PLAYING;
128 audioPlayer->mPlay.mPosition = (SLmillisecond) 0;
129 audioPlayer->mPlay.mFramesSinceLastSeek = 0;
130 audioPlayer->mPlay.mFramesSincePositionUpdate = 0;
131 audioPlayer->mPlay.mLastSeekPosition = 0;
132 audioPlayer->mPlay.mState = SL_PLAYSTATE_STOPPED;
IBufferQueue.c 31 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState;
IAndroidBufferQueue.c 35 state = ((CMediaPlayer *) thiz->mThis)->mPlay.mState;
38 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState;
IEngine.c 585 thiz->mPlay.mDuration = 0;
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
A2dpSinkStreamingStateMachine.java 320 private boolean mPlay = false;
362 mPlay = false;

Completed in 827 milliseconds