On Thu, Jan 16, 2003 at 05:37:35PM -0500, Brian Victor wrote:
> 
> Likewise, I was under the impression that queues handled sequencing
> events by timestamp if they arrived in non-sequential order.  Is that
> so?  

Yes, the sequencer's priority queues automatically order the events enqueued
by timestamp.

> Do I just need to stay ahead of the queue for this to work?  Does
> that mean, I can't reliably send the queue all events for one voice,
> followed by all events for another voice?

Because of memory sizes for the event pool, this depends on the number of
events you want to enqueue. Of course you'll need to stay ahead of the queue
or the event wil be emitted immediately (when T[scheduled] < T[queue head]).

Yes, you can enqueue all events for one voice followed by next voices as
long as you do not exceed the size of the queue. In practice you'll enqueue
the events for a (small) timeframe, eg. one bar, and let the sequencer
handle the scheduling. 

Frank.

-- 
+---- --- -- -  -   -    - 
| Frank van de Pol                  -o)    A-L-S-A
| [EMAIL PROTECTED]                    /\\  Sounds good!
| http://www.alsa-project.org      _\_v
| Linux - Why use Windows if we have doors available?


-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to