From 4bdd033354a92e7ff9f6be4a76d1a9a084571dcc Mon Sep 17 00:00:00 2001 From: Dima Date: Mon, 21 Nov 2022 21:17:10 +0300 Subject: [PATCH] Stub SetRecordVolumeMuted --- .../skyline/services/am/controller/ISelfController.cpp | 4 ++++ .../cpp/skyline/services/am/controller/ISelfController.h | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/app/src/main/cpp/skyline/services/am/controller/ISelfController.cpp b/app/src/main/cpp/skyline/services/am/controller/ISelfController.cpp index 467a905b..8a3cd955 100644 --- a/app/src/main/cpp/skyline/services/am/controller/ISelfController.cpp +++ b/app/src/main/cpp/skyline/services/am/controller/ISelfController.cpp @@ -100,4 +100,8 @@ namespace skyline::service::am { Logger::Debug("Setting Album Image Taken Notification Enabled: {}", albumImageTakenNotificationEnabled); return {}; } + + Result ISelfController::SetRecordVolumeMuted(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) { + return {}; + } } diff --git a/app/src/main/cpp/skyline/services/am/controller/ISelfController.h b/app/src/main/cpp/skyline/services/am/controller/ISelfController.h index f6f3e290..17b90475 100644 --- a/app/src/main/cpp/skyline/services/am/controller/ISelfController.h +++ b/app/src/main/cpp/skyline/services/am/controller/ISelfController.h @@ -121,6 +121,11 @@ namespace skyline::service::am { */ Result SetAlbumImageTakenNotificationEnabled(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response); + /** + * @url https://switchbrew.org/wiki/Applet_Manager_services#SetRecordVolumeMuted + */ + Result SetRecordVolumeMuted(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response); + SERVICE_DECL( SFUNC(0x0, ISelfController, Exit), SFUNC(0x1, ISelfController, LockExit), @@ -138,7 +143,8 @@ namespace skyline::service::am { SFUNC(0x3F, ISelfController, GetIdleTimeDetectionExtension), SFUNC(0x5A, ISelfController, GetAccumulatedSuspendedTickValue), SFUNC(0x5B, ISelfController, GetAccumulatedSuspendedTickChangedEvent), - SFUNC(0x64, ISelfController, SetAlbumImageTakenNotificationEnabled) + SFUNC(0x64, ISelfController, SetAlbumImageTakenNotificationEnabled), + SFUNC(0x82, ISelfController, SetRecordVolumeMuted) ) }; }