Re: [linux-audio-dev] threading in DSSI plugins

From: Jack O'Quin <joq@email-addr-hidden>
Date: Wed Aug 10 2005 - 16:26:19 EEST

Florian Schmidt <mista.tapas@email-addr-hidden> 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
Received on Wed Aug 10 20:15:04 2005

This archive was generated by hypermail 2.1.8 : Wed Aug 10 2005 - 20:15:04 EEST