summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_export_audio.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-03-15 21:40:17 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-03-15 21:40:17 +0000
commitf07ca6397f5699e4dc4ec1e360f9e263d8a0d9ad (patch)
tree67d6fd1dea33e5adc8f84886dfeeaa46ca84051e /gtk2_ardour/editor_export_audio.cc
parentcfaf6ff7e3726bdfa97516fe683dc3cf93c62223 (diff)
radically rethink export/bounce/freeze code design. probably not 100% done by freeze+unfreeze now work and behave sensibly w.r.t. processors that do routing
git-svn-id: svn://localhost/ardour2/branches/3.0@11701 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_export_audio.cc')
-rw-r--r--gtk2_ardour/editor_export_audio.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_export_audio.cc b/gtk2_ardour/editor_export_audio.cc
index 4a0424eb87..ac0c3f67c4 100644
--- a/gtk2_ardour/editor_export_audio.cc
+++ b/gtk2_ardour/editor_export_audio.cc
@@ -161,7 +161,13 @@ Editor::bounce_region_selection (bool with_processing)
InterThreadInfo itt;
- boost::shared_ptr<Region> r = track->bounce_range (region->position(), region->position() + region->length(), itt, with_processing);
+ boost::shared_ptr<Region> r;
+
+ if (with_processing) {
+ r = track->bounce_range (region->position(), region->position() + region->length(), itt, track->main_outs(), false);
+ } else {
+ r = track->bounce_range (region->position(), region->position() + region->length(), itt, boost::shared_ptr<Processor>(), false);
+ }
}
}