From 5105219076687acac15b9df85a2d7f51c7437bc8 Mon Sep 17 00:00:00 2001 From: Luciano Iam Date: Sat, 18 Apr 2020 12:44:00 +0200 Subject: WebSockets: rename *_desc nodes to *_description --- libs/surfaces/websockets/dispatcher.cc | 6 +++--- libs/surfaces/websockets/state.h | 24 ++++++++++++------------ 2 files changed, 15 insertions(+), 15 deletions(-) (limited to 'libs/surfaces') diff --git a/libs/surfaces/websockets/dispatcher.cc b/libs/surfaces/websockets/dispatcher.cc index a70677cba5..688044a8f7 100644 --- a/libs/surfaces/websockets/dispatcher.cc +++ b/libs/surfaces/websockets/dispatcher.cc @@ -63,7 +63,7 @@ WebsocketsDispatcher::update_all_nodes (Client client) continue; } - update (client, Node::strip_desc, strip_n, strip->name ()); + update (client, Node::strip_description, strip_n, strip->name ()); update (client, Node::strip_gain, strip_n, strips ().strip_gain (strip_n)); update (client, Node::strip_pan, strip_n, strips ().strip_pan (strip_n)); update (client, Node::strip_mute, strip_n, strips ().strip_mute (strip_n)); @@ -76,7 +76,7 @@ WebsocketsDispatcher::update_all_nodes (Client client) } boost::shared_ptr plugin = insert->plugin (); - update (client, Node::strip_plugin_desc, strip_n, plugin_n, + update (client, Node::strip_plugin_description, strip_n, plugin_n, static_cast (plugin->name ())); update (client, Node::strip_plugin_enable, strip_n, plugin_n, @@ -113,7 +113,7 @@ WebsocketsDispatcher::update_all_nodes (Client client) val.push_back (pd.logarithmic); } - update (client, Node::strip_plugin_param_desc, addr, val); + update (client, Node::strip_plugin_param_description, addr, val); TypedValue value = strips ().strip_plugin_param_value (strip_n, plugin_n, param_n); update (client, Node::strip_plugin_param_value, strip_n, plugin_n, param_n, value); diff --git a/libs/surfaces/websockets/state.h b/libs/surfaces/websockets/state.h index 7bc7555f3d..046cfebb3e 100644 --- a/libs/surfaces/websockets/state.h +++ b/libs/surfaces/websockets/state.h @@ -31,18 +31,18 @@ namespace Node { - const std::string tempo = "tempo"; - const std::string transport_roll = "transport_roll"; - const std::string record_state = "record_state"; - const std::string strip_desc = "strip_desc"; - const std::string strip_meter = "strip_meter"; - const std::string strip_gain = "strip_gain"; - const std::string strip_pan = "strip_pan"; - const std::string strip_mute = "strip_mute"; - const std::string strip_plugin_desc = "strip_plugin_desc"; - const std::string strip_plugin_enable = "strip_plugin_enable"; - const std::string strip_plugin_param_desc = "strip_plugin_param_desc"; - const std::string strip_plugin_param_value = "strip_plugin_param_value"; + const std::string tempo = "tempo"; + const std::string transport_roll = "transport_roll"; + const std::string record_state = "record_state"; + const std::string strip_description = "strip_description"; + const std::string strip_meter = "strip_meter"; + const std::string strip_gain = "strip_gain"; + const std::string strip_pan = "strip_pan"; + const std::string strip_mute = "strip_mute"; + const std::string strip_plugin_description = "strip_plugin_description"; + const std::string strip_plugin_enable = "strip_plugin_enable"; + const std::string strip_plugin_param_description = "strip_plugin_param_description"; + const std::string strip_plugin_param_value = "strip_plugin_param_value"; } // namespace Node typedef std::vector AddressVector; -- cgit v1.2.3