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:
parent
b2a051f6c6
commit
b35f308894
|
@ -114,7 +114,7 @@ class SMFSource : public MidiSource, public Evoral::SMF<double> {
|
||||||
bool removable() const;
|
bool removable() const;
|
||||||
bool writable() const { return _flags & Writable; }
|
bool writable() const { return _flags & Writable; }
|
||||||
|
|
||||||
void make_sure_controls_have_the_right_interpolation();
|
void set_default_controls_interpolation();
|
||||||
|
|
||||||
Glib::ustring _path;
|
Glib::ustring _path;
|
||||||
Flag _flags;
|
Flag _flags;
|
||||||
|
|
|
@ -248,7 +248,7 @@ SMFSource::write_unlocked (MidiRingBuffer<double>& src, nframes_t cnt)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_model) {
|
if (_model) {
|
||||||
make_sure_controls_have_the_right_interpolation();
|
set_default_controls_interpolation();
|
||||||
}
|
}
|
||||||
|
|
||||||
Evoral::SMF<double>::flush();
|
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->end_write(false);
|
||||||
_model->set_edited(false);
|
_model->set_edited(false);
|
||||||
|
@ -680,7 +680,7 @@ SMFSource::load_model(bool lock, bool force_reload)
|
||||||
#define LINEAR_INTERPOLATION_MODE_WORKS_PROPERLY 0
|
#define LINEAR_INTERPOLATION_MODE_WORKS_PROPERLY 0
|
||||||
|
|
||||||
void
|
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
|
// set interpolation style to defaults, can be changed by the GUI later
|
||||||
Evoral::ControlSet::Controls controls = _model->controls();
|
Evoral::ControlSet::Controls controls = _model->controls();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user