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

From: Florian Schmidt <mista.tapas@email-addr-hidden>
Date: Sat Dec 31 2005 - 01:52:41 EET

On Fri, 30 Dec 2005 18:40:20 -0500
Lee Revell <rlrevell@email-addr-hidden-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
Received on Sat Dec 31 04:15:07 2005

This archive was generated by hypermail 2.1.8 : Sat Dec 31 2005 - 04:15:08 EET