>- In snd_hdsp_interrupt: The first four lines determine, why the
>interrupt was triggered (audio, midi0, midi1). Now the MIDI code further
>down does not use that information, but the MIDI status instead. 

this is necessary because there is no interrupt for "output space
available" on the MIDI ports. therefore, its necessary to check the
FIFO's to see if there is space. however, its true that the code there
is a bit bone-headed. 

it should really check both in+out FIFO status, and then only call the
MIDI code if one or both is true *and* if the relevant MIDI IRQ
pending bit was set.

this is orthogonal to the tasklet/BH issue i just mentioned.

--p


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to