mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 06:06:25 +01:00
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:
parent
544f62d4be
commit
efff8551cd
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue