summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--muse2/ChangeLog2
-rw-r--r--muse2/muse/dssihost.cpp10
2 files changed, 5 insertions, 7 deletions
diff --git a/muse2/ChangeLog b/muse2/ChangeLog
index b73c40c7..a48daf9a 100644
--- a/muse2/ChangeLog
+++ b/muse2/ChangeLog
@@ -10,7 +10,7 @@
(if there is a time, I'm sure someone will let me know :) )
- song changed not implemented yet
- undo/redo is not implemented
- - prevented initialization crash for dssi, Tim, please have a look (rj)
+ - Fixed crash in dssihost.cpp - my bad from recent p4.0.20 changes. (Tim)
15.04.2011:
- And while we're at it... Invert drum track 'slivers' in arranger parts. (Tim)
- Move part name text to bottom to accommodate drum 'slivers'.
diff --git a/muse2/muse/dssihost.cpp b/muse2/muse/dssihost.cpp
index 49204780..f2e94dae 100644
--- a/muse2/muse/dssihost.cpp
+++ b/muse2/muse/dssihost.cpp
@@ -1105,12 +1105,10 @@ bool DssiSynthIF::init(DssiSynth* s)
else if (LADSPA_IS_PORT_OUTPUT(pd))
{
controlsOut[cop].idx = k;
- if (controls) {
- controls[cop].val = 0.0;
- controls[cop].tmpVal = 0.0;
- controls[cop].enCtrl = false;
- controls[cop].en2Ctrl = false;
- }
+ controlsOut[cop].val = 0.0;
+ controlsOut[cop].tmpVal = 0.0;
+ controlsOut[cop].enCtrl = false;
+ controlsOut[cop].en2Ctrl = false;
#ifdef DSSI_DEBUG
printf("DssiSynthIF::init control output port:%d port idx:%d name:%s\n", cop, k, ld->PortNames[k]);