Fix assertion failure on region bounce.

git-svn-id: svn://localhost/ardour2/branches/3.0@6489 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-01-15 00:17:37 +00:00
parent 519869c4a6
commit bd3f48aaa7

View file

@ -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 ()