mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-28 10:51:06 +00:00
Merge pull request #4247 from unknownbrackets/audio-minor
Clear the audio buffer on game reset
This commit is contained in:
commit
b4c3681610
@ -118,7 +118,9 @@ void __AudioInit() {
|
||||
mixBuffer = new s32[hwBlockSize * 2];
|
||||
memset(mixBuffer, 0, hwBlockSize * 2 * sizeof(s32));
|
||||
|
||||
|
||||
__blockForAudioQueueLock();
|
||||
outAudioQueue.clear();
|
||||
__releaseAcquiredLock();
|
||||
}
|
||||
|
||||
void __AudioDoState(PointerWrap &p) {
|
||||
|
Loading…
Reference in New Issue
Block a user