summaryrefslogtreecommitdiff
path: root/libs/ardour/smf_source.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/smf_source.cc')
-rw-r--r--libs/ardour/smf_source.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/ardour/smf_source.cc b/libs/ardour/smf_source.cc
index 405f12881a..cb5f498bca 100644
--- a/libs/ardour/smf_source.cc
+++ b/libs/ardour/smf_source.cc
@@ -428,6 +428,7 @@ void
SMFSource::load_model (bool lock, bool force_reload)
{
if (_writing) {
+ cout << "early out\n";
return;
}
@@ -436,15 +437,16 @@ SMFSource::load_model (bool lock, bool force_reload)
lm = boost::shared_ptr<Glib::Mutex::Lock>(new Glib::Mutex::Lock(_lock));
if (_model && !force_reload) {
+ cout << "earlyish out\n";
return;
}
if (! _model) {
_model = boost::shared_ptr<MidiModel>(new MidiModel(this));
- //cerr << _name << " loaded new model " << _model.get() << endl;
+ cerr << _name << " loaded new model " << _model.get() << endl;
} else {
- /*cerr << _name << " reloading model " << _model.get()
- << " (" << _model->n_notes() << " notes)" << endl;*/
+ cerr << _name << " reloading model " << _model.get()
+ << " (" << _model->n_notes() << " notes)" << endl;
_model->clear();
}