mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 17:49:29 +01:00
Clear the audio buffer on game reset.
Avoids blips.
This commit is contained in:
1 parent
27260c08a5
commit
edf3faf251
1 file changed
+3
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user