Am 28. März 2012 19:35 schrieb Ed Sweeney :
Thanks for asking back.
Note:
JacksEventQueue_put()
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.
more here:
[[ http://wiki.linuxaudio.org/wiki/programming_libraries#lockfree_non-block...
}}
But don't get lost. The topic is large... ;)
Your code looks very clean.
I like that you are using C.
Emanuel
--
E.R.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries.
Linuxaudio.org logo copyright Thorsten Wilms © 2006.
Hosting provided by the Virginia Tech Department of Music and DISIS.