diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-09 18:19:53 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-09 18:19:53 +0000 |
commit | 66a9112d48b5726f61eec7ce4cfc4bd15b9420d0 (patch) | |
tree | 19b5d8a878857c3f2a4062c040ae268660e6ff12 /libs/ardour/source_factory.cc | |
parent | cbaba7758814ef4b71e9f0f2d7a50797ba51a219 (diff) |
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
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 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<Source> -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, |