Clemens Ladisch wrote: > 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. Indeed, that did the trick! Besides the fact that ALSA is a great piece of software, the documentation is a bit poor in some places - like this one. Since I am not a developer of the ALSA lib, I can only make suggestions, e.g. adding the following doxygen snippet at line 264/265 in seqmid.c (alsa-lib-1.0.14rc2) for snd_seq_set_client_pool_output: * The pool size is measured in events, not in bytes. The maximum size * is 2000, values greater than that are ignored. Thx & 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