> At the moment the loaded resources (files, instruments and samples) of the
> resource managers are not exposed via LSCP or C++ API.
I've bumped into that one. What would be the orthodox way to unload an
instrument from a channel using the C++ API (other than the loading a
dummy instrument trick)? I am trying to add this option to my DSSI
plugin[*] and still figuring it out, I've tried to force an unload by
doing:
engineChannel->DisconnectAudioOutputDevice();
engineChannel->Connect(audioOutputDevice);
but that is not thread-safe, if you catch it at the wrong time the
rendering thread will crash.
Cheers,
L
[*] Check it out at git://ls16.git.sourceforge.net/gitroot/ls16/ls16 ,
it is already very functional, a release is coming out soon.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Linuxsampler-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel