diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-12-18 15:06:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-18 15:06:16 -0500 |
commit | 50fd029eaaa39132416c0fdf9aa84e78a421beb4 (patch) | |
tree | 6c38d1d0a4a9b96ea2a4c589366e19fe7398c34b /src/core | |
parent | b8c50276869aa98bc3cf2622a18c08cf1fb66315 (diff) | |
parent | 6851e93296969e1f990ebc12e2a46026dc34ccce (diff) |
Merge pull request #12349 from Kelebek1/return_system_channels_active
Have GetActiveChannelCount return the system channels instead of host device channels
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/service/audio/audren_u.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp index 2f09cade5..23e56c77a 100644 --- a/src/core/hle/service/audio/audren_u.cpp +++ b/src/core/hle/service/audio/audren_u.cpp @@ -359,7 +359,7 @@ private: void GetActiveChannelCount(HLERequestContext& ctx) { const auto& sink{system.AudioCore().GetOutputSink()}; - u32 channel_count{sink.GetDeviceChannels()}; + u32 channel_count{sink.GetSystemChannels()}; LOG_DEBUG(Service_Audio, "(STUBBED) called. Channels={}", channel_count); |