Searched refs:HST_MSECOND (Results 1 – 10 of 10) sorted by relevance
26 #define HST_MSECOND ((int64_t)1000 * HST_USECOND) macro27 #define HST_SECOND ((int64_t)1000 * HST_MSECOND)56 return hTime / HST_MSECOND; in HstTime2Ms()61 if (INT64_MAX / HST_MSECOND < ms || INT64_MIN / HST_MSECOND > ms) { // overflow in Ms2HstTime()64 hTime = ms * HST_MSECOND; in Ms2HstTime()
28 constexpr int HST_MSECOND = ((int64_t)1000 * HST_USECOND); variable29 constexpr int HST_SECOND = ((int64_t)1000 * HST_MSECOND);67 return hTime / HST_MSECOND; in HstTime2Ms()72 if (INT64_MAX / HST_MSECOND < ms || INT64_MIN / HST_MSECOND > ms) { // overflow in Ms2HstTime()75 hTime = ms * HST_MSECOND; in Ms2HstTime()
52 int64_t startTimeDiffThreshold_ {5 * HST_MSECOND};53 int64_t ptsDiffThreshold_ {10 * HST_MSECOND};
85 if (std::abs(delta) > HST_MSECOND) { in CorrectDuration()
34 constexpr int REPORT_DURATION = 20 * HST_MSECOND; // 20 ms35 constexpr int WAIT_PREROLLED_TIMEOUT = 80 * HST_MSECOND; // 80ms
658 return HST_MSECOND * size / format / sampleRate_ / audioChannelCount_; in CalcBufferDuration()700 int64_t pendingUs = (writtenSamples - numFramesPlayed) * HST_MSECOND/ sampleRate_; in getPendingAudioPlayoutDurationUs()720 return (int64_t)(static_cast<int32_t>(numFrames) * HST_MSECOND / sampleRate); in getDurationUsPlayedAtSampleRate()
71 static const int64_t kMaxAllowedAudioSinkDelayUs = 1500 * HST_MSECOND;
347 nanoSec = 100 * HST_MSECOND; // 100ms in GetLatency()
517 nanoSec = 10 * HST_MSECOND; // 10 ms in GetLatency()
225 …tTime = (static_cast<uint64_t>(currentDemuxerPos_ - mp3DemuxerAttr_.id3v2Size) * 8 * HST_MSECOND) / in GetCurrentPositionTimeS()