MADE: Initialize delta sound buffer

This commit is contained in:
Eugene Sandulenko 2016-05-09 12:57:27 +02:00
parent 1facc1662b
commit 4d4a5837bf

View File

@ -155,6 +155,7 @@ void decompressSound(byte *source, byte *dest, uint16 chunkSize, uint16 chunkCou
};
soundEnergyItem.position = 0;
memset(deltaSoundBuffer, 0, 1024);
if (soundEnergyArray)
soundEnergyArray->clear();