Gilles Dégottex wrote:
> Why SND_SEQ_EVENT_NOTE event doesnt accept direct dispatching ?
> technicaly, there is surely a reason, but conceptualy, I dont see. Why do a
> difference ?

SND_SEQ_EVENT_NOTE isn't a 'real' event but gets split into two
events, SND_SEQ_EVENT_NOTE_ON and _OFF, and the latter must be sent at
a later time.  Scheduling events to be sent later requires a timer
which isn't avilable without a queue.

The SND_SEQ_EVENT_NOTE event is the only event that uses the
event.data.note.duration field, but you cannot know what the value in
this field means without having a timer which specifies how long one
timer tick lasts.


HTH
Clemens





-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to