summaryrefslogtreecommitdiff
path: root/src/inputprocessor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/inputprocessor.cc')
-rw-r--r--src/inputprocessor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputprocessor.cc b/src/inputprocessor.cc
index e8f4cc7..5acced8 100644
--- a/src/inputprocessor.cc
+++ b/src/inputprocessor.cc
@@ -264,7 +264,7 @@ bool InputProcessor::processChoke(event_t& event,
if(active_event->getType() == Event::sample)
{
auto& event_sample = *static_cast<EventSample*>(active_event);
- if(event_sample.instrument_id != instrument_id &&
+ if(event_sample.instrument_id == instrument_id &&
event_sample.rampdown_count == -1) // Only if not already ramping.
{
// Fixed group rampdown time of 68ms, independent of samplerate