summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
}
}