summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-04-06 09:52:11 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-04-06 09:52:11 -0400
commitc7f4a20e898e71f005139320f02703a8b68ac850 (patch)
tree86ad6d928889f26a3db74e7a8daf994be8eb01c2 /libs
parentb023273d01fc8925fe91de379f52091605f5fa59 (diff)
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)
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/route.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index 9f933e0a4a..b75c6509a3 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -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());
+ }
}