diff options
author | Chris Robinson <[email protected]> | 2018-11-22 12:53:16 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-22 12:53:16 -0800 |
commit | 84f0f74d0794b38d1b1bb0021090d50f2648e0ce (patch) | |
tree | 689e2deb49f478901eadccd935647770c5e306cd /OpenAL32 | |
parent | bb9d8db73c3536ccea5fbb928ae27810f7f63e0e (diff) |
Use standard types for the device clock times
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 <array> #include <vector> #include <string> +#include <chrono> #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]; |