mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
service/audio/audren_u: Correct event reset type for the system event
This is actually an auto-reset event in the audio service itself, not a manual one.
This commit is contained in:
parent
834e07d639
commit
5799404b78
|
@ -47,7 +47,7 @@ public:
|
||||||
|
|
||||||
auto& system = Core::System::GetInstance();
|
auto& system = Core::System::GetInstance();
|
||||||
system_event = Kernel::WritableEvent::CreateEventPair(
|
system_event = Kernel::WritableEvent::CreateEventPair(
|
||||||
system.Kernel(), Kernel::ResetType::Manual, "IAudioRenderer:SystemEvent");
|
system.Kernel(), Kernel::ResetType::Automatic, "IAudioRenderer:SystemEvent");
|
||||||
renderer = std::make_unique<AudioCore::AudioRenderer>(system.CoreTiming(), audren_params,
|
renderer = std::make_unique<AudioCore::AudioRenderer>(system.CoreTiming(), audren_params,
|
||||||
system_event.writable);
|
system_event.writable);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue