13
0

Fix most absurd function name I've seen in a while.

git-svn-id: svn://localhost/ardour2/branches/3.0@4555 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2009-02-14 17:59:58 +00:00
parent b2a051f6c6
commit b35f308894
2 changed files with 4 additions and 4 deletions

View File

@ -114,7 +114,7 @@ class SMFSource : public MidiSource, public Evoral::SMF<double> {
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;

View File

@ -248,7 +248,7 @@ SMFSource::write_unlocked (MidiRingBuffer<double>& src, nframes_t cnt)
}
if (_model) {
make_sure_controls_have_the_right_interpolation();
set_default_controls_interpolation();
}
Evoral::SMF<double>::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();