2018-01-15 02:29:11 +00:00
|
|
|
// Copyright 2018 yuzu emulator team
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2018-07-31 23:59:42 +00:00
|
|
|
#include "core/hle/service/audio/audctl.h"
|
|
|
|
#include "core/hle/service/audio/auddbg.h"
|
|
|
|
#include "core/hle/service/audio/audin_a.h"
|
2018-01-22 03:03:36 +00:00
|
|
|
#include "core/hle/service/audio/audin_u.h"
|
2018-01-15 02:29:11 +00:00
|
|
|
#include "core/hle/service/audio/audio.h"
|
2018-07-31 23:59:42 +00:00
|
|
|
#include "core/hle/service/audio/audout_a.h"
|
2018-01-15 02:29:11 +00:00
|
|
|
#include "core/hle/service/audio/audout_u.h"
|
2018-07-31 23:59:42 +00:00
|
|
|
#include "core/hle/service/audio/audrec_a.h"
|
2018-01-22 03:03:36 +00:00
|
|
|
#include "core/hle/service/audio/audrec_u.h"
|
2018-07-31 23:59:42 +00:00
|
|
|
#include "core/hle/service/audio/audren_a.h"
|
2018-01-22 03:03:36 +00:00
|
|
|
#include "core/hle/service/audio/audren_u.h"
|
|
|
|
#include "core/hle/service/audio/codecctl.h"
|
2018-06-25 13:44:17 +00:00
|
|
|
#include "core/hle/service/audio/hwopus.h"
|
2018-09-12 01:45:20 +00:00
|
|
|
#include "core/hle/service/service.h"
|
2018-01-15 02:29:11 +00:00
|
|
|
|
2018-04-20 01:41:44 +00:00
|
|
|
namespace Service::Audio {
|
2018-01-15 02:29:11 +00:00
|
|
|
|
2019-07-19 07:22:57 +00:00
|
|
|
void InstallInterfaces(SM::ServiceManager& service_manager, Core::System& system) {
|
2020-11-26 20:19:08 +00:00
|
|
|
std::make_shared<AudCtl>(system)->InstallAsService(service_manager);
|
|
|
|
std::make_shared<AudOutA>(system)->InstallAsService(service_manager);
|
2019-07-19 07:22:57 +00:00
|
|
|
std::make_shared<AudOutU>(system)->InstallAsService(service_manager);
|
2020-11-26 20:19:08 +00:00
|
|
|
std::make_shared<AudInA>(system)->InstallAsService(service_manager);
|
|
|
|
std::make_shared<AudInU>(system)->InstallAsService(service_manager);
|
|
|
|
std::make_shared<AudRecA>(system)->InstallAsService(service_manager);
|
|
|
|
std::make_shared<AudRecU>(system)->InstallAsService(service_manager);
|
|
|
|
std::make_shared<AudRenA>(system)->InstallAsService(service_manager);
|
2019-07-19 07:22:57 +00:00
|
|
|
std::make_shared<AudRenU>(system)->InstallAsService(service_manager);
|
2020-11-26 20:19:08 +00:00
|
|
|
std::make_shared<CodecCtl>(system)->InstallAsService(service_manager);
|
|
|
|
std::make_shared<HwOpus>(system)->InstallAsService(service_manager);
|
2018-07-31 23:59:42 +00:00
|
|
|
|
2020-11-26 20:19:08 +00:00
|
|
|
std::make_shared<AudDbg>(system, "audin:d")->InstallAsService(service_manager);
|
|
|
|
std::make_shared<AudDbg>(system, "audout:d")->InstallAsService(service_manager);
|
|
|
|
std::make_shared<AudDbg>(system, "audrec:d")->InstallAsService(service_manager);
|
|
|
|
std::make_shared<AudDbg>(system, "audren:d")->InstallAsService(service_manager);
|
2018-01-15 02:29:11 +00:00
|
|
|
}
|
|
|
|
|
2018-04-20 01:41:44 +00:00
|
|
|
} // namespace Service::Audio
|