summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/track.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-12-10 22:28:29 +0000
committerCarl Hetherington <carl@carlh.net>2010-12-10 22:28:29 +0000
commit86ac707573a5f5124c4a26b4e48e9756415700c4 (patch)
tree58dda1c31bc0349578bd7ff674d539054180809d /libs/ardour/ardour/track.h
parent8387e1bff87e1bed31a807f993a001a967bca51a (diff)
Stop bounce / freeze on tracks that have more outputs than inputs and so cannot record all the outputs in their diskstreams. Fix buffer shortage when bouncing tracks whose processing chains temporarily need more buffers than there are inputs. Fixes #3573.
git-svn-id: svn://localhost/ardour2/branches/3.0@8239 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/track.h')
-rw-r--r--libs/ardour/ardour/track.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/ardour/track.h b/libs/ardour/ardour/track.h
index 5087ddda3a..36e6aefc23 100644
--- a/libs/ardour/ardour/track.h
+++ b/libs/ardour/ardour/track.h
@@ -99,6 +99,11 @@ class Track : public Route, public PublicDiskstream
void set_block_size (pframes_t);
+ /** @return true if the track can be bounced, or false if it cannot because
+ * it has more outputs than diskstream channels.
+ */
+ virtual bool bounceable () const = 0;
+
/* PublicDiskstream interface */
boost::shared_ptr<Playlist> playlist ();
void monitor_input (bool);