Browse Source

Stop building carla-native-plugin test binary

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.2.0-RC1
falkTX 4 years ago
parent
commit
5fb07e9941
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 7 additions and 2 deletions
  1. +3
    -1
      source/plugin/Makefile
  2. +4
    -1
      source/plugin/carla-native-plugin.cpp

+ 3
- 1
source/plugin/Makefile View File

@@ -167,9 +167,11 @@ WINE_LINK_FLAGS += -Wl,-rpath,/usr/lib/carla
# ---------------------------------------------------------------------------------------------------------------------

TARGETS = \
$(BINDIR)/carla-native-plugin$(APP_EXT) \
$(BINDIR)/libcarla_native-plugin$(LIB_EXT)

# sometimes needed for testing:
# $(BINDIR)/carla-native-plugin$(APP_EXT)

TARGETS += \
$(BINDIR)/carla.lv2/carla$(LIB_EXT)



+ 4
- 1
source/plugin/carla-native-plugin.cpp View File

@@ -1,6 +1,6 @@
/*
* Carla Plugin Host
* Copyright (C) 2011-2018 Filipe Coelho <falktx@falktx.com>
* Copyright (C) 2011-2020 Filipe Coelho <falktx@falktx.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -65,6 +65,8 @@ CarlaEngine* carla_get_native_plugin_engine(const NativePluginDescriptor* desc,

// --------------------------------------------------------------------------------------------------------------------

// testing purposes only
#if 0
static uint32_t get_buffer_size(NativeHostHandle)
{
return 128;
@@ -130,5 +132,6 @@ int main()
rack->cleanup(handle);
return 0;
}
#endif

// --------------------------------------------------------------------------------------------------------------------

Loading…
Cancel
Save