Re: [Vala] LADSPA bindings
- From: Al Thomas <astavale yahoo co uk>
- To: Victor Aurélio Santos <victoraur santos gmail com>, "vala-list gnome org" <vala-list gnome org>
- Subject: Re: [Vala] LADSPA bindings
- Date: Sat, 10 Sep 2016 22:50:57 +0000 (UTC)
----- Original Message -----
From: Victor Aurélio Santos <victoraur santos gmail com>
Sent: Saturday, 10 September 2016, 23:10
Subject: [Vala] LADSPA bindings
I'm trying to create LADSPA bindings but no luck.
I'm stuck at Descriptor's function pointers, can any one help me with this ?
From https://github.com/swh/ladspa/blob/master/ladspa.h this
looks to be a shared object that needs to have a function
called ladspa_descriptor that returns a constant struct
containing details of the plugin. A constant struct seems
fairly standard for plugins. By the way from what I understand
you are saying it is better to describe your problem as a LADSPA
plugin, rather than a LADSPA binding. A binding is using a
library (shared object) and involves writing a VAPI file, whereas
a plugin is creating a shared object.
For an example of a constant struct with function pointers
see the example in https://bugzilla.gnome.org/show_bug.cgi?id=764439
That example is for GStreamer, but should give you enough clues.
If not please give an example of your code that doesn't work.
Al
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]