diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-02-16 19:11:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-16 19:11:36 +0100 |
commit | c7588c042ba14bce871d12f5cf4dbf64bb5b3fe9 (patch) | |
tree | 59e23eb8b42ec44318ca00f8972a33fe7181984c /src/core/hle/service/audio/audctl.cpp | |
parent | Merge pull request #13011 from liamwhite/vi-ipc (diff) | |
parent | service: set: Migrate ISystemSettingsServer to new IPC (diff) | |
download | yuzu-c7588c042ba14bce871d12f5cf4dbf64bb5b3fe9.tar yuzu-c7588c042ba14bce871d12f5cf4dbf64bb5b3fe9.tar.gz yuzu-c7588c042ba14bce871d12f5cf4dbf64bb5b3fe9.tar.bz2 yuzu-c7588c042ba14bce871d12f5cf4dbf64bb5b3fe9.tar.lz yuzu-c7588c042ba14bce871d12f5cf4dbf64bb5b3fe9.tar.xz yuzu-c7588c042ba14bce871d12f5cf4dbf64bb5b3fe9.tar.zst yuzu-c7588c042ba14bce871d12f5cf4dbf64bb5b3fe9.zip |
Diffstat (limited to 'src/core/hle/service/audio/audctl.cpp')
-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); |