From 84f0f74d0794b38d1b1bb0021090d50f2648e0ce Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 22 Nov 2018 12:53:16 -0800 Subject: Use standard types for the device clock times --- OpenAL32/Include/alMain.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenAL32') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 744e3609..036d4ec3 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -19,6 +19,7 @@ #include #include #include +#include #include "AL/al.h" #include "AL/alc.h" @@ -690,9 +691,9 @@ struct ALCdevice_struct { // Device flags ALuint Flags{0u}; - ALuint64 ClockBase{0u}; ALuint SamplesDone{0u}; - ALuint FixedLatency{0u}; + std::chrono::nanoseconds ClockBase{0}; + std::chrono::nanoseconds FixedLatency{0}; /* Temp storage used for mixer processing. */ alignas(16) ALfloat TempBuffer[4][BUFFERSIZE]; -- cgit v1.2.3