Re: seq: maximum number of events w.r.t. ordering in queue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Clemens Ladisch wrote:
> Gerald Grabner wrote:
>> for simultaneously playing many midi tracks each with a large number
>> of events, it would be convenient to output one track after the other
>> in a simple loop, without caring about the ordering of the events.
>>
>> Of course, this requires an output buffer large enough to hold all
>> events, otherwise events of the later are postponed every time the
>> buffer is full. But one question remains, at least for me:
>> Is there a maximum number of events w.r.t. the ordering in a queue?
> 
> Yes.  Your client buffer can have any size, but the events stored in the
> kernel for a queue are sent from an interrupt handler and must therefore
> be in locked kernel memory.  The kernel buffer is currently restricted
> to 2000 events for one client.

Ok, I see, many thanks!

In my test application, the threshold is 500 events. How am I loosing
the remaining 1500 events?

Regards,
Gerald

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux