Add assertion to export code to make sure the buffer size hasn't changed somehow...
git-svn-id: svn://localhost/ardour2/branches/3.0@7949 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -38,8 +38,10 @@ ExportGraphBuilder::~ExportGraphBuilder ()
|
||||
}
|
||||
|
||||
int
|
||||
ExportGraphBuilder::process (nframes_t /* frames */, bool last_cycle)
|
||||
ExportGraphBuilder::process (nframes_t frames, bool last_cycle)
|
||||
{
|
||||
assert(frames == process_buffer_frames);
|
||||
|
||||
for (ChannelMap::iterator it = channels.begin(); it != channels.end(); ++it) {
|
||||
it->first->read (process_buffer, process_buffer_frames);
|
||||
ProcessContext<Sample> context(process_buffer, process_buffer_frames, 1);
|
||||
|
||||
Reference in New Issue
Block a user