diff options
Diffstat (limited to 'Alc/backends/sndio.cpp')
-rw-r--r-- | Alc/backends/sndio.cpp | 4 |
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; }; |