aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/alSource.cpp')
-rw-r--r--OpenAL32/alSource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/alSource.cpp b/OpenAL32/alSource.cpp
index cc384478..7a711bfb 100644
--- a/OpenAL32/alSource.cpp
+++ b/OpenAL32/alSource.cpp
@@ -3352,9 +3352,9 @@ ALsource::ALsource(ALsizei num_sends)
queue = nullptr;
- VoiceIdx = -1;
+ PropsClean.test_and_set(std::memory_order_relaxed);
- PropsClean.test_and_set();
+ VoiceIdx = -1;
}
ALsource::~ALsource()