projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't display empty tabs in the port matrix.
[ardour.git]
/
libs
/
ardour
/
source_factory.cc
diff --git
a/libs/ardour/source_factory.cc
b/libs/ardour/source_factory.cc
index 05e7513da9f6c519b9754b1c4d17ecb19b16bc61..357dbbadf8968b6395ac5cbfd8cfb10002f9369e 100644
(file)
--- 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) {
return ret;
} else if (type == DataType::MIDI) {
-
- Source* src = new SMFSource (s, path, S
ource::Flag(0));
+ // XXX writable flags should belong to MidiSource too
+ Source* src = new SMFSource (s, path, S
ndFileSource::default_writable_flags);
// boost_debug_shared_ptr_mark_interesting (src, "Source");
boost::shared_ptr<Source> ret (src);
// boost_debug_shared_ptr_mark_interesting (src, "Source");
boost::shared_ptr<Source> ret (src);