diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-06-26 13:45:59 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-06-26 13:45:59 +0000 |
commit | 37978aa21437b9bb308efeb9828fbe4a06077cee (patch) | |
tree | f7b3b681e0e42c233ded6715ea824114d9e5c3ec /libs/ardour/source_factory.cc | |
parent | ecb0cd5d119d28092a8f48e4521ac5eba197bb54 (diff) |
lots of details relating to MIDI file management; try to ignore ALSA sequencer MIDI ports named "Midi-Through"
git-svn-id: svn://localhost/ardour2/branches/3.0@7305 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/source_factory.cc')
-rw-r--r-- | libs/ardour/source_factory.cc | 4 |
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); |