60531e216e
* Totally replaced audio core code with SSM plugin code, modified for static linking. * Uses 32bit floating point format internally. * New midi device handling. * New OSS output code. * New funky sliders. * Updated for fltk 1.1.0
14 lines
478 B
Text
14 lines
478 B
Text
$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++)
|
|
{
|