diff options
| author | 2023-12-18 15:06:16 -0500 | |
|---|---|---|
| committer | 2023-12-18 15:06:16 -0500 | |
| commit | 50fd029eaaa39132416c0fdf9aa84e78a421beb4 (patch) | |
| tree | 6c38d1d0a4a9b96ea2a4c589366e19fe7398c34b /src/core | |
| parent | Merge pull request #12389 from liamwhite/string-copy (diff) | |
| parent | audio: skip coefficient normalization for downmix (diff) | |
| download | yuzu-50fd029eaaa39132416c0fdf9aa84e78a421beb4.tar.gz yuzu-50fd029eaaa39132416c0fdf9aa84e78a421beb4.tar.xz yuzu-50fd029eaaa39132416c0fdf9aa84e78a421beb4.zip | |
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: | |||
| 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 | ||