Set the scratch bufs count up in passthru_silence, like it's done in passthru.
authorCarl Hetherington <carl@carlh.net>
Wed, 14 Oct 2009 22:29:33 +0000 (22:29 +0000)
committerCarl Hetherington <carl@carlh.net>
Wed, 14 Oct 2009 22:29:33 +0000 (22:29 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@5780 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/route.cc

index 862dbdece73d483d5f135df77acfd257b579f701..95b651b6caab57376de160658cef13e0df589c3b 100644 (file)
@@ -487,6 +487,7 @@ void
 Route::passthru_silence (sframes_t start_frame, sframes_t end_frame, nframes_t nframes, int declick)
 {
        BufferSet& bufs (_session.get_silent_buffers (n_process_buffers()));
+       bufs.set_count (_input->n_ports());
        write_out_of_band_data (bufs, start_frame, end_frame, nframes);
        process_output_buffers (bufs, start_frame, end_frame, nframes, true, declick);
 }