Olivier Guilyardi:
Nice. It's probably quicker to copy the jack_ringbuffer.c file out of jack
though.
> Portaudio actually also offers a callback mechanism (with hidden thread
Those friends can be really cranky sometimes though.
By using atomic operations instead, it's possible to avoid
a lot of headache by not having to synchronize at all.
Performance might be better too. Midishare has lockfree
atomic functions for lifo and fifi queues:
http://midishare.cvs.sourceforge.net/viewvc/midishare/midishare/src/comm...
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
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.