[LAD] sequencer and sysex again

Fons Adriaensen fons at kokkinizita.net
Fri Jun 6 18:22:44 UTC 2008


On Fri, Jun 06, 2008 at 07:30:49PM +0200, rdxesy at yahoo.de wrote:

> now there are two things i dont understand:
> first: why is the midi_callback() thread being called once 
> ...
> 1. call the midi_callback() thread more often
> ...

I try to understand what's happening, but your terminology
is somewhat confusing...

Threads are run, or can be running or waiting, but they
are never 'called'. Functions are called. 

So what is this 'midi callback' thing exactly ?

Is it a thread doing a blocking read() on a midi port,
and waking up when there is data for it ? If so what
does this trhead do with the data it receives ?
Or is it a function you call periodically ?
Or something else ?

Ciao,

-- 
FA

Laboratorio di Acustica ed Elettroacustica
Parma, Italia

Lascia la spina, cogli la rosa.




More information about the Linux-audio-dev mailing list