diff options
author | Tim E. Real <termtech@rogers.com> | 2011-04-16 20:49:55 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2011-04-16 20:49:55 +0000 |
commit | 42be6376637248e01ea2ab0a41a6653b53d71800 (patch) | |
tree | a5936734aad82d3030b04a71cd591bfe4e8ba4a8 /muse2/muse | |
parent | 47f7c86b68c156a0dff15c0e2486371bc8a801f6 (diff) |
Fixed crash in dssihost.cpp - my bad from recent p4.0.20 changes.
Diffstat (limited to 'muse2/muse')
-rw-r--r-- | muse2/muse/dssihost.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
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]); |