diff options
author | Liam <byteslice@airmail.cc> | 2024-02-20 05:43:00 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-21 04:15:37 +0100 |
commit | 2e5a9cf119703a595c3e1e34aa233a9843f5871c (patch) | |
tree | 9aba42145b44b8a9787db53b8136c1d4eb79c11c /src/core/hle/service/audio/final_output_recorder_manager_for_applet.cpp | |
parent | audio: rewrite IAudioOutManager (diff) | |
download | yuzu-2e5a9cf119703a595c3e1e34aa233a9843f5871c.tar yuzu-2e5a9cf119703a595c3e1e34aa233a9843f5871c.tar.gz yuzu-2e5a9cf119703a595c3e1e34aa233a9843f5871c.tar.bz2 yuzu-2e5a9cf119703a595c3e1e34aa233a9843f5871c.tar.lz yuzu-2e5a9cf119703a595c3e1e34aa233a9843f5871c.tar.xz yuzu-2e5a9cf119703a595c3e1e34aa233a9843f5871c.tar.zst yuzu-2e5a9cf119703a595c3e1e34aa233a9843f5871c.zip |
Diffstat (limited to 'src/core/hle/service/audio/final_output_recorder_manager_for_applet.cpp')
-rw-r--r-- | src/core/hle/service/audio/final_output_recorder_manager_for_applet.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/core/hle/service/audio/final_output_recorder_manager_for_applet.cpp b/src/core/hle/service/audio/final_output_recorder_manager_for_applet.cpp new file mode 100644 index 000000000..7e2e42bbe --- /dev/null +++ b/src/core/hle/service/audio/final_output_recorder_manager_for_applet.cpp @@ -0,0 +1,22 @@ +// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "core/hle/service/audio/final_output_recorder_manager_for_applet.h" + +namespace Service::Audio { + +IFinalOutputRecorderManagerForApplet::IFinalOutputRecorderManagerForApplet(Core::System& system_) + : ServiceFramework{system_, "audrec:a"} { + // clang-format off + static const FunctionInfo functions[] = { + {0, nullptr, "RequestSuspend"}, + {1, nullptr, "RequestResume"}, + }; + // clang-format on + + RegisterHandlers(functions); +} + +IFinalOutputRecorderManagerForApplet::~IFinalOutputRecorderManagerForApplet() = default; + +} // namespace Service::Audio |