summaryrefslogtreecommitdiff
path: root/muse2/muse/osc.cpp
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2011-04-25 20:47:28 +0000
committerTim E. Real <termtech@rogers.com>2011-04-25 20:47:28 +0000
commit499ccec21dd2ac636fb019c98a902c351b4ec165 (patch)
tree03b867772f9d4543c2ae0e8ca49f389333ea5ad7 /muse2/muse/osc.cpp
parent5974951aeaf0a86b83175e018d5bf35e509f5181 (diff)
Overhaul plugin module and add variable run-length ladspa + dssi processing. Please see ChangeLog.
Diffstat (limited to 'muse2/muse/osc.cpp')
-rw-r--r--muse2/muse/osc.cpp43
1 files changed, 23 insertions, 20 deletions
diff --git a/muse2/muse/osc.cpp b/muse2/muse/osc.cpp
index edaede1f..9f9a5531 100644
--- a/muse2/muse/osc.cpp
+++ b/muse2/muse/osc.cpp
@@ -405,6 +405,7 @@ void stopOSC()
+/*
//---------------------------------------------------------
// OscControlFifo
// put
@@ -456,7 +457,7 @@ void OscControlFifo::remove()
// q_atomic_decrement(&size);
--size;
}
-
+*/
//---------------------------------------------------------
@@ -483,7 +484,7 @@ OscIF::OscIF()
_oscGuiQProc = 0;
_oscGuiVisible = false;
- _oscControlFifos = 0;
+ //_oscControlFifos = 0;
}
OscIF::~OscIF()
@@ -530,10 +531,11 @@ OscIF::~OscIF()
if(_uiOscPath)
free(_uiOscPath);
- if(_oscControlFifos)
- delete[] _oscControlFifos;
+ //if(_oscControlFifos)
+ // delete[] _oscControlFifos;
}
+/*
//---------------------------------------------------------
// oscFifo
//---------------------------------------------------------
@@ -544,6 +546,7 @@ OscControlFifo* OscIF::oscFifo(unsigned long i) const
return 0;
return &_oscControlFifos[i];
}
+*/
//---------------------------------------------------------
// oscUpdate
@@ -1135,15 +1138,15 @@ bool OscIF::oscGuiVisible() const
void OscDssiIF::oscSetSynthIF(DssiSynthIF* s)
{
_oscSynthIF = s;
- if(_oscControlFifos)
- delete[] _oscControlFifos;
- _oscControlFifos = 0;
+ //if(_oscControlFifos)
+ // delete[] _oscControlFifos;
+ //_oscControlFifos = 0;
- if(_oscSynthIF && _oscSynthIF->dssiSynth())
- {
- unsigned long ports = _oscSynthIF->dssiSynth()->inControls();
- _oscControlFifos = new OscControlFifo[ports];
- }
+ //if(_oscSynthIF && _oscSynthIF->dssiSynth())
+ //{
+ // unsigned long ports = _oscSynthIF->dssiSynth()->inControls();
+ // _oscControlFifos = new OscControlFifo[ports];
+ //}
}
//---------------------------------------------------------
@@ -1327,15 +1330,15 @@ bool OscDssiIF::oscInitGui()
void OscEffectIF::oscSetPluginI(PluginI* s)
{
_oscPluginI = s;
- if(_oscControlFifos)
- delete[] _oscControlFifos;
- _oscControlFifos = 0;
+ //if(_oscControlFifos)
+ // delete[] _oscControlFifos;
+ //_oscControlFifos = 0;
- if(_oscPluginI && _oscPluginI->plugin())
- {
- unsigned long ports = _oscPluginI->plugin()->controlInPorts();
- _oscControlFifos = new OscControlFifo[ports];
- }
+ //if(_oscPluginI && _oscPluginI->plugin())
+ //{
+ // unsigned long ports = _oscPluginI->plugin()->controlInPorts();
+ // _oscControlFifos = new OscControlFifo[ports];
+ //}
}
//---------------------------------------------------------