[linux-audio-dev] Audio/Midi system - RT prios..

Florian Schmidt mista.tapas at gmx.net
Fri Dec 30 23:52:41 UTC 2005


On Fri, 30 Dec 2005 18:40:20 -0500
Lee Revell <rlrevell at joe-job.com> wrote:

> The relative priorities of the JACK and soundcard IRQs really don't
> matter because they never contend - one is woken up by the other.

This is true for the audio only case. Imagine for now, that MIDI
activity i shandled by IRQ's, too. Let's further assume jackd's prio is
higher than the soundcard IRQ (which is there for both audio and midi in
this scenario).

Ok, some audio irq has happened and jackd is doing its thing. Now a
soundcard IRQ is generated for an incoming midi event. As the soundcard
handler thread prio is lower than jackd's it will not get to run until
jackd's process loop is finished.

All of this depends on whether physical port midi activity is really
handled by IRQ's too. Anyone know more?

Flo

-- 
Palimm Palimm!
http://tapas.affenbande.org



More information about the Linux-audio-dev mailing list