diff options
Diffstat (limited to 'libs/ardour/ardour/automation_watch.h')
-rw-r--r-- | libs/ardour/ardour/automation_watch.h | 4 |
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; |