From 19e97d1d64e8aa6d87d79d1f6332065992e5e027 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 8 Nov 2011 02:10:56 +0000 Subject: 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 --- libs/ardour/ardour/bundle.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/ardour/ardour/bundle.h') 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, AudioEngine &); bool connected_to (boost::shared_ptr, AudioEngine &); bool has_same_ports (boost::shared_ptr) const; + uint32_t type_channel_to_overall (DataType, uint32_t) const; void set_name (std::string const &); -- cgit v1.2.3