aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends
diff options
context:
space:
mode:
authorIamSN0WBALL <[email protected]>2023-01-12 11:55:04 +0200
committerGitHub <[email protected]>2023-01-12 01:55:04 -0800
commita55c4b1e0d0eb295074e674cb3509f8254a63015 (patch)
treea7e09a58fa0a5648e39ad011c991274f09871ff9 /alc/backends
parent155d27de3aaed9fcdcc8d72a934d81ce8542410b (diff)
Fix RingBuffer crash in OpenSL backend (#807)
Co-authored-by: IamSN0WBALL <[email protected]>
Diffstat (limited to 'alc/backends')
-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 b3c90880..f46438ce 100644
--- a/alc/backends/opensl.cpp
+++ b/alc/backends/opensl.cpp
@@ -619,7 +619,7 @@ void OpenSLPlayback::stop()
} while(SL_RESULT_SUCCESS == result && state.count > 0);
PRINTERR(result, "bufferQueue->GetState");
- mRing.reset();
+ mRing->reset();
}
}