diff options
author | bunnei <bunneidev@gmail.com> | 2023-06-06 06:47:36 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-06 06:47:36 +0200 |
commit | 069d7e6be4faa6d10f7e2dd3765d93f925aa2f25 (patch) | |
tree | 4b350aedb049a407e56e5e24d28ebc7d3f7f7a5f | |
parent | Merge pull request #10508 from yuzu-emu/lime (diff) | |
download | yuzu-069d7e6be4faa6d10f7e2dd3765d93f925aa2f25.tar yuzu-069d7e6be4faa6d10f7e2dd3765d93f925aa2f25.tar.gz yuzu-069d7e6be4faa6d10f7e2dd3765d93f925aa2f25.tar.bz2 yuzu-069d7e6be4faa6d10f7e2dd3765d93f925aa2f25.tar.lz yuzu-069d7e6be4faa6d10f7e2dd3765d93f925aa2f25.tar.xz yuzu-069d7e6be4faa6d10f7e2dd3765d93f925aa2f25.tar.zst yuzu-069d7e6be4faa6d10f7e2dd3765d93f925aa2f25.zip |
-rw-r--r-- | src/audio_core/sink/sink_stream.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/audio_core/sink/sink_stream.cpp b/src/audio_core/sink/sink_stream.cpp index 5d58b950c..f44fedfd5 100644 --- a/src/audio_core/sink/sink_stream.cpp +++ b/src/audio_core/sink/sink_stream.cpp @@ -273,13 +273,10 @@ void SinkStream::WaitFreeSpace(std::stop_token stop_token) { std::unique_lock lk{release_mutex}; release_cv.wait_for(lk, std::chrono::milliseconds(5), [this]() { return queued_buffers < max_queue_size; }); -#ifndef ANDROID - // This wait can cause a problematic shutdown hang on Android. if (queued_buffers > max_queue_size + 3) { Common::CondvarWait(release_cv, lk, stop_token, [this] { return queued_buffers < max_queue_size; }); } -#endif } } // namespace AudioCore::Sink |