diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-08-07 17:33:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-07 17:33:55 +0200 |
commit | bed2fc870773d749e87be6713939da21ca45f047 (patch) | |
tree | dc9e4e3666ad13873a7c91b3009d2c449af26f42 /src/core/hle/service/audio/audctl.h | |
parent | Merge pull request #11213 from RngValue/master (diff) | |
parent | service: audctl: Stub functions needed by Qlaunch (diff) | |
download | yuzu-bed2fc870773d749e87be6713939da21ca45f047.tar yuzu-bed2fc870773d749e87be6713939da21ca45f047.tar.gz yuzu-bed2fc870773d749e87be6713939da21ca45f047.tar.bz2 yuzu-bed2fc870773d749e87be6713939da21ca45f047.tar.lz yuzu-bed2fc870773d749e87be6713939da21ca45f047.tar.xz yuzu-bed2fc870773d749e87be6713939da21ca45f047.tar.zst yuzu-bed2fc870773d749e87be6713939da21ca45f047.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/audio/audctl.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/core/hle/service/audio/audctl.h b/src/core/hle/service/audio/audctl.h index 8e31ac237..d57abb383 100644 --- a/src/core/hle/service/audio/audctl.h +++ b/src/core/hle/service/audio/audctl.h @@ -17,8 +17,30 @@ public: ~AudCtl() override; private: + enum class AudioOutputMode { + Invalid, + Pcm1ch, + Pcm2ch, + Pcm6ch, + PcmAuto, + }; + + enum class ForceMutePolicy { + Disable, + SpeakerMuteOnHeadphoneUnplugged, + }; + + enum class HeadphoneOutputLevelMode { + Normal, + HighPower, + }; + void GetTargetVolumeMin(HLERequestContext& ctx); void GetTargetVolumeMax(HLERequestContext& ctx); + void GetForceMutePolicy(HLERequestContext& ctx); + void GetOutputModeSetting(HLERequestContext& ctx); + void GetHeadphoneOutputLevelMode(HLERequestContext& ctx); + void IsSpeakerAutoMuteEnabled(HLERequestContext& ctx); }; } // namespace Service::Audio |