diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2024-02-15 02:51:07 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2024-02-17 22:05:13 +0100 |
commit | 4cbafc1ef60e7edcf736c27607b840c869918f83 (patch) | |
tree | 08c0ec1c9777899af1e3776ed4483bb943c19528 /src/core/hle/service/audio/audctl.h | |
parent | Merge pull request #13016 from german77/set-interface2 (diff) | |
download | yuzu-4cbafc1ef60e7edcf736c27607b840c869918f83.tar yuzu-4cbafc1ef60e7edcf736c27607b840c869918f83.tar.gz yuzu-4cbafc1ef60e7edcf736c27607b840c869918f83.tar.bz2 yuzu-4cbafc1ef60e7edcf736c27607b840c869918f83.tar.lz yuzu-4cbafc1ef60e7edcf736c27607b840c869918f83.tar.xz yuzu-4cbafc1ef60e7edcf736c27607b840c869918f83.tar.zst yuzu-4cbafc1ef60e7edcf736c27607b840c869918f83.zip |
Diffstat (limited to 'src/core/hle/service/audio/audctl.h')
-rw-r--r-- | src/core/hle/service/audio/audctl.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/src/core/hle/service/audio/audctl.h b/src/core/hle/service/audio/audctl.h deleted file mode 100644 index 4c90ead70..000000000 --- a/src/core/hle/service/audio/audctl.h +++ /dev/null @@ -1,50 +0,0 @@ -// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#include "core/hle/service/service.h" - -namespace Core { -class System; -} - -namespace Service::Set { -class ISystemSettingsServer; -} - -namespace Service::Audio { - -class AudCtl final : public ServiceFramework<AudCtl> { -public: - explicit AudCtl(Core::System& system_); - ~AudCtl() override; - -private: - enum class ForceMutePolicy { - Disable, - SpeakerMuteOnHeadphoneUnplugged, - }; - - enum class HeadphoneOutputLevelMode { - Normal, - HighPower, - }; - - void GetTargetVolumeMin(HLERequestContext& ctx); - void GetTargetVolumeMax(HLERequestContext& ctx); - void GetAudioOutputMode(HLERequestContext& ctx); - void SetAudioOutputMode(HLERequestContext& ctx); - void GetForceMutePolicy(HLERequestContext& ctx); - void GetOutputModeSetting(HLERequestContext& ctx); - void SetOutputModeSetting(HLERequestContext& ctx); - void SetHeadphoneOutputLevelMode(HLERequestContext& ctx); - void GetHeadphoneOutputLevelMode(HLERequestContext& ctx); - void SetSpeakerAutoMuteEnabled(HLERequestContext& ctx); - void IsSpeakerAutoMuteEnabled(HLERequestContext& ctx); - void AcquireTargetNotification(HLERequestContext& ctx); - - std::shared_ptr<Service::Set::ISystemSettingsServer> m_set_sys; -}; - -} // namespace Service::Audio |