I'm trying to use plugins from vala, not to write!

I'm stuck at writing the vapi file, most specifically at the Descriptor
struct.

Em 10 de set de 2016 19:52, "Al Thomas" <astav...@yahoo.co.uk> escreveu:

>
>
> ----- Original Message -----
> > From: Victor Aurélio Santos <victoraur.san...@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
>
_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to