diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-03-30 14:02:26 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-03-30 14:02:26 -0400 |
commit | b691d4bf04b46059c09e144e34fc58504926ef06 (patch) | |
tree | fca444144590883ef1b3b6b77da1c85104b51429 /libs/ardour/filter.cc | |
parent | 864ce8f0d1aaefdbf7cb582b9ed34d669e81c468 (diff) |
fix up some confusion with filesources' _origin and _file_is_new members. if _origin is set, it means that the file is "external" to the session (aka "embedded") and for some purposes this is more significant than _file_is_new. rename SourceFactory::createReadable() to ::createExternal() to more clearly indicate its purpose; remove never-supplied "origin" argument from SourceFactor::createWritable(). Fixes problems caused by 864ce8f0
Diffstat (limited to 'libs/ardour/filter.cc')
-rw-r--r-- | libs/ardour/filter.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/filter.cc b/libs/ardour/filter.cc index 67aa840cad..b085ec946b 100644 --- a/libs/ardour/filter.cc +++ b/libs/ardour/filter.cc @@ -71,7 +71,7 @@ Filter::make_new_sources (boost::shared_ptr<Region> region, SourceList& nsrcs, s try { nsrcs.push_back (boost::dynamic_pointer_cast<Source> ( SourceFactory::createWritable (region->data_type(), session, - path, string(), false, session.frame_rate()))); + path, false, session.frame_rate()))); } catch (failed_constructor& err) { |