summaryrefslogtreecommitdiff
path: root/libs/ardour/session_timefx.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/session_timefx.cc')
-rw-r--r--libs/ardour/session_timefx.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/ardour/session_timefx.cc b/libs/ardour/session_timefx.cc
index 4ba8d42d9e..b5b143514c 100644
--- a/libs/ardour/session_timefx.cc
+++ b/libs/ardour/session_timefx.cc
@@ -82,8 +82,7 @@ Session::tempoize_region (TimeStretchRequest& tsr)
}
try {
- sources.push_back (boost::dynamic_pointer_cast<AudioFileSource> (
- SourceFactory::createWritable (DataType::AUDIO, path, false, frame_rate())));
+ sources.push_back (boost::dynamic_pointer_cast<AudioFileSource> (SourceFactory::createWritable (DataType::AUDIO, *this, path, false, frame_rate())));
} catch (failed_constructor& err) {
error << string_compose (_("tempoize: error creating new audio file %1 (%2)"), path, strerror (errno)) << endmsg;