aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/wave.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-02-11 12:16:58 -0800
committerChris Robinson <[email protected]>2019-02-11 12:16:58 -0800
commit69f6f561607a3c1c7d6947cb6ba98682df807051 (patch)
tree9a0edda3711f82913ccd5c9b8da1eb20b873f651 /Alc/backends/wave.cpp
parent2fc8461c14074c7f19d6c226e1beaf55aed441a0 (diff)
Avoid using internal AL[u]int64 types
Diffstat (limited to 'Alc/backends/wave.cpp')
-rw-r--r--Alc/backends/wave.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/wave.cpp b/Alc/backends/wave.cpp
index aa1aab1f..cd6c6d5c 100644
--- a/Alc/backends/wave.cpp
+++ b/Alc/backends/wave.cpp
@@ -117,7 +117,7 @@ int WaveBackend::mixerProc()
const ALsizei frameSize{mDevice->frameSizeFromFmt()};
- ALint64 done{0};
+ int64_t done{0};
auto start = std::chrono::steady_clock::now();
while(!mKillNow.load(std::memory_order_acquire) &&
mDevice->Connected.load(std::memory_order_acquire))
@@ -125,7 +125,7 @@ int WaveBackend::mixerProc()
auto now = std::chrono::steady_clock::now();
/* This converts from nanoseconds to nanosamples, then to samples. */
- ALint64 avail{std::chrono::duration_cast<seconds>((now-start) *
+ int64_t avail{std::chrono::duration_cast<seconds>((now-start) *
mDevice->Frequency).count()};
if(avail-done < mDevice->UpdateSize)
{