Merge pull request #3435 from unknownbrackets/audio-minor

Clear the mixbuffer when all channels empty
This commit is contained in:
Henrik Rydgård 2013-08-27 01:05:20 -07:00
commit 5b553d3c45

View File

@ -311,7 +311,7 @@ void __AudioUpdate() {
}
if (firstChannel) {
memset(mixBuffer, 0, sizeof(mixBuffer));
memset(mixBuffer, 0, hwBlockSize * 2 * sizeof(s32));
}
if (g_Config.bEnableSound) {