int
ExportGraphBuilder::process (nframes_t frames, bool last_cycle)
{
- assert(frames == process_buffer_frames);
+ 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);
+ it->first->read (process_buffer, frames);
+ ProcessContext<Sample> context(process_buffer, frames, 1);
if (last_cycle) { context.set_flag (ProcessContext<Sample>::EndOfInput); }
it->second->process (context);
}