Home
last modified time | relevance | path

Searched refs:durationMsec (Results 1 – 3 of 3) sorted by relevance

/frameworks/wilhelm/src/android/
Dandroid_GenericMediaPlayer.cpp499 int durationMsec, positionMsec = -1; in onBufferingUpdate() local
501 && (OK == mPlayer->getDuration(&durationMsec)) in onBufferingUpdate()
503 if ((-1 != durationMsec) && (-1 != positionMsec)) { in onBufferingUpdate()
505 int64_t bufferedDurationMsec = (durationMsec * fillLevel / 100) - positionMsec; in onBufferingUpdate()
Dandroid_AudioSfDecoder.cpp278 int32_t durationMsec; in onPrepare() local
287 durationMsec = durationUs / 1000; in onPrepare()
291 durationMsec = ANDROID_UNKNOWN_TIME; in onPrepare()
297 mDurationMsec = durationMsec; in onPrepare()
DAudioPlayer_to_android.cpp2270 int32_t durationMsec = ANDROID_UNKNOWN_TIME; in android_audioPlayer_getDuration() local
2272 ap->mAPlayer->getDurationMsec(&durationMsec); in android_audioPlayer_getDuration()
2274 *pDurMsec = durationMsec == ANDROID_UNKNOWN_TIME ? SL_TIME_UNKNOWN : durationMsec; in android_audioPlayer_getDuration()