summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-07-22 15:40:27 +0200
committerRobin Gareus <robin@gareus.org>2017-07-22 15:40:27 +0200
commit24829c93b8512d83b6de73abdf43fdfff07260c7 (patch)
tree4b42831723ded743efca75a4f7b166ee872fc290 /libs/ardour/ardour
parent48ec6dd5c43cfb1f185fcc59941654e20de80f84 (diff)
AutomationWatch: single DropReferences connection per AC
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r--libs/ardour/ardour/automation_watch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/ardour/automation_watch.h b/libs/ardour/ardour/automation_watch.h
index 6822a38b4a..75bb553b47 100644
--- a/libs/ardour/ardour/automation_watch.h
+++ b/libs/ardour/ardour/automation_watch.h
@@ -33,7 +33,7 @@ namespace ARDOUR {
class AutomationControl;
-class LIBARDOUR_API AutomationWatch : public sigc::trackable, public ARDOUR::SessionHandlePtr, public PBD::ScopedConnectionList {
+class LIBARDOUR_API AutomationWatch : public sigc::trackable, public ARDOUR::SessionHandlePtr {
public:
static AutomationWatch& instance();
@@ -46,6 +46,7 @@ class LIBARDOUR_API AutomationWatch : public sigc::trackable, public ARDOUR::Ses
private:
typedef std::set<boost::shared_ptr<ARDOUR::AutomationControl> > AutomationWatches;
+ typedef std::map<boost::shared_ptr<ARDOUR::AutomationControl>, PBD::ScopedConnection> AutomationConnection;
AutomationWatch ();
~AutomationWatch();
@@ -55,6 +56,7 @@ class LIBARDOUR_API AutomationWatch : public sigc::trackable, public ARDOUR::Ses
framepos_t _last_time;
bool _run_thread;
AutomationWatches automation_watches;
+ AutomationConnection automation_connections;
Glib::Threads::Mutex automation_watch_lock;
PBD::ScopedConnection transport_connection;