Searched refs:SEC_TO_NSEC (Results 1 – 10 of 10) sorted by relevance
109 time->tvNSec += (lastBufFrames * SEC_TO_NSEC) / ((int64_t)sampleRate); in TimeToAudioTimeStamp()110 if (time->tvNSec >= SEC_TO_NSEC) { in TimeToAudioTimeStamp()112 time->tvNSec -= SEC_TO_NSEC; in TimeToAudioTimeStamp()
506 … (lastBufFrames * SEC_TO_NSEC) / ((int64_t)render->renderParam.frameRenderMode.attrs.sampleRate); in AudioRenderGetMmapPosition()
141 time->tvNSec += (lastBufFrames * SEC_TO_NSEC) / ((int64_t)sampleRate); in TimeToAudioTimeStamp()142 if (time->tvNSec >= SEC_TO_NSEC) { in TimeToAudioTimeStamp()144 time->tvNSec -= SEC_TO_NSEC; in TimeToAudioTimeStamp()
925 …(int64_t)((lastBufFrames * SEC_TO_NSEC) / capture->captureParam.frameCaptureMode.attrs.sampleRate); in AudioCaptureGetMmapPosition()
1094 … (int64_t)((lastBufFrames * SEC_TO_NSEC) / render->renderParam.frameRenderMode.attrs.sampleRate); in AudioRenderGetMmapPosition()
119 time->tvNSec += (lastBufFrames * SEC_TO_NSEC) / ((int64_t)sampleRate); in TimeToAudioTimeStamp()120 if (time->tvNSec >= SEC_TO_NSEC) { in TimeToAudioTimeStamp()122 time->tvNSec -= SEC_TO_NSEC; in TimeToAudioTimeStamp()
75 constexpr uint64_t SEC_TO_NSEC = 1000 * 1000 * 1000; in WaitNextVBlank() local89 …return static_cast<uint64_t>(vblank.reply.tval_sec * SEC_TO_NSEC + vblank.reply.tval_usec * USEC_T… in WaitNextVBlank()
48 #define SEC_TO_NSEC 1000000000 macro