From bd3f48aaa7cd07b830f92af49beef5a4e2b71985 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 15 Jan 2010 00:17:37 +0000 Subject: Fix assertion failure on region bounce. git-svn-id: svn://localhost/ardour2/branches/3.0@6489 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/export_channel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/export_channel.cc') 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 () -- cgit v1.2.3