summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/audio/audout_a.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-01 01:59:42 +0200
committerLioncash <mathew1800@gmail.com>2018-08-01 03:58:30 +0200
commitbba63b33a160c85a9e37a482df98a65a35e60b92 (patch)
treeeb915cc1be0609971899ce064db4037039c1c679 /src/core/hle/service/audio/audout_a.cpp
parentMerge pull request #864 from FearlessTobi/port-3973 (diff)
downloadyuzu-bba63b33a160c85a9e37a482df98a65a35e60b92.tar
yuzu-bba63b33a160c85a9e37a482df98a65a35e60b92.tar.gz
yuzu-bba63b33a160c85a9e37a482df98a65a35e60b92.tar.bz2
yuzu-bba63b33a160c85a9e37a482df98a65a35e60b92.tar.lz
yuzu-bba63b33a160c85a9e37a482df98a65a35e60b92.tar.xz
yuzu-bba63b33a160c85a9e37a482df98a65a35e60b92.tar.zst
yuzu-bba63b33a160c85a9e37a482df98a65a35e60b92.zip
Diffstat (limited to 'src/core/hle/service/audio/audout_a.cpp')
-rw-r--r--src/core/hle/service/audio/audout_a.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/core/hle/service/audio/audout_a.cpp b/src/core/hle/service/audio/audout_a.cpp
new file mode 100644
index 000000000..57b934dd6
--- /dev/null
+++ b/src/core/hle/service/audio/audout_a.cpp
@@ -0,0 +1,26 @@
+// Copyright 2018 yuzu emulator team
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#pragma once
+
+#include "core/hle/service/audio/audout_a.h"
+
+namespace Service::Audio {
+
+AudOutA::AudOutA() : ServiceFramework{"audout:a"} {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {0, nullptr, "RequestSuspendAudioOuts"},
+ {1, nullptr, "RequestResumeAudioOuts"},
+ {2, nullptr, "GetAudioOutsProcessMasterVolume"},
+ {3, nullptr, "SetAudioOutsProcessMasterVolume"},
+ {4, nullptr, "GetAudioOutsProcessRecordVolume"},
+ {5, nullptr, "SetAudioOutsProcessRecordVolume"},
+ };
+ // clang-format on
+
+ RegisterHandlers(functions);
+}
+
+} // namespace Service::Audio