summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/bundle.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-08 02:10:56 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-08 02:10:56 +0000
commit19e97d1d64e8aa6d87d79d1f6332065992e5e027 (patch)
tree0b68797f47972b13929236b976035ae95f3c1011 /libs/ardour/ardour/bundle.h
parent9fa8238d9d4ebda14d60cc2256d721a0405b5fa0 (diff)
Attempt to fix some confusions caused by bundles containing
different types of port; if we loop over N MIDI channels of a mixed bundle, for example, we must convert 0...N to the indices of the channels within the bundle. Also remove the hack of creating new bundles to contain a subset of another bundle's ports; if you do this, any signals emitted by the other bundle are ignored. Should fix #4454. git-svn-id: svn://localhost/ardour2/branches/3.0@10490 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/bundle.h')
-rw-r--r--libs/ardour/ardour/bundle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/bundle.h b/libs/ardour/ardour/bundle.h
index 6b8586a46a..821dd57896 100644
--- a/libs/ardour/ardour/bundle.h
+++ b/libs/ardour/ardour/bundle.h
@@ -100,6 +100,7 @@ class Bundle : public PBD::ScopedConnectionList
void disconnect (boost::shared_ptr<Bundle>, AudioEngine &);
bool connected_to (boost::shared_ptr<Bundle>, AudioEngine &);
bool has_same_ports (boost::shared_ptr<Bundle>) const;
+ uint32_t type_channel_to_overall (DataType, uint32_t) const;
void set_name (std::string const &);