project1/src/main.c

30 lines
731 B
C
Raw Normal View History

2024-11-08 17:48:30 +01:00
#include <lilv/lilv.h>
#include <easy.h>
#include <stdio.h>
/*
http://lsp-plug.in/plugins/lv2/comp_delay_x2_stereo
http://lsp-plug.in/plugins/lv2/para_equalizer_x32_lr
http://calf.sourceforge.net/plugins/BassEnhancer
*/
const LilvPlugin* easy_load_plugin(LilvWorld* world, const char* uri);
int main() {
LilvWorld* world = lilv_world_new();
lilv_world_load_all(world);
//
const LilvPlugin* plugin = easy_load_plugin(world, "http://lsp-plug.in/plugins/lv2/comp_delay_x2_stereo");
if (plugin == NULL) {
fprintf(stderr, "Plugin not found: comp_delay_x2_stereo (from lsp-plug.in)\n");
return 1;
}
//
LilvInstance* instance = lilv_plugin_instantiate(plugin, 48000.0, NULL);
}