diff options
| author | 2023-12-13 06:26:20 +0000 | |
|---|---|---|
| committer | 2023-12-16 12:49:28 -0500 | |
| commit | ffbba74c91e2200868047f76ab5c452bb9aa338d (patch) | |
| tree | bf3477ac30013763ea12486272b4aaf42a94cef3 /src/core/hle/service/audio | |
| parent | Merge pull request #12184 from Kelebek1/system_settings (diff) | |
| download | yuzu-ffbba74c91e2200868047f76ab5c452bb9aa338d.tar.gz yuzu-ffbba74c91e2200868047f76ab5c452bb9aa338d.tar.xz yuzu-ffbba74c91e2200868047f76ab5c452bb9aa338d.zip | |
Have GetActiveChannelCount return the system channels instead of host device channels
Diffstat (limited to 'src/core/hle/service/audio')
| -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: | |||
| 359 | 359 | ||
| 360 | void GetActiveChannelCount(HLERequestContext& ctx) { | 360 | void GetActiveChannelCount(HLERequestContext& ctx) { |
| 361 | const auto& sink{system.AudioCore().GetOutputSink()}; | 361 | const auto& sink{system.AudioCore().GetOutputSink()}; |
| 362 | u32 channel_count{sink.GetDeviceChannels()}; | 362 | u32 channel_count{sink.GetSystemChannels()}; |
| 363 | 363 | ||
| 364 | LOG_DEBUG(Service_Audio, "(STUBBED) called. Channels={}", channel_count); | 364 | LOG_DEBUG(Service_Audio, "(STUBBED) called. Channels={}", channel_count); |
| 365 | 365 | ||