aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/sndio.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-26 14:48:26 -0800
committerChris Robinson <[email protected]>2018-11-26 14:48:26 -0800
commit053599b2435844eddcc084414ab9dd1c5ad7ec23 (patch)
treedd041ee64b6d056708ad500f5e6d5b0d144cecc7 /Alc/backends/sndio.cpp
parenta6923790fac739f0b98db6c06bc93543b9707556 (diff)
Avoid using the ATOMIC() macro
Diffstat (limited to 'Alc/backends/sndio.cpp')
-rw-r--r--Alc/backends/sndio.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/sndio.cpp b/Alc/backends/sndio.cpp
index de5f74e4..5e7b48af 100644
--- a/Alc/backends/sndio.cpp
+++ b/Alc/backends/sndio.cpp
@@ -43,7 +43,7 @@ struct SndioPlayback final : public ALCbackend {
ALvoid *mix_data{nullptr};
ALsizei data_size{0};
- ATOMIC(int) killNow{AL_TRUE};
+ std::atomic<ALenum> killNow{AL_TRUE};
althrd_t thread;
};
@@ -280,7 +280,7 @@ struct SndioCapture final : public ALCbackend {
ll_ringbuffer_t *ring{nullptr};
- ATOMIC(int) killNow{AL_TRUE};
+ std::atomic<ALenum> killNow{AL_TRUE};
althrd_t thread;
};