From f5276a104c2d544cf537db9e9b8de9022de7ad56 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 28 Apr 2014 10:37:17 -0400 Subject: add new SMFSource constructor to be used for existing-external files. Fixes #5919. Needs merging with CC --- libs/ardour/source_factory.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/source_factory.cc') diff --git a/libs/ardour/source_factory.cc b/libs/ardour/source_factory.cc index 0729f21592..391b205a94 100644 --- a/libs/ardour/source_factory.cc +++ b/libs/ardour/source_factory.cc @@ -272,7 +272,7 @@ SourceFactory::createExternal (DataType type, Session& s, const string& path, } else if (type == DataType::MIDI) { - boost::shared_ptr src (new SMFSource (s, path, SMFSource::Flag(0))); + boost::shared_ptr src (new SMFSource (s, path)); src->load_model (true, true); #ifdef BOOST_SP_ENABLE_DEBUG_HOOKS // boost_debug_shared_ptr_mark_interesting (src, "Source"); -- cgit v1.2.3