From c91d7ab241b69477803f37b14787992b949711a5 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 4 Apr 2015 12:51:00 +0200 Subject: [PATCH] Misc --- source/backend/engine/CarlaEngineGraph.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/backend/engine/CarlaEngineGraph.cpp b/source/backend/engine/CarlaEngineGraph.cpp index 3890da3eb..e21a29c37 100644 --- a/source/backend/engine/CarlaEngineGraph.cpp +++ b/source/backend/engine/CarlaEngineGraph.cpp @@ -791,11 +791,11 @@ void RackGraph::process(CarlaEngine::ProtectedData* const data, const float* inB // initialize event outputs (zero) carla_zeroStruct(data->events.out, kMaxEngineEventInternalCount); - bool processed = false; - uint32_t oldAudioInCount = 0; uint32_t oldAudioOutCount = 0; uint32_t oldMidiOutCount = 0; + bool processed = false; + juce::Range range; // process plugins 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]); - juce::Range range; - if (oldAudioInCount > 0) { range = FloatVectorOperations::findMinAndMax(inBuf0, iframes);