Browse Source

Misc

tags/1.9.7
falkTX 10 years ago
parent
commit
304a8f54bc
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      source/plugin/carla-lv2.cpp

+ 4
- 4
source/plugin/carla-lv2.cpp View File

@@ -258,10 +258,7 @@ public:
{
fIsOffline = (fPorts.freewheel != nullptr && *fPorts.freewheel >= 0.5f);

if (frames == 0)
return updateParameterOutputs();

// cache midi events and time information
// cache midi events and time information first
if (fDescriptor->midiIns > 0 || (fDescriptor->hints & NATIVE_PLUGIN_USES_TIME) != 0)
{
fMidiEventCount = 0;
@@ -522,6 +519,9 @@ public:
fDescriptor->set_parameter_value(fHandle, i, curValue);
}

if (frames != 0)
return updateParameterOutputs();

// FIXME
fDescriptor->process(fHandle, const_cast<float**>(fPorts.audioIns), fPorts.audioOuts, frames, fMidiEvents, fMidiEventCount);



Loading…
Cancel
Save