| @@ -350,17 +350,10 @@ int CarlaEngineOsc::handleMsgRegister(const bool isTCP, const int argc, const lo | |||||
| { | { | ||||
| const char* host = lo_address_get_hostname(source); | const char* host = lo_address_get_hostname(source); | ||||
| const char* port = lo_address_get_port(source); | const char* port = lo_address_get_port(source); | ||||
| fControlData.source = lo_address_new_with_proto(isTCP ? LO_TCP : LO_UDP, host, port); | |||||
| } | |||||
| { | |||||
| char* host = lo_url_get_hostname(url); | |||||
| char* port = lo_url_get_port(url); | |||||
| fControlData.source = lo_address_new_with_proto(isTCP ? LO_TCP : LO_UDP, host, port); | |||||
| fControlData.path = carla_strdup_free(lo_url_get_path(url)); | fControlData.path = carla_strdup_free(lo_url_get_path(url)); | ||||
| fControlData.target = lo_address_new_with_proto(isTCP ? LO_TCP : LO_UDP, host, port); | fControlData.target = lo_address_new_with_proto(isTCP ? LO_TCP : LO_UDP, host, port); | ||||
| std::free(host); | |||||
| std::free(port); | |||||
| } | } | ||||
| for (uint i=0, count=fEngine->getCurrentPluginCount(); i < count; ++i) | for (uint i=0, count=fEngine->getCurrentPluginCount(); i < count; ++i) | ||||
| @@ -298,7 +298,6 @@ class CarlaControlServerThread(ServerThread): | |||||
| @make_method('/carla-control/set_parameter_value', 'iif') | @make_method('/carla-control/set_parameter_value', 'iif') | ||||
| def set_parameter_value_callback(self, path, args): | def set_parameter_value_callback(self, path, args): | ||||
| print(path, args) | |||||
| pluginId, paramId, paramValue = args | pluginId, paramId, paramValue = args | ||||
| if paramId < 0: | if paramId < 0: | ||||
| @@ -355,7 +354,6 @@ class CarlaControlServerThread(ServerThread): | |||||
| @make_method('/carla-control/set_peaks', 'iffff') | @make_method('/carla-control/set_peaks', 'iffff') | ||||
| def set_peaks_callback(self, path, args): | def set_peaks_callback(self, path, args): | ||||
| print(path, args) | |||||
| pluginId, in1, in2, out1, out2 = args | pluginId, in1, in2, out1, out2 = args | ||||
| self.host._set_peaks(pluginId, in1, in2, out1, out2) | self.host._set_peaks(pluginId, in1, in2, out1, out2) | ||||