summaryrefslogtreecommitdiff
path: root/libs/ardour/filter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/filter.cc')
-rw-r--r--libs/ardour/filter.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/filter.cc b/libs/ardour/filter.cc
index 382e6d9d86..36a74da0f5 100644
--- a/libs/ardour/filter.cc
+++ b/libs/ardour/filter.cc
@@ -75,19 +75,19 @@ Filter::make_new_sources (boost::shared_ptr<Region> region, SourceList& nsrcs, s
sample_rate = session.frame_rate();
} else {
boost::shared_ptr<AudioRegion> aregion = boost::dynamic_pointer_cast<AudioRegion>(region);
-
+
if (aregion) {
sample_rate = aregion->audio_source()->sample_rate();
} else {
return -1;
}
}
-
+
nsrcs.push_back (boost::dynamic_pointer_cast<Source> (
SourceFactory::createWritable (region->data_type(), session,
path, false, sample_rate)));
}
-
+
catch (failed_constructor& err) {
error << string_compose (_("filter: error creating new file %1 (%2)"), path, strerror (errno)) << endmsg;
return -1;