[...] > > I'm working on this, but it is not that easy since merging MIDI streams > > is non-trivial and I want to be able to have hardware do the scheduling if > > it supports it and this means events can only be queued in timed order. > > Not necessarely; If you have the ability to adjust when your timer is to be > fired/generate irq, you can readjust the schedule time when an event is > received (after all, that's the whole fun with an event based interface). > Merging streams is not a problem; You'll need a priority queue anyway for > merging multiple streams.
Perhaps it is not necessary to have the messages queued in timed order, but on the other hand and application should be able to know the order of the messages and thus has no good reason not queue them time ordered. I think a requirement for time-ordered queueing in combination with a global pre-schedule value (i.e. minimum time scheduled events are to be queued early) could simplify implementation. --martijn ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel