summaryrefslogtreecommitdiff
path: root/src/audio_core/audio_renderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio_core/audio_renderer.cpp')
-rw-r--r--src/audio_core/audio_renderer.cpp2
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) {
208 } else if (channel_count == 2) { 208 } else if (channel_count == 2) {
209 const auto l_sample = ClampToS16(mix_buffers[0][i]); 209 const auto l_sample = ClampToS16(mix_buffers[0][i]);
210 const auto r_sample = ClampToS16(mix_buffers[1][i]); 210 const auto r_sample = ClampToS16(mix_buffers[1][i]);
211 if (stream_channel_count == 0) { 211 if (stream_channel_count == 1) {
212 buffer[i * stream_channel_count + 0] = l_sample; 212 buffer[i * stream_channel_count + 0] = l_sample;
213 } else if (stream_channel_count == 2) { 213 } else if (stream_channel_count == 2) {
214 buffer[i * stream_channel_count + 0] = l_sample; 214 buffer[i * stream_channel_count + 0] = l_sample;