summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2023-12-13 06:26:20 +0000
committerLiam <byteslice@airmail.cc>2023-12-16 12:49:28 -0500
commitffbba74c91e2200868047f76ab5c452bb9aa338d (patch)
treebf3477ac30013763ea12486272b4aaf42a94cef3 /src/core
parenta093f3d47a418e1eeb7ea091f4950bfd0e1ee028 (diff)
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.cpp2
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);