Skip to content
Snippets Groups Projects
Commit 01d19996 authored by MerryMage's avatar MerryMage
Browse files

audio_renderer: samples_remaining counts frames, not samples

parent 4b44b8b4
No related branches found
No related tags found
No related merge requests found
......@@ -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]};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment