diff options
Diffstat (limited to 'src/core/hle/service/audio/audio.cpp')
-rw-r--r-- | src/core/hle/service/audio/audio.cpp | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/src/core/hle/service/audio/audio.cpp b/src/core/hle/service/audio/audio.cpp index 44af030eb..331176bf7 100644 --- a/src/core/hle/service/audio/audio.cpp +++ b/src/core/hle/service/audio/audio.cpp @@ -2,14 +2,14 @@ // SPDX-License-Identifier: GPL-2.0-or-later #include "core/core.h" -#include "core/hle/service/audio/audin_u.h" #include "core/hle/service/audio/audio.h" #include "core/hle/service/audio/audio_controller.h" -#include "core/hle/service/audio/audout_u.h" -#include "core/hle/service/audio/audrec_a.h" -#include "core/hle/service/audio/audrec_u.h" -#include "core/hle/service/audio/audren_u.h" -#include "core/hle/service/audio/hwopus.h" +#include "core/hle/service/audio/audio_in_manager.h" +#include "core/hle/service/audio/audio_out_manager.h" +#include "core/hle/service/audio/audio_renderer_manager.h" +#include "core/hle/service/audio/final_output_recorder_manager.h" +#include "core/hle/service/audio/final_output_recorder_manager_for_applet.h" +#include "core/hle/service/audio/hardware_opus_decoder_manager.h" #include "core/hle/service/server_manager.h" #include "core/hle/service/service.h" @@ -19,12 +19,16 @@ void LoopProcess(Core::System& system) { auto server_manager = std::make_unique<ServerManager>(system); server_manager->RegisterNamedService("audctl", std::make_shared<IAudioController>(system)); - server_manager->RegisterNamedService("audout:u", std::make_shared<AudOutU>(system)); - server_manager->RegisterNamedService("audin:u", std::make_shared<AudInU>(system)); - server_manager->RegisterNamedService("audrec:a", std::make_shared<AudRecA>(system)); - server_manager->RegisterNamedService("audrec:u", std::make_shared<AudRecU>(system)); - server_manager->RegisterNamedService("audren:u", std::make_shared<AudRenU>(system)); - server_manager->RegisterNamedService("hwopus", std::make_shared<HwOpus>(system)); + server_manager->RegisterNamedService("audin:u", std::make_shared<IAudioInManager>(system)); + server_manager->RegisterNamedService("audout:u", std::make_shared<IAudioOutManager>(system)); + server_manager->RegisterNamedService( + "audrec:a", std::make_shared<IFinalOutputRecorderManagerForApplet>(system)); + server_manager->RegisterNamedService("audrec:u", + std::make_shared<IFinalOutputRecorderManager>(system)); + server_manager->RegisterNamedService("audren:u", + std::make_shared<IAudioRendererManager>(system)); + server_manager->RegisterNamedService("hwopus", + std::make_shared<IHardwareOpusDecoderManager>(system)); ServerManager::RunServer(std::move(server_manager)); } |