diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2018-08-12 20:35:23 +0200 |
---|---|---|
committer | MerryMage <MerryMage@users.noreply.github.com> | 2018-08-13 12:26:50 +0200 |
commit | 01d199965a5df37e2bba333cecdbc1643b000874 (patch) | |
tree | 5690dfc1cb2c3ee5f7d046d5f6ac0f56ab4667d6 /src | |
parent | audio_core: Interpolate (diff) | |
download | yuzu-01d199965a5df37e2bba333cecdbc1643b000874.tar yuzu-01d199965a5df37e2bba333cecdbc1643b000874.tar.gz yuzu-01d199965a5df37e2bba333cecdbc1643b000874.tar.bz2 yuzu-01d199965a5df37e2bba333cecdbc1643b000874.tar.lz yuzu-01d199965a5df37e2bba333cecdbc1643b000874.tar.xz yuzu-01d199965a5df37e2bba333cecdbc1643b000874.tar.zst yuzu-01d199965a5df37e2bba333cecdbc1643b000874.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 7bff635b8..397b107f5 100644 --- a/src/audio_core/audio_renderer.cpp +++ b/src/audio_core/audio_renderer.cpp @@ -227,7 +227,7 @@ void AudioRenderer::QueueMixedBuffer(Buffer::Tag tag) { break; } - samples_remaining -= samples.size(); + samples_remaining -= samples.size() / stream->GetNumChannels(); for (const auto& sample : samples) { const s32 buffer_sample{buffer[offset]}; |