From b0e72266b66406eddd3f78e6fcc2df42745f95e7 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 29 Jun 2020 19:41:08 -0700 Subject: Don't round up the dst size when the src size was saturated --- alc/voice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alc/voice.cpp b/alc/voice.cpp index e256d5b4..266a38c4 100644 --- a/alc/voice.cpp +++ b/alc/voice.cpp @@ -664,7 +664,7 @@ void Voice::mix(const State vstate, ALCcontext *Context, const ALuint SamplesToD * from this. */ DataSize64 = SrcBufferSize - MAX_RESAMPLER_PADDING; - DataSize64 = ((DataSize64<