Fix most absurd function name I've seen in a while.
authorDavid Robillard <d@drobilla.net>
Sat, 14 Feb 2009 17:59:58 +0000 (17:59 +0000)
committerDavid Robillard <d@drobilla.net>
Sat, 14 Feb 2009 17:59:58 +0000 (17:59 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@4555 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/ardour/smf_source.h
libs/ardour/smf_source.cc

index e92ae59c3fbe7f61e531dca2953fd910dab1437b..470e84b0cc1b798d42c1574befc11cfab1562183 100644 (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;
index ea558ea281416217336f1c3bef63545675032735..6d80857e7bcc624563aa0c3ef949c97500862e2a 100644 (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();