diff options
author | Robin Gareus <robin@gareus.org> | 2016-04-06 02:01:17 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-04-06 02:01:17 +0200 |
commit | 021a52cc7562aa1c577519c6564ecf55619dba05 (patch) | |
tree | 0bd36c2ec7634247177de45c6d4093e8dc8c6827 /libs/ardour/ardour/route.h | |
parent | 45019517d7d01d4af974bf0c9ab0a11dec233abb (diff) |
Route API to query all outputs (incl sends) and graph-feeds
Diffstat (limited to 'libs/ardour/ardour/route.h')
-rw-r--r-- | libs/ardour/ardour/route.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h index 3cd225aa33..5cda2f0d59 100644 --- a/libs/ardour/ardour/route.h +++ b/libs/ardour/ardour/route.h @@ -91,6 +91,7 @@ class LIBARDOUR_API Route : public SessionObject, public Automatable, public Rou boost::shared_ptr<IO> input() const { return _input; } boost::shared_ptr<IO> output() const { return _output; } IOVector all_inputs () const; + IOVector all_outputs () const; ChanCount n_inputs() const { return _input->n_ports(); } ChanCount n_outputs() const { return _output->n_ports(); } @@ -371,6 +372,8 @@ class LIBARDOUR_API Route : public SessionObject, public Automatable, public Rou */ bool direct_feeds_according_to_graph (boost::shared_ptr<Route>, bool* via_send_only = 0); + bool feeds_according_to_graph (boost::shared_ptr<Route>); + struct FeedRecord { boost::weak_ptr<Route> r; bool sends_only; |