Browse Source

Misc

tags/1.9.7
falkTX 9 years ago
parent
commit
c91d7ab241
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      source/backend/engine/CarlaEngineGraph.cpp

+ 2
- 4
source/backend/engine/CarlaEngineGraph.cpp View File

@@ -791,11 +791,11 @@ void RackGraph::process(CarlaEngine::ProtectedData* const data, const float* inB
// initialize event outputs (zero) // initialize event outputs (zero)
carla_zeroStruct<EngineEvent>(data->events.out, kMaxEngineEventInternalCount); carla_zeroStruct<EngineEvent>(data->events.out, kMaxEngineEventInternalCount);


bool processed = false;

uint32_t oldAudioInCount = 0; uint32_t oldAudioInCount = 0;
uint32_t oldAudioOutCount = 0; uint32_t oldAudioOutCount = 0;
uint32_t oldMidiOutCount = 0; uint32_t oldMidiOutCount = 0;
bool processed = false;
juce::Range<float> range;


// process plugins // process plugins
for (uint i=0; i < data->curPluginCount; ++i) for (uint i=0; i < data->curPluginCount; ++i)
@@ -860,8 +860,6 @@ void RackGraph::process(CarlaEngine::ProtectedData* const data, const float* inB
{ {
EnginePluginData& pluginData(data->plugins[i]); EnginePluginData& pluginData(data->plugins[i]);


juce::Range<float> range;

if (oldAudioInCount > 0) if (oldAudioInCount > 0)
{ {
range = FloatVectorOperations::findMinAndMax(inBuf0, iframes); range = FloatVectorOperations::findMinAndMax(inBuf0, iframes);


Loading…
Cancel
Save