aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/opensl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/opensl.cpp')
-rw-r--r--Alc/backends/opensl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/opensl.cpp b/Alc/backends/opensl.cpp
index 8cea36f3..e8d4a862 100644
--- a/Alc/backends/opensl.cpp
+++ b/Alc/backends/opensl.cpp
@@ -632,7 +632,7 @@ static void ALCopenslPlayback_stop(ALCopenslPlayback *self)
{
SLAndroidSimpleBufferQueueState state;
do {
- althrd_yield();
+ std::this_thread::yield();
result = VCALL(bufferQueue,GetState)(&state);
} while(SL_RESULT_SUCCESS == result && state.count > 0);
PRINTERR(result, "bufferQueue->GetState");