diff options
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, |