diff options
author | german77 <juangerman-13@hotmail.com> | 2024-01-27 21:11:37 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2024-01-28 16:32:46 +0100 |
commit | 12e7ee2357bc65791e774167780c9955d30f4811 (patch) | |
tree | f33ef726333c4ae7a1c195da9ddce9ebb5ca6323 /src/core/hle/service/audio/audctl.h | |
parent | Merge pull request #12818 from K900/small-fixes (diff) | |
download | yuzu-12e7ee2357bc65791e774167780c9955d30f4811.tar yuzu-12e7ee2357bc65791e774167780c9955d30f4811.tar.gz yuzu-12e7ee2357bc65791e774167780c9955d30f4811.tar.bz2 yuzu-12e7ee2357bc65791e774167780c9955d30f4811.tar.lz yuzu-12e7ee2357bc65791e774167780c9955d30f4811.tar.xz yuzu-12e7ee2357bc65791e774167780c9955d30f4811.tar.zst yuzu-12e7ee2357bc65791e774167780c9955d30f4811.zip |
Diffstat (limited to 'src/core/hle/service/audio/audctl.h')
-rw-r--r-- | src/core/hle/service/audio/audctl.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/core/hle/service/audio/audctl.h b/src/core/hle/service/audio/audctl.h index d57abb383..4c90ead70 100644 --- a/src/core/hle/service/audio/audctl.h +++ b/src/core/hle/service/audio/audctl.h @@ -9,6 +9,10 @@ namespace Core { class System; } +namespace Service::Set { +class ISystemSettingsServer; +} + namespace Service::Audio { class AudCtl final : public ServiceFramework<AudCtl> { @@ -17,14 +21,6 @@ public: ~AudCtl() override; private: - enum class AudioOutputMode { - Invalid, - Pcm1ch, - Pcm2ch, - Pcm6ch, - PcmAuto, - }; - enum class ForceMutePolicy { Disable, SpeakerMuteOnHeadphoneUnplugged, @@ -37,10 +33,18 @@ private: 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 |