Do not announce exported MIDI files
This would otherwise trigger ARDOUR::Session::add_source which will add the external path to as session search location.
This commit is contained in:
parent
57a93380b6
commit
01d964b176
@ -105,7 +105,7 @@ MidiRegion::do_export (string const& path) const
|
||||
/* caller must check for pre-existing file */
|
||||
assert (!path.empty());
|
||||
assert (!Glib::file_test (path, Glib::FILE_TEST_EXISTS));
|
||||
newsrc = boost::dynamic_pointer_cast<MidiSource>(SourceFactory::createWritable(DataType::MIDI, _session, path, false, _session.sample_rate()));
|
||||
newsrc = boost::dynamic_pointer_cast<MidiSource> (SourceFactory::createWritable (DataType::MIDI, _session, path, _session.sample_rate (), false, true));
|
||||
|
||||
{
|
||||
/* Lock our source since we'll be reading from it. write_to() will
|
||||
|
Loading…
Reference in New Issue
Block a user