diff options
author | Julien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr> | 2017-08-24 11:40:19 +0200 |
---|---|---|
committer | Julien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr> | 2017-08-24 15:41:40 +0200 |
commit | 9c793759c81c306f9cf1dcf8e0be40a4ef16f795 (patch) | |
tree | 63d855e5238668ebd17c72490596783e3b9a6ec8 /libs/ardour/ardour/io.h | |
parent | cc7243d4ced5b5f7039a556f7459a67edf48ea9a (diff) |
Remove all manual accounting of connected user bundles
IO used to manually keep a list of user bundles it was connected to, but
it didn't work correctly: sometimes it didn't notice that a bundle
wasn't connected anymore, and the list wasn't correctly persisted across
save/reloads among other things.
Moreover, it wasn't needed at all, since the user bundles are correctly
listed by _session.bundles() and IO already notices they are connected !
Remove all occurrences of |_bundles_connected| and |check_bundles_connected|.
Diffstat (limited to 'libs/ardour/ardour/io.h')
-rw-r--r-- | libs/ardour/ardour/io.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libs/ardour/ardour/io.h b/libs/ardour/ardour/io.h index ce47ec54a5..571737e5a9 100644 --- a/libs/ardour/ardour/io.h +++ b/libs/ardour/ardour/io.h @@ -225,15 +225,11 @@ class LIBARDOUR_API IO : public SessionObject, public Latent PBD::ScopedConnection changed; }; - std::vector<UserBundleInfo*> _bundles_connected; ///< user bundles connected to our ports - static int parse_io_string (const std::string&, std::vector<std::string>& chns); static int parse_gain_string (const std::string&, std::vector<std::string>& chns); int ensure_ports (ChanCount, bool clear, void *src); - void check_bundles_connected (); - void bundle_changed (Bundle::Change); int get_port_counts (const XMLNode& node, int version, ChanCount& n, boost::shared_ptr<Bundle>& c); |