summaryrefslogtreecommitdiff
path: root/src/inputprocessor.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-12-24 18:19:17 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2019-12-24 18:19:17 +0100
commit79d5bdcf1f568ec6fa5ad86d55bd656d4d7676db (patch)
tree8c7e9156e248e1994005f1cfe0e5e914b4fa3e09 /src/inputprocessor.cc
parent725751e68ebca681519ab99eb0bd45bbd44d7917 (diff)
Fix type-o in choke handling.
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