>> The Portaudio code looks more and more robust to me. It's also
gcc provides built-in memory barriers, which are straight-forward to
use ... beside that, one could use an abstraction layer, providing
assembler code (iirc, portaudio implements memory barriers for multiple
platforms as macros) ...
there is also the atomic_ops project , providing atomic operations for
multiple platforms ... it had some issues, when i first tried it two
years ago, but they seem to be resolved now ...
art is short - life is long
Linux-audio-user mailing list