diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2022-10-14 17:30:38 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-14 17:30:38 -0400 |
| commit | ae6dd1143c0549fe5bcbd7326c69cbcb6b5a4433 (patch) | |
| tree | 4b04503746cd43789b1a812756974e38868be4cc /src/audio_core/out/audio_out_system.cpp | |
| parent | 1d3810971453df275ccd0fcdfb9c480a070c30c3 (diff) | |
| parent | a9ace6856de57f1124daaa77aacd6f36a64c68f7 (diff) | |
Merge pull request #9061 from liamwhite/writable-event
kernel: remove KWritableEvent
Diffstat (limited to 'src/audio_core/out/audio_out_system.cpp')
| -rw-r--r-- | src/audio_core/out/audio_out_system.cpp | 6 |
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; } |
