diff options
author | Chris Robinson <[email protected]> | 2018-11-26 18:07:52 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-26 18:07:52 -0800 |
commit | 461ef4196ed78a2803325fbda45a035ed5e6cf71 (patch) | |
tree | bf92d6f96cca8e296e88766d3213950a1f797635 /Alc/backends/wave.cpp | |
parent | 1a9edd4e35ff15bef8662313a9982f62732f5055 (diff) |
Avoid using ATOMIC_LOAD on ALCdevice::Connected
Diffstat (limited to 'Alc/backends/wave.cpp')
-rw-r--r-- | Alc/backends/wave.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/wave.cpp b/Alc/backends/wave.cpp index 2475aa9f..25245a1b 100644 --- a/Alc/backends/wave.cpp +++ b/Alc/backends/wave.cpp @@ -135,7 +135,7 @@ int ALCwaveBackend_mixerProc(ALCwaveBackend *self) ALint64 done{0}; auto start = std::chrono::steady_clock::now(); while(!self->mKillNow.load(std::memory_order_acquire) && - ATOMIC_LOAD(&device->Connected, almemory_order_acquire)) + device->Connected.load(std::memory_order_acquire)) { auto now = std::chrono::steady_clock::now(); |