Home
last modified time | relevance | path

Searched refs:posMsec (Results 1 – 6 of 6) sorted by relevance

/frameworks/wilhelm/tests/mimeUri/
DslesTestGetPositionUri.cpp95 SLmillisecond posMsec = SL_TIME_UNKNOWN; in PlayEventCallback() local
100 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res); in PlayEventCallback()
102 if (posMsec == SL_TIME_UNKNOWN) { in PlayEventCallback()
105 fprintf(stdout, "position is %d at SL_PLAYEVENT_HEADATEND\n", posMsec); in PlayEventCallback()
113 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res); in PlayEventCallback()
114 fprintf(stdout, "SL_PLAYEVENT_HEADATNEWPOS current position=%ums\n", posMsec); in PlayEventCallback()
118 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res); in PlayEventCallback()
119 fprintf(stdout, "SL_PLAYEVENT_HEADATMARKER current position=%ums\n", posMsec); in PlayEventCallback()
/frameworks/wilhelm/src/android/
DMediaPlayer_to_android.h74 extern XAresult android_Player_seek(CMediaPlayer *mp, SLmillisecond posMsec);
DAudioPlayer_to_android.h119 extern SLresult android_audioPlayer_seek(CAudioPlayer *pAudioPlayer, SLmillisecond posMsec);
DAudioPlayer_to_android.cpp2068 int32_t posMsec = ANDROID_UNKNOWN_TIME; in android_audioPlayer_getPosition() local
2070 ap->mAPlayer->getPositionMsec(&posMsec); in android_audioPlayer_getPosition()
2072 *pPosMsec = posMsec == ANDROID_UNKNOWN_TIME ? 0 : posMsec; in android_audioPlayer_getPosition()
2083 SLresult android_audioPlayer_seek(CAudioPlayer *ap, SLmillisecond posMsec) { in android_audioPlayer_seek() argument
2097 ap->mAPlayer->seek(posMsec); in android_audioPlayer_seek()
DMediaPlayer_to_android.cpp660 XAresult android_Player_seek(CMediaPlayer *mp, SLmillisecond posMsec) { in android_Player_seek() argument
665 mp->mAVPlayer->seek(posMsec); in android_Player_seek()
/frameworks/wilhelm/tests/examples/
DslesTestDecodeToBuffQueue.cpp231 SLmillisecond posMsec = SL_TIME_UNKNOWN; in DecPlayCallback()
232 SLresult result = (*pCntxt->playItf)->GetPosition(pCntxt->playItf, &posMsec); in DecPlayCallback()
234 if (posMsec == SL_TIME_UNKNOWN) { in DecPlayCallback()
238 posMsec); in DecPlayCallback()