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

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

 



Gerald Grabner wrote:
>   // buffer size for all events
>   unsigned int b = (n+1)*sizeof(snd_seq_event_t);
> 
>   // set output buffer and client pool size
>   if ( snd_seq_set_output_buffer_size(seq,b) )
>     printf("Error setting output_buffer_size\n");
>   if ( snd_seq_set_client_pool_output(seq,b) )
>     printf("Error setting client_pool_output\n");

What the documentation failed to tell you is that the parameter to
snd_seq_set_client_pool_output() is measured in events, not in bytes,
and that a value that is too big is silently ignored.


HTH
Clemens

-------------------------------------------------------------------------
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