Remove idiocy.
git-svn-id: svn://localhost/ardour2/branches/3.0@5930 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
8d168bda87
commit
7d9e782c3a
@ -454,8 +454,6 @@ SMFSource::load_model (bool lock, bool force_reload)
|
||||
free(buf);
|
||||
}
|
||||
|
||||
#define LINEAR_INTERPOLATION_MODE_WORKS_PROPERLY 0
|
||||
|
||||
void
|
||||
SMFSource::set_default_controls_interpolation ()
|
||||
{
|
||||
@ -463,12 +461,7 @@ SMFSource::set_default_controls_interpolation ()
|
||||
Evoral::ControlSet::Controls controls = _model->controls();
|
||||
for (Evoral::ControlSet::Controls::iterator c = controls.begin(); c != controls.end(); ++c) {
|
||||
(*c).second->list()->set_interpolation(
|
||||
// to be enabled when ControlList::rt_safe_earliest_event_linear_unlocked works properly
|
||||
#if LINEAR_INTERPOLATION_MODE_WORKS_PROPERLY
|
||||
EventTypeMap::instance().interpolation_of((*c).first));
|
||||
#else
|
||||
Evoral::ControlList::Discrete);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user