Lines Matching refs:durationUs
186 int64_t durationUs; in haveSufficientDataOnAllTracks() local
188 && (durationUs = mAudioTrack->getBufferedDurationUs(&err)) in haveSufficientDataOnAllTracks()
192 durationUs / 1E6); in haveSufficientDataOnAllTracks()
197 && (durationUs = mVideoTrack->getBufferedDurationUs(&err)) in haveSufficientDataOnAllTracks()
201 durationUs / 1E6); in haveSufficientDataOnAllTracks()
279 status_t NuPlayer::RTSPSource::getDuration(int64_t *durationUs) { in getDuration() argument
280 *durationUs = -1LL; in getDuration()
286 && audioDurationUs > *durationUs) { in getDuration()
287 *durationUs = audioDurationUs; in getDuration()
294 && videoDurationUs > *durationUs) { in getDuration()
295 *durationUs = videoDurationUs; in getDuration()