[linux-audio-dev] threading in DSSI plugins
Jack O'Quin
joq at io.com
Wed Aug 10 13:26:19 UTC 2005
Florian Schmidt <mista.tapas at gmx.net> writes:
> So i got basically two questions:
>
> a] is it possible to use threading in a DSSI?
Probably. It works in LADSPA.
> b] would a RT prio of 1 (for the convolution thread) be an OK
> compromise? It will be lower than all audio stuff on a typical jack
> system? What is jackd's default RT prio again?
For your example, I suggest a prio 1 lower than the JACK process
thread. In general I recommend setting the priority one lower for
each extra power of two in the helper thread's cycle time (so longer
cycles run at lower priority).
I think JAMin (src/io.c) does something very similar to what you want.
--
joq
More information about the Linux-audio-dev
mailing list