diff --git a/src/engine/engine.cpp b/src/engine/engine.cpp index 87fac32dc..ad0548399 100644 --- a/src/engine/engine.cpp +++ b/src/engine/engine.cpp @@ -501,6 +501,7 @@ void DivEngine::renderSamples() { // step 4: allocate qsound pcm samples if (qsoundMem==NULL) qsoundMem=new unsigned char[16777216]; + memset(qsoundMem,0,16777216); memPos=0; for (int i=0; i