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.cpp282 int32_t durationMsec; in onPrepare() local
291 durationMsec = durationUs / 1000; in onPrepare()
295 durationMsec = ANDROID_UNKNOWN_TIME; in onPrepare()
301 mDurationMsec = durationMsec; in onPrepare()
DAudioPlayer_to_android.cpp2356 int32_t durationMsec = ANDROID_UNKNOWN_TIME; in android_audioPlayer_getDuration() local
2358 ap->mAPlayer->getDurationMsec(&durationMsec); in android_audioPlayer_getDuration()
2360 *pDurMsec = durationMsec == ANDROID_UNKNOWN_TIME ? SL_TIME_UNKNOWN : durationMsec; in android_audioPlayer_getDuration()