for the Auditioner only, do not reset the buffer count for scratch buffers to the input configuration, since the input config is irrelevant (data comes only from disk, no passthru). Should fix #5427 and #5432)

This commit is contained in:
Paul Davis
2013-04-06 09:52:11 -04:00
parent b023273d01
commit c7f4a20e89

View File

@@ -4238,8 +4238,11 @@ Route::fill_buffers_with_input (BufferSet& bufs, boost::shared_ptr<IO> io, pfram
}
/* establish the initial setup of the buffer set, reflecting what was
copied into it.
copied into it. unless, of course, we are the auditioner, in which
case nothing was fed into it from the inputs at all.
*/
bufs.set_count (io->n_ports());
if (!is_hidden()) {
bufs.set_count (io->n_ports());
}
}