[Clam-devel] Re: Faust support - plugins dynamic reloading

Natanael Olaiz nolaiz at gmail.com
Sun Aug 3 22:12:00 PDT 2008


Finally!!

Here is a patch for the reload issue. Without cleaning up yet, but it 
works :-)
Plus it have yet the debug messages, if you want to see what happens.

The only problem is that if you have a ladspa plugin on the actual 
canvas network, you have to delete it and put it again to actualize. 
(I'll put an automatic deleter/loader)... But it works!  (I'm happy :))


Regards,
Natanael.
PS: I used RTLD_NOW instead RTLD_LAZY on dlopen(). I think the original 
LAZY have to work too, I'll check it now.

El 08/02/2008 06:28 AM, Natanael Olaiz escribió:
> Hi.
>
> Last night David made me realize that the used reload faust plugins 
> just recreate the factory with new names making new creators which 
> loads of the same dynamic plugin (and never delete the previous 
> instances). I'm working on that, but I just want to advert that to you 
> all. The release should not have that bug, so I expect to have it 
> corrected ASAP.
>
>
> Regards,
> Natanael
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: reload_faust_ladspa.patch
Type: text/x-diff
Size: 4729 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080804/f1631925/attachment-0005.patch>


More information about the clam-devel mailing list