diff options
author | Liam <byteslice@airmail.cc> | 2024-02-21 04:18:57 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-21 04:51:39 +0100 |
commit | 2e4a6b7f92fbf73eb5173c9bda5c9b5b61f5458c (patch) | |
tree | f7a70d1218a3e52da4f4587ee9f1b8ce0dfd2c99 /src/core | |
parent | audio: rewrite IHardwareOpusDecoder (diff) | |
download | yuzu-2e4a6b7f92fbf73eb5173c9bda5c9b5b61f5458c.tar yuzu-2e4a6b7f92fbf73eb5173c9bda5c9b5b61f5458c.tar.gz yuzu-2e4a6b7f92fbf73eb5173c9bda5c9b5b61f5458c.tar.bz2 yuzu-2e4a6b7f92fbf73eb5173c9bda5c9b5b61f5458c.tar.lz yuzu-2e4a6b7f92fbf73eb5173c9bda5c9b5b61f5458c.tar.xz yuzu-2e4a6b7f92fbf73eb5173c9bda5c9b5b61f5458c.tar.zst yuzu-2e4a6b7f92fbf73eb5173c9bda5c9b5b61f5458c.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/service/audio/audio_in.cpp | 5 | ||||
-rw-r--r-- | src/core/hle/service/audio/audio_in_manager.cpp | 4 | ||||
-rw-r--r-- | src/core/hle/service/audio/audio_renderer.cpp | 4 |
3 files changed, 7 insertions, 6 deletions
diff --git a/src/core/hle/service/audio/audio_in.cpp b/src/core/hle/service/audio/audio_in.cpp index 9240cc336..416803acc 100644 --- a/src/core/hle/service/audio/audio_in.cpp +++ b/src/core/hle/service/audio/audio_in.cpp @@ -12,8 +12,9 @@ IAudioIn::IAudioIn(Core::System& system_, Manager& manager, size_t session_id, const std::string& device_name, const AudioInParameter& in_params, Kernel::KProcess* handle, u64 applet_resource_user_id) : ServiceFramework{system_, "IAudioIn"}, process{handle}, service_context{system_, "IAudioIn"}, - event{service_context.CreateEvent("AudioInEvent")}, - impl{std::make_shared<In>(system_, manager, event, session_id)} { + event{service_context.CreateEvent("AudioInEvent")}, impl{std::make_shared<In>(system_, + manager, event, + session_id)} { // clang-format off static const FunctionInfo functions[] = { {0, D<&IAudioIn::GetAudioInState>, "GetAudioInState"}, diff --git a/src/core/hle/service/audio/audio_in_manager.cpp b/src/core/hle/service/audio/audio_in_manager.cpp index d55da17c8..2675a5773 100644 --- a/src/core/hle/service/audio/audio_in_manager.cpp +++ b/src/core/hle/service/audio/audio_in_manager.cpp @@ -10,8 +10,8 @@ namespace Service::Audio { using namespace AudioCore::AudioIn; IAudioInManager::IAudioInManager(Core::System& system_) - : ServiceFramework{system_, "audin:u"}, - impl{std::make_unique<AudioCore::AudioIn::Manager>(system_)} { + : ServiceFramework{system_, "audin:u"}, impl{std::make_unique<AudioCore::AudioIn::Manager>( + system_)} { // clang-format off static const FunctionInfo functions[] = { {0, D<&IAudioInManager::ListAudioIns>, "ListAudioIns"}, diff --git a/src/core/hle/service/audio/audio_renderer.cpp b/src/core/hle/service/audio/audio_renderer.cpp index b78660cea..fc4aad233 100644 --- a/src/core/hle/service/audio/audio_renderer.cpp +++ b/src/core/hle/service/audio/audio_renderer.cpp @@ -14,8 +14,8 @@ IAudioRenderer::IAudioRenderer(Core::System& system_, Manager& manager_, s32 session_id) : ServiceFramework{system_, "IAudioRenderer"}, service_context{system_, "IAudioRenderer"}, rendered_event{service_context.CreateEvent("IAudioRendererEvent")}, manager{manager_}, - impl{std::make_unique<Renderer>(system_, manager, rendered_event)}, - process_handle{process_handle_} { + impl{std::make_unique<Renderer>(system_, manager, rendered_event)}, process_handle{ + process_handle_} { // clang-format off static const FunctionInfo functions[] = { {0, D<&IAudioRenderer::GetSampleRate>, "GetSampleRate"}, |