pkgsrc/audio/spiralsynth/patches/patch-ak
ben 60531e216e Update SpiralSynth to version 2.0.0. Notable changes include:
* 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
2004-11-25 17:24:27 +00:00

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