[LAD] LADSPA plugin invisible
Tim Goetze
tim at quitte.de
Sun Dec 2 14:58:42 UTC 2007
[Rémi Thébault]
>I join my source code, my Makefile and the compiled library (x86).
>If somebody could have a look or just give some piece of advice on how
>to make a plugin recognized, this would be a great help for me.
Since you are compiling as C++, you need
extern "C" {
/* your exported symbols go here */
}
enclosing at least the functions that you want to export (_init,
_fini, ladspa_descriptor).
Cheers, Tim
-------------- next part --------------
--- TunerUnit.cc.orig 2007-12-02 15:56:43.000000000 +0100
+++ TunerUnit.cc 2007-12-02 15:53:46.000000000 +0100
@@ -327,6 +327,7 @@
LADSPA_Descriptor * g_psTUDescriptor = NULL;
+extern "C" {
void
_init()
{
@@ -454,3 +455,4 @@
}
}
+}
More information about the Linux-audio-dev
mailing list