OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:timeMsec
(Results
1 - 4
of
4
) sorted by null
/frameworks/wilhelm/src/android/
android_GenericMediaPlayer.cpp
394
int64_t
timeMsec
= ANDROID_UNKNOWN_TIME;
395
if (!msg->findInt64(WHATPARAM_SEEK_SEEKTIME_MS, &
timeMsec
)) {
399
if ((mStateFlags & kFlagSeeking) && (
timeMsec
== mSeekTimeMsec) &&
400
(
timeMsec
!= ANDROID_UNKNOWN_TIME)) {
411
mSeekTimeMsec = (int32_t)
timeMsec
;
413
if (
timeMsec
== ANDROID_UNKNOWN_TIME) {
417
} else if (OK != mPlayer->seekTo(
timeMsec
)) {
android_GenericPlayer.cpp
167
void GenericPlayer::seek(int64_t
timeMsec
) {
168
SL_LOGV("GenericPlayer::seek %lld",
timeMsec
);
169
if (
timeMsec
< 0 &&
timeMsec
!= ANDROID_UNKNOWN_TIME) {
170
SL_LOGE("GenericPlayer::seek error, can't seek to negative time %lldms",
timeMsec
);
174
msg->setInt64(WHATPARAM_SEEK_SEEKTIME_MS,
timeMsec
);
android_AudioSfDecoder.cpp
384
int64_t
timeMsec
;
385
CHECK(msg->findInt64(WHATPARAM_SEEK_SEEKTIME_MS, &
timeMsec
));
389
mSeekTimeMsec =
timeMsec
;
android_GenericPlayer.h
73
//
timeMsec
must be >= 0 or == ANDROID_UNKNOWN_TIME (used by StreamPlayer after discontinuity)
74
void seek(int64_t
timeMsec
);
Completed in 45 milliseconds