Browse Source

Fix building tests

tags/v2.3.0-RC1
falkTX 3 years ago
parent
commit
d0079162c0
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      source/tests/carla-host-plugin.c

+ 3
- 3
source/tests/carla-host-plugin.c View File

@@ -95,8 +95,8 @@ int main(void)
const CarlaHostHandle patchbay_host_handle = carla_create_native_plugin_host_handle(patchbay, patchbay_handle);
assert(patchbay_host_handle);

carla_set_engine_option(rack_host_handle, ENGINE_OPTION_PLUGIN_PATH, PLUGIN_LV2, utils_folder);
carla_set_engine_option(patchbay_host_handle, ENGINE_OPTION_PLUGIN_PATH, PLUGIN_LV2, utils_folder);
carla_set_engine_option(rack_host_handle, ENGINE_OPTION_PLUGIN_PATH, PLUGIN_LV2, lib_folder);
carla_set_engine_option(patchbay_host_handle, ENGINE_OPTION_PLUGIN_PATH, PLUGIN_LV2, lib_folder);

uint32_t plugins_count = 0;
const NativePluginDescriptor* const plugin_descriptors = carla_get_native_plugins_data(&plugins_count);
@@ -121,7 +121,7 @@ int main(void)
}
#endif

plugins_count = carla_get_cached_plugin_count(PLUGIN_LV2, utils_folder);
plugins_count = carla_get_cached_plugin_count(PLUGIN_LV2, lib_folder);
assert(plugins_count != 0);

for (uint32_t i=0; i<plugins_count; ++i)


Loading…
Cancel
Save