From 66a9112d48b5726f61eec7ce4cfc4bd15b9420d0 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 9 Nov 2010 18:19:53 +0000 Subject: add "origin" property to FileSource so that we can track multiple imports git-svn-id: svn://localhost/ardour2/branches/3.0@7986 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/source_factory.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/source_factory.cc') diff --git a/libs/ardour/source_factory.cc b/libs/ardour/source_factory.cc index ca1dc3b354..c9f7386c00 100644 --- a/libs/ardour/source_factory.cc +++ b/libs/ardour/source_factory.cc @@ -256,13 +256,13 @@ SourceFactory::createReadable (DataType type, Session& s, const string& path, } boost::shared_ptr -SourceFactory::createWritable (DataType type, Session& s, const std::string& path, +SourceFactory::createWritable (DataType type, Session& s, const std::string& path, const std::string& origin, bool destructive, nframes_t rate, bool announce, bool defer_peaks) { /* this might throw failed_constructor(), which is OK */ if (type == DataType::AUDIO) { - Source* src = new SndFileSource (s, path, + Source* src = new SndFileSource (s, path, origin, s.config.get_native_file_data_format(), s.config.get_native_file_header_format(), rate, -- cgit v1.2.3