Searched refs:kOneSecInUs (Results 1 – 1 of 1) sorted by relevance
28 constexpr int64_t kOneSecInUs = 1'000'000; variable42 return deltaSec * kOneSecInUs + deltaNSec / kOneUSecInNs; in timespecDelta()70 int64_t durationUs = numFrames * kOneSecInUs / mConfig.sampleRateHz; in writeRingBuffer()104 status.position = {playedUs * mConfig.sampleRateHz / kOneSecInUs, timeSpec}; in writeRingBuffer()113 mMaxBufferUs = frameSize * frameCount * 10 * kOneSecInUs / in prepareForWritingImpl()