summaryrefslogtreecommitdiff
path: root/src/core/hle/service/audio
diff options
context:
space:
mode:
authorGravatar Liam2023-02-14 12:38:21 -0500
committerGravatar Liam2023-02-14 12:38:21 -0500
commit79fbdfca170a8eec71f8e037df9132cfc6fc5f44 (patch)
treec4600d28974e8e75596570511d1767731fec3ab3 /src/core/hle/service/audio
parentMerge pull request #9795 from Kelebek1/biquad_fix (diff)
downloadyuzu-79fbdfca170a8eec71f8e037df9132cfc6fc5f44.tar.gz
yuzu-79fbdfca170a8eec71f8e037df9132cfc6fc5f44.tar.xz
yuzu-79fbdfca170a8eec71f8e037df9132cfc6fc5f44.zip
service: remove deleted services
Diffstat (limited to 'src/core/hle/service/audio')
-rw-r--r--src/core/hle/service/audio/auddbg.cpp21
-rw-r--r--src/core/hle/service/audio/auddbg.h20
-rw-r--r--src/core/hle/service/audio/audin_a.cpp23
-rw-r--r--src/core/hle/service/audio/audin_a.h20
-rw-r--r--src/core/hle/service/audio/audio.cpp14
-rw-r--r--src/core/hle/service/audio/audout_a.cpp25
-rw-r--r--src/core/hle/service/audio/audout_a.h20
-rw-r--r--src/core/hle/service/audio/audren_a.cpp27
-rw-r--r--src/core/hle/service/audio/audren_a.h20
-rw-r--r--src/core/hle/service/audio/codecctl.cpp29
-rw-r--r--src/core/hle/service/audio/codecctl.h20
11 files changed, 0 insertions, 239 deletions
diff --git a/src/core/hle/service/audio/auddbg.cpp b/src/core/hle/service/audio/auddbg.cpp
deleted file mode 100644
index 5541af300..000000000
--- a/src/core/hle/service/audio/auddbg.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
1// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#include "core/hle/service/audio/auddbg.h"
5
6namespace Service::Audio {
7
8AudDbg::AudDbg(Core::System& system_, const char* name) : ServiceFramework{system_, name} {
9 // clang-format off
10 static const FunctionInfo functions[] = {
11 {0, nullptr, "RequestSuspendForDebug"},
12 {1, nullptr, "RequestResumeForDebug"},
13 };
14 // clang-format on
15
16 RegisterHandlers(functions);
17}
18
19AudDbg::~AudDbg() = default;
20
21} // namespace Service::Audio
diff --git a/src/core/hle/service/audio/auddbg.h b/src/core/hle/service/audio/auddbg.h
deleted file mode 100644
index 8f26be5dc..000000000
--- a/src/core/hle/service/audio/auddbg.h
+++ /dev/null
@@ -1,20 +0,0 @@
1// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#pragma once
5
6#include "core/hle/service/service.h"
7
8namespace Core {
9class System;
10}
11
12namespace Service::Audio {
13
14class AudDbg final : public ServiceFramework<AudDbg> {
15public:
16 explicit AudDbg(Core::System& system_, const char* name);
17 ~AudDbg() override;
18};
19
20} // namespace Service::Audio
diff --git a/src/core/hle/service/audio/audin_a.cpp b/src/core/hle/service/audio/audin_a.cpp
deleted file mode 100644
index 98f4a6048..000000000
--- a/src/core/hle/service/audio/audin_a.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
1// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#include "core/hle/service/audio/audin_a.h"
5
6namespace Service::Audio {
7
8AudInA::AudInA(Core::System& system_) : ServiceFramework{system_, "audin:a"} {
9 // clang-format off
10 static const FunctionInfo functions[] = {
11 {0, nullptr, "RequestSuspend"},
12 {1, nullptr, "RequestResume"},
13 {2, nullptr, "GetProcessMasterVolume"},
14 {3, nullptr, "SetProcessMasterVolume"},
15 };
16 // clang-format on
17
18 RegisterHandlers(functions);
19}
20
21AudInA::~AudInA() = default;
22
23} // namespace Service::Audio
diff --git a/src/core/hle/service/audio/audin_a.h b/src/core/hle/service/audio/audin_a.h
deleted file mode 100644
index 19a927de5..000000000
--- a/src/core/hle/service/audio/audin_a.h
+++ /dev/null
@@ -1,20 +0,0 @@
1// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#pragma once
5
6#include "core/hle/service/service.h"
7
8namespace Core {
9class System;
10}
11
12namespace Service::Audio {
13
14class AudInA final : public ServiceFramework<AudInA> {
15public:
16 explicit AudInA(Core::System& system_);
17 ~AudInA() override;
18};
19
20} // namespace Service::Audio
diff --git a/src/core/hle/service/audio/audio.cpp b/src/core/hle/service/audio/audio.cpp
index 97da71dfa..ed36e3448 100644
--- a/src/core/hle/service/audio/audio.cpp
+++ b/src/core/hle/service/audio/audio.cpp
@@ -2,17 +2,12 @@
2// SPDX-License-Identifier: GPL-2.0-or-later 2// SPDX-License-Identifier: GPL-2.0-or-later
3 3
4#include "core/hle/service/audio/audctl.h" 4#include "core/hle/service/audio/audctl.h"
5#include "core/hle/service/audio/auddbg.h"
6#include "core/hle/service/audio/audin_a.h"
7#include "core/hle/service/audio/audin_u.h" 5#include "core/hle/service/audio/audin_u.h"
8#include "core/hle/service/audio/audio.h" 6#include "core/hle/service/audio/audio.h"
9#include "core/hle/service/audio/audout_a.h"
10#include "core/hle/service/audio/audout_u.h" 7#include "core/hle/service/audio/audout_u.h"
11#include "core/hle/service/audio/audrec_a.h" 8#include "core/hle/service/audio/audrec_a.h"
12#include "core/hle/service/audio/audrec_u.h" 9#include "core/hle/service/audio/audrec_u.h"
13#include "core/hle/service/audio/audren_a.h"
14#include "core/hle/service/audio/audren_u.h" 10#include "core/hle/service/audio/audren_u.h"
15#include "core/hle/service/audio/codecctl.h"
16#include "core/hle/service/audio/hwopus.h" 11#include "core/hle/service/audio/hwopus.h"
17#include "core/hle/service/service.h" 12#include "core/hle/service/service.h"
18 13
@@ -20,21 +15,12 @@ namespace Service::Audio {
20 15
21void InstallInterfaces(SM::ServiceManager& service_manager, Core::System& system) { 16void InstallInterfaces(SM::ServiceManager& service_manager, Core::System& system) {
22 std::make_shared<AudCtl>(system)->InstallAsService(service_manager); 17 std::make_shared<AudCtl>(system)->InstallAsService(service_manager);
23 std::make_shared<AudOutA>(system)->InstallAsService(service_manager);
24 std::make_shared<AudOutU>(system)->InstallAsService(service_manager); 18 std::make_shared<AudOutU>(system)->InstallAsService(service_manager);
25 std::make_shared<AudInA>(system)->InstallAsService(service_manager);
26 std::make_shared<AudInU>(system)->InstallAsService(service_manager); 19 std::make_shared<AudInU>(system)->InstallAsService(service_manager);
27 std::make_shared<AudRecA>(system)->InstallAsService(service_manager); 20 std::make_shared<AudRecA>(system)->InstallAsService(service_manager);
28 std::make_shared<AudRecU>(system)->InstallAsService(service_manager); 21 std::make_shared<AudRecU>(system)->InstallAsService(service_manager);
29 std::make_shared<AudRenA>(system)->InstallAsService(service_manager);
30 std::make_shared<AudRenU>(system)->InstallAsService(service_manager); 22 std::make_shared<AudRenU>(system)->InstallAsService(service_manager);
31 std::make_shared<CodecCtl>(system)->InstallAsService(service_manager);
32 std::make_shared<HwOpus>(system)->InstallAsService(service_manager); 23 std::make_shared<HwOpus>(system)->InstallAsService(service_manager);
33
34 std::make_shared<AudDbg>(system, "audin:d")->InstallAsService(service_manager);
35 std::make_shared<AudDbg>(system, "audout:d")->InstallAsService(service_manager);
36 std::make_shared<AudDbg>(system, "audrec:d")->InstallAsService(service_manager);
37 std::make_shared<AudDbg>(system, "audren:d")->InstallAsService(service_manager);
38} 24}
39 25
40} // namespace Service::Audio 26} // namespace Service::Audio
diff --git a/src/core/hle/service/audio/audout_a.cpp b/src/core/hle/service/audio/audout_a.cpp
deleted file mode 100644
index 5ecb99236..000000000
--- a/src/core/hle/service/audio/audout_a.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
1// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#include "core/hle/service/audio/audout_a.h"
5
6namespace Service::Audio {
7
8AudOutA::AudOutA(Core::System& system_) : ServiceFramework{system_, "audout:a"} {
9 // clang-format off
10 static const FunctionInfo functions[] = {
11 {0, nullptr, "RequestSuspend"},
12 {1, nullptr, "RequestResume"},
13 {2, nullptr, "GetProcessMasterVolume"},
14 {3, nullptr, "SetProcessMasterVolume"},
15 {4, nullptr, "GetProcessRecordVolume"},
16 {5, nullptr, "SetProcessRecordVolume"},
17 };
18 // clang-format on
19
20 RegisterHandlers(functions);
21}
22
23AudOutA::~AudOutA() = default;
24
25} // namespace Service::Audio
diff --git a/src/core/hle/service/audio/audout_a.h b/src/core/hle/service/audio/audout_a.h
deleted file mode 100644
index f641cffeb..000000000
--- a/src/core/hle/service/audio/audout_a.h
+++ /dev/null
@@ -1,20 +0,0 @@
1// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#pragma once
5
6#include "core/hle/service/service.h"
7
8namespace Core {
9class System;
10}
11
12namespace Service::Audio {
13
14class AudOutA final : public ServiceFramework<AudOutA> {
15public:
16 explicit AudOutA(Core::System& system_);
17 ~AudOutA() override;
18};
19
20} // namespace Service::Audio
diff --git a/src/core/hle/service/audio/audren_a.cpp b/src/core/hle/service/audio/audren_a.cpp
deleted file mode 100644
index e775ac3bf..000000000
--- a/src/core/hle/service/audio/audren_a.cpp
+++ /dev/null
@@ -1,27 +0,0 @@
1// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#include "core/hle/service/audio/audren_a.h"
5
6namespace Service::Audio {
7
8AudRenA::AudRenA(Core::System& system_) : ServiceFramework{system_, "audren:a"} {
9 // clang-format off
10 static const FunctionInfo functions[] = {
11 {0, nullptr, "RequestSuspend"},
12 {1, nullptr, "RequestResume"},
13 {2, nullptr, "GetProcessMasterVolume"},
14 {3, nullptr, "SetProcessMasterVolume"},
15 {4, nullptr, "RegisterAppletResourceUserId"},
16 {5, nullptr, "UnregisterAppletResourceUserId"},
17 {6, nullptr, "GetProcessRecordVolume"},
18 {7, nullptr, "SetProcessRecordVolume"},
19 };
20 // clang-format on
21
22 RegisterHandlers(functions);
23}
24
25AudRenA::~AudRenA() = default;
26
27} // namespace Service::Audio
diff --git a/src/core/hle/service/audio/audren_a.h b/src/core/hle/service/audio/audren_a.h
deleted file mode 100644
index 9e08b4245..000000000
--- a/src/core/hle/service/audio/audren_a.h
+++ /dev/null
@@ -1,20 +0,0 @@
1// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#pragma once
5
6#include "core/hle/service/service.h"
7
8namespace Core {
9class System;
10}
11
12namespace Service::Audio {
13
14class AudRenA final : public ServiceFramework<AudRenA> {
15public:
16 explicit AudRenA(Core::System& system_);
17 ~AudRenA() override;
18};
19
20} // namespace Service::Audio
diff --git a/src/core/hle/service/audio/codecctl.cpp b/src/core/hle/service/audio/codecctl.cpp
deleted file mode 100644
index 81b956d7e..000000000
--- a/src/core/hle/service/audio/codecctl.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
1// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#include "core/hle/service/audio/codecctl.h"
5
6namespace Service::Audio {
7
8CodecCtl::CodecCtl(Core::System& system_) : ServiceFramework{system_, "codecctl"} {
9 static const FunctionInfo functions[] = {
10 {0, nullptr, "Initialize"},
11 {1, nullptr, "Finalize"},
12 {2, nullptr, "Sleep"},
13 {3, nullptr, "Wake"},
14 {4, nullptr, "SetVolume"},
15 {5, nullptr, "GetVolumeMax"},
16 {6, nullptr, "GetVolumeMin"},
17 {7, nullptr, "SetActiveTarget"},
18 {8, nullptr, "GetActiveTarget"},
19 {9, nullptr, "BindHeadphoneMicJackInterrupt"},
20 {10, nullptr, "IsHeadphoneMicJackInserted"},
21 {11, nullptr, "ClearHeadphoneMicJackInterrupt"},
22 {12, nullptr, "IsRequested"},
23 };
24 RegisterHandlers(functions);
25}
26
27CodecCtl::~CodecCtl() = default;
28
29} // namespace Service::Audio
diff --git a/src/core/hle/service/audio/codecctl.h b/src/core/hle/service/audio/codecctl.h
deleted file mode 100644
index 34da98212..000000000
--- a/src/core/hle/service/audio/codecctl.h
+++ /dev/null
@@ -1,20 +0,0 @@
1// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#pragma once
5
6#include "core/hle/service/service.h"
7
8namespace Core {
9class System;
10}
11
12namespace Service::Audio {
13
14class CodecCtl final : public ServiceFramework<CodecCtl> {
15public:
16 explicit CodecCtl(Core::System& system_);
17 ~CodecCtl() override;
18};
19
20} // namespace Service::Audio