summaryrefslogtreecommitdiff
path: root/libs/ardour/export_channel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-01-15 00:17:37 +0000
committerCarl Hetherington <carl@carlh.net>2010-01-15 00:17:37 +0000
commitbd3f48aaa7cd07b830f92af49beef5a4e2b71985 (patch)
tree0fa16cf516997e3a5ce92d9b0d32038dc204c5fb /libs/ardour/export_channel.cc
parent519869c4a6cd43a90c5228977d025bf54f82a988 (diff)
Fix assertion failure on region bounce.
git-svn-id: svn://localhost/ardour2/branches/3.0@6489 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/export_channel.cc')
-rw-r--r--libs/ardour/export_channel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/export_channel.cc b/libs/ardour/export_channel.cc
index 80e672038e..a09e6e21b6 100644
--- a/libs/ardour/export_channel.cc
+++ b/libs/ardour/export_channel.cc
@@ -110,8 +110,8 @@ RegionExportChannelFactory::RegionExportChannelFactory (Session * session, Audio
session->ProcessExport.connect_same_thread (export_connection, boost::bind (&RegionExportChannelFactory::new_cycle_started, this, _1));
- buffers.set_count (ChanCount (DataType::AUDIO, n_channels));
buffers.ensure_buffers (DataType::AUDIO, n_channels, frames_per_cycle);
+ buffers.set_count (ChanCount (DataType::AUDIO, n_channels));
}
RegionExportChannelFactory::~RegionExportChannelFactory ()