[linux-audio-dev] Plugin APIs (again)

Dave Griffiths dave at pawfal.org
Thu Dec 5 06:54:00 UTC 2002


> On Thu, Dec 05, 2002 at 12:07:35 +0100, Dave Griffiths wrote:
> > > I'm not sure how this can be handled easily, there are lots of 
> > > things like loading samples that will be impossible to handle in an 
> > > RT way, but I'm not sure that something like a sampler belongs in 
> > > this kind of API. I know there are VSTi samplers, but windows people 
> > > dont have jack.
> > 
> > This is actually a current problem with spiralsynthmodular, the sampler is rt
> > safe, except when loading/saving samples. I'm thinking that it's solvable by
> > using a async loader on a different thread that the plugin can poll. As long
> > as it does something sane until the sample is loaded (play silence) it should
> > be Ok.
> 
> Yes, this will work in a system like SSM, but I'm not sure how well
> generic .so plugins and threads will play together... I guess theres
> nothing to stop you from cloning a new thread inside a .so, but it 
> may come as a supprise to the host ;)

ssm plugins are .so plugins - and the midi plugin already spawns a thread to
collect the midi data ok (the host knows nothing about it) so hopefully it's
doable.

dave



More information about the Linux-audio-dev mailing list