diff options
author | bunnei <bunneidev@gmail.com> | 2019-11-03 10:10:12 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2019-11-03 10:22:45 +0100 |
commit | b0ab803ce853739a0b8595ee95599d0fab46c78a (patch) | |
tree | 0430782a5fae74d06891dad3732db26d5dd4a189 /src/core/hle/service/audio/audren_u.cpp | |
parent | kernel: readable_event: Initialize members. (diff) | |
download | yuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.tar yuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.tar.gz yuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.tar.bz2 yuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.tar.lz yuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.tar.xz yuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.tar.zst yuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.zip |
Diffstat (limited to 'src/core/hle/service/audio/audren_u.cpp')
-rw-r--r-- | src/core/hle/service/audio/audren_u.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp index f162249ed..4ea7ade6e 100644 --- a/src/core/hle/service/audio/audren_u.cpp +++ b/src/core/hle/service/audio/audren_u.cpp @@ -47,8 +47,8 @@ public: // clang-format on RegisterHandlers(functions); - system_event = Kernel::WritableEvent::CreateEventPair( - system.Kernel(), Kernel::ResetType::Manual, "IAudioRenderer:SystemEvent"); + system_event = + Kernel::WritableEvent::CreateEventPair(system.Kernel(), "IAudioRenderer:SystemEvent"); renderer = std::make_unique<AudioCore::AudioRenderer>( system.CoreTiming(), audren_params, system_event.writable, instance_number); } @@ -180,17 +180,17 @@ public: RegisterHandlers(functions); auto& kernel = system.Kernel(); - buffer_event = Kernel::WritableEvent::CreateEventPair(kernel, Kernel::ResetType::Automatic, - "IAudioOutBufferReleasedEvent"); + buffer_event = + Kernel::WritableEvent::CreateEventPair(kernel, "IAudioOutBufferReleasedEvent"); // Should be similar to audio_output_device_switch_event audio_input_device_switch_event = Kernel::WritableEvent::CreateEventPair( - kernel, Kernel::ResetType::Automatic, "IAudioDevice:AudioInputDeviceSwitchedEvent"); + kernel, "IAudioDevice:AudioInputDeviceSwitchedEvent"); // Should only be signalled when an audio output device has been changed, example: speaker // to headset audio_output_device_switch_event = Kernel::WritableEvent::CreateEventPair( - kernel, Kernel::ResetType::Automatic, "IAudioDevice:AudioOutputDeviceSwitchedEvent"); + kernel, "IAudioDevice:AudioOutputDeviceSwitchedEvent"); } private: |