Enable smoothing for CC

This commit is contained in:
Jean Pierre Cimalando 2020-07-27 21:00:13 +02:00
parent 5835255d07
commit 652d0c898d

View file

@ -86,10 +86,7 @@ void ControllerSource::generate(const ModKey& sourceKey, NumericId<Voice> voiceI
auto it = impl_->smoother_.find(sourceKey);
if (it != impl_->smoother_.end()) {
Smoother& s = it->second;
#pragma message("TODO: implement CC shortcut")
bool canShortcut = false;
bool canShortcut = events.size() == 1;
s.process(buffer, buffer, canShortcut);
}
}