summaryrefslogtreecommitdiffstats
path: root/src/audio_core/out
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-10-13 02:26:04 +0200
committerLiam <byteslice@airmail.cc>2022-10-13 02:29:29 +0200
commita9ace6856de57f1124daaa77aacd6f36a64c68f7 (patch)
treeacf105c0e57d62889e2ebf88b463a7ebf7adc0b4 /src/audio_core/out
parentMerge pull request #9027 from yuzu-emu/revert-8987-another-name-for-reinforcement-steel (diff)
downloadyuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.tar
yuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.tar.gz
yuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.tar.bz2
yuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.tar.lz
yuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.tar.xz
yuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.tar.zst
yuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.zip
Diffstat (limited to 'src/audio_core/out')
-rw-r--r--src/audio_core/out/audio_out_system.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audio_core/out/audio_out_system.cpp b/src/audio_core/out/audio_out_system.cpp
index 8b907590a..48a801923 100644
--- a/src/audio_core/out/audio_out_system.cpp
+++ b/src/audio_core/out/audio_out_system.cpp
@@ -24,7 +24,7 @@ System::~System() {
void System::Finalize() {
Stop();
session->Finalize();
- buffer_event->GetWritableEvent().Signal();
+ buffer_event->Signal();
}
std::string_view System::GetDefaultOutputDeviceName() const {
@@ -141,7 +141,7 @@ void System::ReleaseBuffers() {
bool signal{buffers.ReleaseBuffers(system.CoreTiming(), *session)};
if (signal) {
// Signal if any buffer was released, or if none are registered, we need more.
- buffer_event->GetWritableEvent().Signal();
+ buffer_event->Signal();
}
}
@@ -158,7 +158,7 @@ bool System::FlushAudioOutBuffers() {
buffers.FlushBuffers(buffers_released);
if (buffers_released > 0) {
- buffer_event->GetWritableEvent().Signal();
+ buffer_event->Signal();
}
return true;
}