Browse Source

Remove zyn test build stuff, no longer needed

tags/1.9.4
falkTX 11 years ago
parent
commit
406919b392
1 changed files with 0 additions and 43 deletions
  1. +0
    -43
      source/bridges/CarlaBridgePlugin.cpp

+ 0
- 43
source/bridges/CarlaBridgePlugin.cpp View File

@@ -337,17 +337,7 @@ protected:
{ {
case CALLBACK_SHOW_GUI: case CALLBACK_SHOW_GUI:
if (value1 != 1 && ! isOscControlRegistered()) if (value1 != 1 && ! isOscControlRegistered())
#if 1
{
static int count = 0;
count++;

if (count == 2)
gCloseNow = true;
}
#else
gCloseNow = true; gCloseNow = true;
#endif
break; break;
default: default:
break; break;
@@ -483,38 +473,6 @@ int main(int argc, char* argv[])
{ {
CARLA_BRIDGE_USE_NAMESPACE CARLA_BRIDGE_USE_NAMESPACE


#if 1
QApplication app(argc, argv, true);
app.setQuitOnLastWindowClosed(false);

// Init Plugin client
CarlaPluginClient client("zyn-2-test");

// Listen for ctrl+c or sigint/sigterm events
initSignalHandler();

if (!carla_add_plugin(CarlaBackend::BINARY_NATIVE, CarlaBackend::PLUGIN_INTERNAL, nullptr, "zyn1", "zynaddsubfx", nullptr))
{
carla_stderr(carla_get_last_error());
return 1;
}

carla_add_plugin(CarlaBackend::BINARY_NATIVE, CarlaBackend::PLUGIN_INTERNAL, nullptr, "zyn2", "zynaddsubfx", nullptr);

carla_set_active(0, true);
carla_set_active(1, true);
carla_show_gui(0, true);
carla_show_gui(1, true);

client.ready();

app.exec();

carla_remove_plugin(1);
carla_remove_plugin(0);

return 0;
#else
if (argc != 6) if (argc != 6)
{ {
carla_stdout("usage: %s <osc-url|\"null\"> <type> <filename> <name|\"(none)\"> <label>", argv[0]); carla_stdout("usage: %s <osc-url|\"null\"> <type> <filename> <name|\"(none)\"> <label>", argv[0]);
@@ -609,7 +567,6 @@ int main(int argc, char* argv[])
client.oscClose(); client.oscClose();


return ret; return ret;
#endif
} }


#endif // BRIDGE_PLUGIN #endif // BRIDGE_PLUGIN

Loading…
Cancel
Save