diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2020-07-25 05:31:43 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2020-07-25 05:31:43 +0200 |
commit | f4eb7dceaff25ae5037bd7ec77de143f5d4a85a0 (patch) | |
tree | d62b9b1ef8155d8a31fc7d0753bd9debf10e98aa /src | |
parent | Address issues (diff) | |
download | yuzu-f4eb7dceaff25ae5037bd7ec77de143f5d4a85a0.tar yuzu-f4eb7dceaff25ae5037bd7ec77de143f5d4a85a0.tar.gz yuzu-f4eb7dceaff25ae5037bd7ec77de143f5d4a85a0.tar.bz2 yuzu-f4eb7dceaff25ae5037bd7ec77de143f5d4a85a0.tar.lz yuzu-f4eb7dceaff25ae5037bd7ec77de143f5d4a85a0.tar.xz yuzu-f4eb7dceaff25ae5037bd7ec77de143f5d4a85a0.tar.zst yuzu-f4eb7dceaff25ae5037bd7ec77de143f5d4a85a0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio_core/audio_renderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio_core/audio_renderer.cpp b/src/audio_core/audio_renderer.cpp index a7a23945f..a3ff819e1 100644 --- a/src/audio_core/audio_renderer.cpp +++ b/src/audio_core/audio_renderer.cpp @@ -208,7 +208,7 @@ void AudioRenderer::QueueMixedBuffer(Buffer::Tag tag) { } else if (channel_count == 2) { const auto l_sample = ClampToS16(mix_buffers[0][i]); const auto r_sample = ClampToS16(mix_buffers[1][i]); - if (stream_channel_count == 0) { + if (stream_channel_count == 1) { buffer[i * stream_channel_count + 0] = l_sample; } else if (stream_channel_count == 2) { buffer[i * stream_channel_count + 0] = l_sample; |