2018-01-14 18:29:11 -08:00
|
|
|
// Copyright 2018 yuzu emulator team
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2018-07-31 16:59:42 -07: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-21 19:03:36 -08:00
|
|
|
#include "core/hle/service/audio/audin_u.h"
|
2018-01-14 18:29:11 -08:00
|
|
|
#include "core/hle/service/audio/audio.h"
|
2018-07-31 16:59:42 -07:00
|
|
|
#include "core/hle/service/audio/audout_a.h"
|
2018-01-14 18:29:11 -08:00
|
|
|
#include "core/hle/service/audio/audout_u.h"
|
2018-07-31 16:59:42 -07:00
|
|
|
#include "core/hle/service/audio/audrec_a.h"
|
2018-01-21 19:03:36 -08:00
|
|
|
#include "core/hle/service/audio/audrec_u.h"
|
2018-07-31 16:59:42 -07:00
|
|
|
#include "core/hle/service/audio/audren_a.h"
|
2018-01-21 19:03:36 -08:00
|
|
|
#include "core/hle/service/audio/audren_u.h"
|
|
|
|
#include "core/hle/service/audio/codecctl.h"
|
2018-06-25 06:44:17 -07:00
|
|
|
#include "core/hle/service/audio/hwopus.h"
|
2018-01-14 18:29:11 -08:00
|
|
|
|
2018-04-19 18:41:44 -07:00
|
|
|
namespace Service::Audio {
|
2018-01-14 18:29:11 -08:00
|
|
|
|
|
|
|
void InstallInterfaces(SM::ServiceManager& service_manager) {
|
2018-07-31 16:59:42 -07:00
|
|
|
std::make_shared<AudCtl>()->InstallAsService(service_manager);
|
|
|
|
std::make_shared<AudOutA>()->InstallAsService(service_manager);
|
2018-01-14 18:29:11 -08:00
|
|
|
std::make_shared<AudOutU>()->InstallAsService(service_manager);
|
2018-07-31 16:59:42 -07:00
|
|
|
std::make_shared<AudInA>()->InstallAsService(service_manager);
|
2018-01-21 19:03:36 -08:00
|
|
|
std::make_shared<AudInU>()->InstallAsService(service_manager);
|
2018-07-31 16:59:42 -07:00
|
|
|
std::make_shared<AudRecA>()->InstallAsService(service_manager);
|
2018-01-21 19:03:36 -08:00
|
|
|
std::make_shared<AudRecU>()->InstallAsService(service_manager);
|
2018-07-31 16:59:42 -07:00
|
|
|
std::make_shared<AudRenA>()->InstallAsService(service_manager);
|
2018-01-21 19:03:36 -08:00
|
|
|
std::make_shared<AudRenU>()->InstallAsService(service_manager);
|
|
|
|
std::make_shared<CodecCtl>()->InstallAsService(service_manager);
|
2018-06-25 06:44:17 -07:00
|
|
|
std::make_shared<HwOpus>()->InstallAsService(service_manager);
|
2018-07-31 16:59:42 -07:00
|
|
|
|
|
|
|
std::make_shared<AudDbg>("audin:d")->InstallAsService(service_manager);
|
|
|
|
std::make_shared<AudDbg>("audout:d")->InstallAsService(service_manager);
|
|
|
|
std::make_shared<AudDbg>("audrec:d")->InstallAsService(service_manager);
|
|
|
|
std::make_shared<AudDbg>("audren:d")->InstallAsService(service_manager);
|
2018-01-14 18:29:11 -08:00
|
|
|
}
|
|
|
|
|
2018-04-19 18:41:44 -07:00
|
|
|
} // namespace Service::Audio
|