Merge pull request #4247 from unknownbrackets/audio-minor

Clear the audio buffer on game reset
This commit is contained in:
Henrik Rydgård 2013-10-19 15:18:37 -07:00
commit b4c3681610

View File

@ -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) {