mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Revert "WebSockets: properly release strips and plugins when removed"
This reverts commit f007ba6b46.
This commit is contained in:
parent
aa69fe49f5
commit
dfe2270c9f
2 changed files with 13 additions and 76 deletions
|
|
@ -20,7 +20,6 @@
|
|||
#define _ardour_surface_websockets_feedback_h_
|
||||
|
||||
#include <boost/shared_ptr.hpp>
|
||||
#include <boost/unordered_map.hpp>
|
||||
#include <glibmm/main.h>
|
||||
|
||||
#include "component.h"
|
||||
|
|
@ -43,15 +42,9 @@ public:
|
|||
|
||||
private:
|
||||
Glib::Threads::Mutex _client_state_lock;
|
||||
PBD::ScopedConnectionList _transport_connections;
|
||||
PBD::ScopedConnectionList _signal_connections;
|
||||
sigc::connection _periodic_connection;
|
||||
|
||||
typedef boost::unordered_map<uint32_t, std::unique_ptr<PBD::ScopedConnectionList>> StripConnectionMap;
|
||||
StripConnectionMap _strip_connections;
|
||||
|
||||
typedef boost::unordered_map<uint32_t, std::unique_ptr<PBD::ScopedConnectionList>> PluginConnectionMap;
|
||||
StripConnectionMap _plugin_connections; // also holds connections to parameters
|
||||
|
||||
bool poll () const;
|
||||
|
||||
void observe_transport ();
|
||||
|
|
@ -59,9 +52,6 @@ private:
|
|||
void observe_strip_plugins (uint32_t, boost::shared_ptr<ARDOUR::Stripable>);
|
||||
void observe_strip_plugin_param_values (uint32_t, uint32_t,
|
||||
boost::shared_ptr<ARDOUR::PluginInsert>);
|
||||
|
||||
void on_drop_strip (uint32_t);
|
||||
void on_drop_plugin (uint32_t, uint32_t);
|
||||
};
|
||||
|
||||
#endif // _ardour_surface_websockets_feedback_h_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue