diff options
-rw-r--r-- | Alc/mixer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c index 073a08fb..772ff599 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -663,6 +663,7 @@ ALvoid MixSource(ALsource *Source, ALCdevice *Device, ALuint SamplesToDo) BufferSize = sizeof(SrcData) - SrcDataSize; BufferSize = min(DataSize64, BufferSize); + BufferSize -= BufferSize%FrameSize; if(Source->lSourceType == AL_STATIC) { |