mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-19 13:16:27 +01:00
Fix invalid assertion from previous commit, and possibly fix having random garbage at end of export.
git-svn-id: svn://localhost/ardour2/branches/3.0@7950 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
efff8551cd
commit
a41525c3f7
1 changed files with 3 additions and 3 deletions
|
|
@ -40,11 +40,11 @@ ExportGraphBuilder::~ExportGraphBuilder ()
|
|||
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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue