diff --git a/libs/ardour/ardour/smf_source.h b/libs/ardour/ardour/smf_source.h index e92ae59c3f..470e84b0cc 100644 --- a/libs/ardour/ardour/smf_source.h +++ b/libs/ardour/ardour/smf_source.h @@ -114,7 +114,7 @@ class SMFSource : public MidiSource, public Evoral::SMF { bool removable() const; bool writable() const { return _flags & Writable; } - void make_sure_controls_have_the_right_interpolation(); + void set_default_controls_interpolation(); Glib::ustring _path; Flag _flags; diff --git a/libs/ardour/smf_source.cc b/libs/ardour/smf_source.cc index ea558ea281..6d80857e7b 100644 --- a/libs/ardour/smf_source.cc +++ b/libs/ardour/smf_source.cc @@ -248,7 +248,7 @@ SMFSource::write_unlocked (MidiRingBuffer& src, nframes_t cnt) } if (_model) { - make_sure_controls_have_the_right_interpolation(); + set_default_controls_interpolation(); } Evoral::SMF::flush(); @@ -669,7 +669,7 @@ SMFSource::load_model(bool lock, bool force_reload) } } - make_sure_controls_have_the_right_interpolation(); + set_default_controls_interpolation(); _model->end_write(false); _model->set_edited(false); @@ -680,7 +680,7 @@ SMFSource::load_model(bool lock, bool force_reload) #define LINEAR_INTERPOLATION_MODE_WORKS_PROPERLY 0 void -SMFSource::make_sure_controls_have_the_right_interpolation() +SMFSource::set_default_controls_interpolation() { // set interpolation style to defaults, can be changed by the GUI later Evoral::ControlSet::Controls controls = _model->controls();