From bba63b33a160c85a9e37a482df98a65a35e60b92 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 31 Jul 2018 19:59:42 -0400 Subject: service/audio: Add missing services Adds the missing audctl service, as well as the :a and :d services for audin, audout, audrec, and audren. --- src/core/hle/service/audio/audin_a.cpp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/core/hle/service/audio/audin_a.cpp (limited to 'src/core/hle/service/audio/audin_a.cpp') diff --git a/src/core/hle/service/audio/audin_a.cpp b/src/core/hle/service/audio/audin_a.cpp new file mode 100644 index 000000000..e62a27945 --- /dev/null +++ b/src/core/hle/service/audio/audin_a.cpp @@ -0,0 +1,24 @@ +// 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/audin_a.h" + +namespace Service::Audio { + +AudInA::AudInA() : ServiceFramework{"audin:a"} { + // clang-format off + static const FunctionInfo functions[] = { + {0, nullptr, "RequestSuspendAudioIns"}, + {1, nullptr, "RequestResumeAudioIns"}, + {2, nullptr, "GetAudioInsProcessMasterVolume"}, + {3, nullptr, "SetAudioInsProcessMasterVolume"}, + }; + // clang-format on + + RegisterHandlers(functions); +} + +} // namespace Service::Audio -- cgit v1.2.3