summaryrefslogtreecommitdiff
path: root/libs/ardour/source_factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/source_factory.cc')
-rw-r--r--libs/ardour/source_factory.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/source_factory.cc b/libs/ardour/source_factory.cc
index 05e7513da9..357dbbadf8 100644
--- a/libs/ardour/source_factory.cc
+++ b/libs/ardour/source_factory.cc
@@ -285,8 +285,8 @@ SourceFactory::createWritable (DataType type, Session& s, const std::string& pat
return ret;
} else if (type == DataType::MIDI) {
-
- Source* src = new SMFSource (s, path, Source::Flag(0));
+ // XXX writable flags should belong to MidiSource too
+ Source* src = new SMFSource (s, path, SndFileSource::default_writable_flags);
// boost_debug_shared_ptr_mark_interesting (src, "Source");
boost::shared_ptr<Source> ret (src);