summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-01-08 20:28:42 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2021-01-08 20:28:42 +0100
commitd1d53e5a83d981e190aed52b95a18f6ffa0d784f (patch)
treed330300e5e67a80819d81b4fe2f30b66f010243e /src
parent756da05c384e3d9258fc07cf9441d899238503f1 (diff)
Fix directed choke regression error.
Diffstat (limited to 'src')
-rw-r--r--src/inputprocessor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputprocessor.cc b/src/inputprocessor.cc
index fd6e5b9..4bafb1d 100644
--- a/src/inputprocessor.cc
+++ b/src/inputprocessor.cc
@@ -192,7 +192,7 @@ static void applyDirectedChoke(Settings& settings, DrumKit& kit,
event_sample.rampdown_count == -1) // Only if not already ramping.
{
// choke.choketime is in ms
- applyChoke(settings, event_sample, choke.choketime, event_sample.offset);
+ applyChoke(settings, event_sample, choke.choketime, event.offset);
}
}
}