From 241ddf76d4e3b7b0efd771bbc8270e1da2a7ca72 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 1 Aug 2010 16:31:00 -0700 Subject: Enforce the device time to be a multiple of the reported resolution --- Alc/ALc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Alc/ALc.c b/Alc/ALc.c index 66fb6890..257c2b0d 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -1364,6 +1364,7 @@ ALC_API ALCvoid ALC_APIENTRY alcGetIntegerv(ALCdevice *device,ALCenum param,ALsi else { ALuint64 t = ALCdevice_GetTime(device); + t -= t%device->TimeRes; data[0] = t&0xffffffff; data[1] = t>>32; } -- cgit v1.2.3