summaryrefslogtreecommitdiffstats
path: root/src/audio_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-06-30 18:54:00 +0200
committerGitHub <noreply@github.com>2019-06-30 18:54:00 +0200
commitd992909636269cde90cf6cb3749ccffcff9a6c56 (patch)
tree9dd14057dab85c1ba171df75f2112697cdc85cb6 /src/audio_core
parentMerge pull request #2653 from FearlessTobi/revert-2474-patch-1 (diff)
parentCore_Timing: Make core_timing threadsafe by default. (diff)
downloadyuzu-d992909636269cde90cf6cb3749ccffcff9a6c56.tar
yuzu-d992909636269cde90cf6cb3749ccffcff9a6c56.tar.gz
yuzu-d992909636269cde90cf6cb3749ccffcff9a6c56.tar.bz2
yuzu-d992909636269cde90cf6cb3749ccffcff9a6c56.tar.lz
yuzu-d992909636269cde90cf6cb3749ccffcff9a6c56.tar.xz
yuzu-d992909636269cde90cf6cb3749ccffcff9a6c56.tar.zst
yuzu-d992909636269cde90cf6cb3749ccffcff9a6c56.zip
Diffstat (limited to 'src/audio_core')
-rw-r--r--src/audio_core/stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio_core/stream.cpp b/src/audio_core/stream.cpp
index 982c7af2f..6a5f53a57 100644
--- a/src/audio_core/stream.cpp
+++ b/src/audio_core/stream.cpp
@@ -105,7 +105,7 @@ void Stream::PlayNextBuffer() {
sink_stream.EnqueueSamples(GetNumChannels(), active_buffer->GetSamples());
- core_timing.ScheduleEventThreadsafe(GetBufferReleaseCycles(*active_buffer), release_event, {});
+ core_timing.ScheduleEvent(GetBufferReleaseCycles(*active_buffer), release_event, {});
}
void Stream::ReleaseActiveBuffer() {