diff options
author | Chris Robinson <[email protected]> | 2019-02-11 12:16:58 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-02-11 12:16:58 -0800 |
commit | 69f6f561607a3c1c7d6947cb6ba98682df807051 (patch) | |
tree | 9a0edda3711f82913ccd5c9b8da1eb20b873f651 /Alc/backends/null.cpp | |
parent | 2fc8461c14074c7f19d6c226e1beaf55aed441a0 (diff) |
Avoid using internal AL[u]int64 types
Diffstat (limited to 'Alc/backends/null.cpp')
-rw-r--r-- | Alc/backends/null.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/null.cpp b/Alc/backends/null.cpp index 38ac0154..8bd84656 100644 --- a/Alc/backends/null.cpp +++ b/Alc/backends/null.cpp @@ -69,7 +69,7 @@ int NullBackend::mixerProc() SetRTPriority(); althrd_setname(MIXER_THREAD_NAME); - 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)) @@ -77,7 +77,7 @@ int NullBackend::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) * mDevice->Frequency).count()}; + int64_t avail{std::chrono::duration_cast<seconds>((now-start) * mDevice->Frequency).count()}; if(avail-done < mDevice->UpdateSize) { std::this_thread::sleep_for(restTime); |