summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-10-14 22:29:33 +0000
committerCarl Hetherington <carl@carlh.net>2009-10-14 22:29:33 +0000
commitc17da55eaa1c0bbfd1e3ca7b981b394c34193e16 (patch)
tree503d31c35b9da0f04405b6e81861e130dbd282c8 /libs
parent969713c41e57dc595dae0631b14746abf69ef334 (diff)
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
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/route.cc1
1 files changed, 1 insertions, 0 deletions
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);
}