summaryrefslogtreecommitdiff
path: root/audio/spiralsynth/patches/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'audio/spiralsynth/patches/patch-ak')
-rw-r--r--audio/spiralsynth/patches/patch-ak9
1 files changed, 5 insertions, 4 deletions
diff --git a/audio/spiralsynth/patches/patch-ak b/audio/spiralsynth/patches/patch-ak
index ccf9b2bbf19..021867633f8 100644
--- a/audio/spiralsynth/patches/patch-ak
+++ b/audio/spiralsynth/patches/patch-ak
@@ -1,11 +1,12 @@
-$NetBSD: patch-ak,v 1.1 2004/02/15 06:00:26 ben Exp $
+$NetBSD: patch-ak,v 1.2 2004/11/25 17:24:27 ben Exp $
---- SpiralSound/Oscillator.C.orig 2000-11-26 07:52:41.000000000 -0800
+--- SpiralSound/Oscillator.C.orig Wed Jun 5 15:44:40 2002
+++ SpiralSound/Oscillator.C
-@@ -37,6 +37,8 @@ m_ModAmount(0.01f)
+@@ -39,7 +39,8 @@ m_SHModBuf(NULL)
m_Note=new int[SpiralInfo::POLY];
m_LastFreq=new float[SpiralInfo::POLY];
- m_Volume=new char[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 */