aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h5
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];