summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/audio/audio.cpp
blob: ed36e3448195b651955845695d4a405119fbaa2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#include "core/hle/service/audio/audctl.h"
#include "core/hle/service/audio/audin_u.h"
#include "core/hle/service/audio/audio.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/service.h"

namespace Service::Audio {

void InstallInterfaces(SM::ServiceManager& service_manager, Core::System& system) {
    std::make_shared<AudCtl>(system)->InstallAsService(service_manager);
    std::make_shared<AudOutU>(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<AudRenU>(system)->InstallAsService(service_manager);
    std::make_shared<HwOpus>(system)->InstallAsService(service_manager);
}

} // namespace Service::Audio