From c17da55eaa1c0bbfd1e3ca7b981b394c34193e16 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 14 Oct 2009 22:29:33 +0000 Subject: [PATCH] Set the scratch bufs count up in passthru_silence, like it's done in passthru. git-svn-id: svn://localhost/ardour2/branches/3.0@5780 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/route.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 862dbdece7..95b651b6ca 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -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); }