diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-07-31 19:59:42 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-07-31 21:58:30 -0400 |
| commit | bba63b33a160c85a9e37a482df98a65a35e60b92 (patch) | |
| tree | eb915cc1be0609971899ce064db4037039c1c679 /src/core/hle/service/audio/audrec_a.cpp | |
| parent | 0a2b219a31b85da3e55b37a040b7e03cb1ccfd3e (diff) | |
service/audio: Add missing services
Adds the missing audctl service, as well as the :a and :d services for
audin, audout, audrec, and audren.
Diffstat (limited to 'src/core/hle/service/audio/audrec_a.cpp')
| -rw-r--r-- | src/core/hle/service/audio/audrec_a.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/core/hle/service/audio/audrec_a.cpp b/src/core/hle/service/audio/audrec_a.cpp new file mode 100644 index 000000000..9c32f9b98 --- /dev/null +++ b/src/core/hle/service/audio/audrec_a.cpp @@ -0,0 +1,22 @@ +// 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/audrec_a.h" + +namespace Service::Audio { + +AudRecA::AudRecA() : ServiceFramework{"audrec:a"} { + // clang-format off + static const FunctionInfo functions[] = { + {0, nullptr, "RequestSuspendFinalOutputRecorders"}, + {1, nullptr, "RequestResumeFinalOutputRecorders"}, + }; + // clang-format on + + RegisterHandlers(functions); +} + +} // namespace Service::Audio |
