From 022818b4a796f52c0a91eea42e65aec0bc7bed43 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 17 Feb 2009 02:11:49 +0000 Subject: Fix the horrible mess that was anything related to sources and paths. Most significant changes: - Factor out FileSource from AudioFileSource, use for SMFSource too - Explicitly pass embedded rather than mysterious name mangling or whatever - Destroy a ton of duplicated or very-nearly-duplicated code - Clean up and document all that weird source stuff in session.cc git-svn-id: svn://localhost/ardour2/branches/3.0@4609 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/filter.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libs/ardour/filter.cc') diff --git a/libs/ardour/filter.cc b/libs/ardour/filter.cc index 0075555773..30393a145d 100644 --- a/libs/ardour/filter.cc +++ b/libs/ardour/filter.cc @@ -66,7 +66,9 @@ Filter::make_new_sources (boost::shared_ptr region, SourceList& nsrcs, s try { nsrcs.push_back (boost::dynamic_pointer_cast ( - SourceFactory::createWritable (region->data_type(), session, path, false, session.frame_rate()))); + SourceFactory::createWritable (region->data_type(), session, + path, true, + false, session.frame_rate()))); } catch (failed_constructor& err) { -- cgit v1.2.3