diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2024-02-14 04:08:30 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2024-02-14 19:40:10 +0100 |
commit | caf16982d93f0658051907dedd4437f94148d4c2 (patch) | |
tree | feff5c1512ee47dc195718eeaa996a9d7b8c30ef /src/core/hle/service/audio | |
parent | Merge pull request #12996 from german77/settings-ipc (diff) | |
download | yuzu-caf16982d93f0658051907dedd4437f94148d4c2.tar yuzu-caf16982d93f0658051907dedd4437f94148d4c2.tar.gz yuzu-caf16982d93f0658051907dedd4437f94148d4c2.tar.bz2 yuzu-caf16982d93f0658051907dedd4437f94148d4c2.tar.lz yuzu-caf16982d93f0658051907dedd4437f94148d4c2.tar.xz yuzu-caf16982d93f0658051907dedd4437f94148d4c2.tar.zst yuzu-caf16982d93f0658051907dedd4437f94148d4c2.zip |
Diffstat (limited to 'src/core/hle/service/audio')
-rw-r--r-- | src/core/hle/service/audio/audctl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/audio/audctl.cpp b/src/core/hle/service/audio/audctl.cpp index 3101cf447..cf4bb4034 100644 --- a/src/core/hle/service/audio/audctl.cpp +++ b/src/core/hle/service/audio/audctl.cpp @@ -106,7 +106,7 @@ void AudCtl::GetAudioOutputMode(HLERequestContext& ctx) { const auto target{rp.PopEnum<Set::AudioOutputModeTarget>()}; Set::AudioOutputMode output_mode{}; - const auto result = m_set_sys->GetAudioOutputMode(output_mode, target); + const auto result = m_set_sys->GetAudioOutputMode(&output_mode, target); LOG_INFO(Service_SET, "called, target={}, output_mode={}", target, output_mode); @@ -188,7 +188,7 @@ void AudCtl::SetSpeakerAutoMuteEnabled(HLERequestContext& ctx) { void AudCtl::IsSpeakerAutoMuteEnabled(HLERequestContext& ctx) { bool is_speaker_auto_mute_enabled{}; - const auto result = m_set_sys->GetSpeakerAutoMuteFlag(is_speaker_auto_mute_enabled); + const auto result = m_set_sys->GetSpeakerAutoMuteFlag(&is_speaker_auto_mute_enabled); LOG_WARNING(Audio, "(STUBBED) called, is_speaker_auto_mute_enabled={}", is_speaker_auto_mute_enabled); |