Am 28. März 2012 19:35 schrieb Ed Sweeney :
Thanks for asking back.
uses malloc() and also a blocking mutex.
This has to be modified to be lock-free (non-blocking).
But rather use a different, existing, verified data-structure.
jack_ringbuffer is a possible option, for IO to/from the callback.
But don't get lost. The topic is large... ;)
Your code looks very clean.
I like that you are using C.
Linux-audio-dev mailing list