|
@@ -591,10 +591,8 @@ int main(int argc, char* argv[]) |
|
|
{ |
|
|
{ |
|
|
if (useOsc) |
|
|
if (useOsc) |
|
|
{ |
|
|
{ |
|
|
carla_stdout("HERE 001"); |
|
|
|
|
|
client.sendOscUpdate(); |
|
|
client.sendOscUpdate(); |
|
|
client.sendOscBridgeUpdate(); |
|
|
client.sendOscBridgeUpdate(); |
|
|
carla_stdout("HERE 002"); |
|
|
|
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
@@ -606,17 +604,13 @@ int main(int argc, char* argv[]) |
|
|
carla_show_custom_ui(0, true); |
|
|
carla_show_custom_ui(0, true); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
carla_stdout("HERE 003"); |
|
|
|
|
|
|
|
|
|
|
|
client.ready(!useOsc); |
|
|
client.ready(!useOsc); |
|
|
gIsInitiated = true; |
|
|
gIsInitiated = true; |
|
|
carla_stdout("HERE 004"); |
|
|
|
|
|
client.exec(); |
|
|
client.exec(); |
|
|
carla_stdout("HERE 005"); |
|
|
|
|
|
|
|
|
|
|
|
carla_set_engine_about_to_close(); |
|
|
carla_set_engine_about_to_close(); |
|
|
carla_remove_plugin(0); |
|
|
carla_remove_plugin(0); |
|
|
carla_stdout("HERE 006"); |
|
|
|
|
|
|
|
|
|
|
|
ret = 0; |
|
|
ret = 0; |
|
|
} |
|
|
} |
|
@@ -630,17 +624,12 @@ int main(int argc, char* argv[]) |
|
|
|
|
|
|
|
|
ret = 1; |
|
|
ret = 1; |
|
|
} |
|
|
} |
|
|
carla_stdout("HERE 007"); |
|
|
|
|
|
|
|
|
|
|
|
// --------------------------------------------------------------------- |
|
|
// --------------------------------------------------------------------- |
|
|
// Close OSC |
|
|
// Close OSC |
|
|
|
|
|
|
|
|
if (useOsc) |
|
|
if (useOsc) |
|
|
{ |
|
|
|
|
|
carla_stdout("HERE 008"); |
|
|
|
|
|
client.oscClose(); |
|
|
client.oscClose(); |
|
|
carla_stdout("HERE 009"); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return ret; |
|
|
return ret; |
|
|
} |
|
|
} |