summaryrefslogtreecommitdiff
path: root/libs/ardour/export_channel.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 /libs/ardour/export_channel.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 'libs/ardour/export_channel.cc')
-rw-r--r--libs/ardour/export_channel.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/libs/ardour/export_channel.cc b/libs/ardour/export_channel.cc
index 8f83c0a7fb..8deb31956d 100644
--- a/libs/ardour/export_channel.cc
+++ b/libs/ardour/export_channel.cc
@@ -113,14 +113,14 @@ PortExportChannel::set_state (XMLNode * node, Session & session)
}
}
-RegionExportChannelFactory::RegionExportChannelFactory (Session * session, AudioRegion const & region, AudioTrack & track, Type type) :
- region (region),
- track (track),
- type (type),
- frames_per_cycle (session->engine().frames_per_cycle ()),
- buffers_up_to_date (false),
- region_start (region.position()),
- position (region_start)
+RegionExportChannelFactory::RegionExportChannelFactory (Session * session, AudioRegion const & region, AudioTrack & track, Type type)
+ : region (region)
+ , track (track)
+ , type (type)
+ , frames_per_cycle (session->engine().frames_per_cycle ())
+ , buffers_up_to_date (false)
+ , region_start (region.position())
+ , position (region_start)
{
switch (type) {
case Raw:
@@ -190,10 +190,10 @@ RegionExportChannelFactory::update_buffers (framecnt_t frames)
region.read_at (buffers.get_audio (channel).data(), mixdown_buffer.get(), gain_buffer.get(), position, frames, channel);
}
break;
- case Processed:
- track.export_stuff (buffers, position, frames);
+ case Processed:
+ track.export_stuff (buffers, position, frames, track.main_outs(), true, true);
break;
- default:
+ default:
throw ExportFailed ("Unhandled type in ExportChannelFactory::update_buffers");
}