Re: [LAD] sequencer and sysex again

From: Fons Adriaensen <fons@email-addr-hidden>
Date: Fri Jun 06 2008 - 21:22:44 EEST

On Fri, Jun 06, 2008 at 07:30:49PM +0200, rdxesy@email-addr-hidden 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.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Sat Jun 7 00:15:39 2008

This archive was generated by hypermail 2.1.8 : Sat Jun 07 2008 - 00:15:39 EEST