mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-28 09:27:39 +01:00
Fix crash due to incorrect buffer count.
This will probably hit that assertion as well, but that needs to be fixed at the configuration stage, or with better logic... git-svn-id: svn://localhost/ardour2/branches/3.0@6480 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
11bd4eed89
commit
4e4c75a34a
1 changed files with 1 additions and 5 deletions
|
|
@ -452,11 +452,7 @@ Route::process_output_buffers (BufferSet& bufs,
|
|||
assert (bufs.count() == (*i)->input_streams());
|
||||
|
||||
(*i)->run (bufs, start_frame, end_frame, nframes, *i != _processors.back());
|
||||
bufs.set_count (ChanCount::max(bufs.count(), (*i)->output_streams()));
|
||||
}
|
||||
|
||||
if (!_processors.empty()) {
|
||||
bufs.set_count (ChanCount::max (bufs.count(), _processors.back()->output_streams()));
|
||||
bufs.set_count ((*i)->output_streams());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue