Home
last modified time | relevance | path

Searched refs:timeMsec (Results 1 – 4 of 4) sorted by relevance

/frameworks/wilhelm/src/android/
Dandroid_GenericMediaPlayer.cpp397 int64_t timeMsec = ANDROID_UNKNOWN_TIME; in onSeek() local
398 if (!msg->findInt64(WHATPARAM_SEEK_SEEKTIME_MS, &timeMsec)) { in onSeek()
402 if ((mStateFlags & kFlagSeeking) && (timeMsec == mSeekTimeMsec) && in onSeek()
403 (timeMsec != ANDROID_UNKNOWN_TIME)) { in onSeek()
414 mSeekTimeMsec = (int32_t)timeMsec; in onSeek()
416 if (timeMsec == ANDROID_UNKNOWN_TIME) { in onSeek()
420 } else if (OK != mPlayer->seekTo(timeMsec)) { in onSeek()
Dandroid_GenericPlayer.cpp168 void GenericPlayer::seek(int64_t timeMsec) { in seek() argument
169 SL_LOGV("GenericPlayer::seek %lld", timeMsec); in seek()
170 if (timeMsec < 0 && timeMsec != ANDROID_UNKNOWN_TIME) { in seek()
171 SL_LOGE("GenericPlayer::seek error, can't seek to negative time %" PRId64 "ms", timeMsec); in seek()
175 msg->setInt64(WHATPARAM_SEEK_SEEKTIME_MS, timeMsec); in seek()
Dandroid_AudioSfDecoder.cpp383 int64_t timeMsec; in onSeek() local
384 CHECK(msg->findInt64(WHATPARAM_SEEK_SEEKTIME_MS, &timeMsec)); in onSeek()
388 mSeekTimeMsec = timeMsec; in onSeek()
Dandroid_GenericPlayer.h74 void seek(int64_t timeMsec);