Files
2013-09-26 17:14:40 +02:00

15 lines
478 B
Plaintext

$NetBSD: patch-ak,v 1.2 2004/11/25 17:24:27 ben Exp $
--- SpiralSound/Oscillator.C.orig Wed Jun 5 15:44:40 2002
+++ SpiralSound/Oscillator.C
@@ -39,7 +39,8 @@ m_SHModBuf(NULL)
m_Note=new int[SpiralInfo::POLY];
m_LastFreq=new float[SpiralInfo::POLY];
m_Volume=new float[SpiralInfo::POLY];
-
+ m_FreqModBuf = 0; /* initialize to avoid risk of coredump */
+ m_PulseWidthModBuf = 0; /* initialize to avoid risk of coredump */
for (int n=0; n<SpiralInfo::POLY; n++)
{