No locks or mutexes in a callback function. I need to think about that one.
That rules out the most obvious choice for preparing events for dispatch while
transport is rolling, which would be a producer-consumer model with some
thread as the producer and the callback as consumer.
Linux-audio-dev mailing list