Searched refs:kMillisPerSecond (Results 1 – 6 of 6) sorted by relevance
53 static const int kMillisPerSecond = 1000; variable253 millis / kMillisPerSecond, in MillisecondsToDuration()254 (millis % kMillisPerSecond) * kNanosPerMillisecond); in MillisecondsToDuration()279 return duration.seconds() * kMillisPerSecond + in DurationToMilliseconds()308 millis / kMillisPerSecond, in MillisecondsToTimestamp()309 millis % kMillisPerSecond * kNanosPerMillisecond); in MillisecondsToTimestamp()326 return timestamp.seconds() * kMillisPerSecond + in TimestampToMilliseconds()
48 constexpr int64_t kMillisPerSecond = 1000; variable53 constexpr int64_t kNanosPerSecond = kNanosPerMillisecond * kMillisPerSecond;
52 static constexpr int32_t kMillisPerSecond = 1000; variable391 int32_t maxLatencyFrames = getSampleRate() * kMaxLatencyMillis / kMillisPerSecond; in PulseLatencyAnalyzer()393 / (kFramesPerEncodedBit * kMillisPerSecond); in PulseLatencyAnalyzer()474 double latencyMillis = kMillisPerSecond * (double) mLatencyReport.latencyInFrames in analyze()
108 (kHighLatencyBufferSizeMillis * sampleRate) / kMillisPerSecond; in configureBufferSizes()362 int64_t framesProcessed = millis64 * getSampleRate() / kMillisPerSecond; in getFramesProcessedByServer()
151 static_cast<SLuint32>(mSampleRate * kMillisPerSecond), // milliSamplesPerSec in open()414 int64_t millisWritten = framesRead * kMillisPerSecond / getSampleRate(); in setFramesRead()
108 static_cast<SLuint32>(mSampleRate * kMillisPerSecond), // milliSamplesPerSec in open()