summaryrefslogtreecommitdiff
path: root/src/inputprocessor.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-07-28 18:46:45 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-07-28 18:46:45 +0200
commit62f7f2b2b004162b06af844dbc1a3cda696cfd9e (patch)
treea43e18a9560edcda902fddd94139063cebea2afe /src/inputprocessor.cc
parent17dbc476f4c2d984d083d66d142cca496ed5f84e (diff)
Fix aftertouch choke regression error.
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 4bafb1d..abd2898 100644
--- a/src/inputprocessor.cc
+++ b/src/inputprocessor.cc
@@ -336,7 +336,7 @@ bool InputProcessor::processChoke(event_t& event,
event_sample.rampdown_count == -1) // Only if not already ramping.
{
// Fixed group rampdown time of 68ms, independent of samplerate
- applyChoke(settings, event_sample, 68, event_sample.offset);
+ applyChoke(settings, event_sample, 68, event.offset);
}
}
}