mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-24 10:53:11 +00:00
Merge pull request #3435 from unknownbrackets/audio-minor
Clear the mixbuffer when all channels empty
This commit is contained in:
commit
5b553d3c45
@ -311,7 +311,7 @@ void __AudioUpdate() {
|
||||
}
|
||||
|
||||
if (firstChannel) {
|
||||
memset(mixBuffer, 0, sizeof(mixBuffer));
|
||||
memset(mixBuffer, 0, hwBlockSize * 2 * sizeof(s32));
|
||||
}
|
||||
|
||||
if (g_Config.bEnableSound) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user