[linux-audio-dev] Why? call back API and other thoughts...

Steve Harris S.W.Harris at ecs.soton.ac.uk
Fri Feb 28 11:49:01 UTC 2003


On Fri, Feb 28, 2003 at 04:51:07 +0100, Fons Adriaensen wrote:
> The thread that calls the user's callback function is completely
> hidden, and so it can wait only for the trigger form jackd and nothing
> else. As a consequence you can't use it to communicate safely with your
> callback which would be easy if the thread and the synchronisation
> mechanism were visible.

Thats largly for portability reasons, the callbacks aren't allways in a
thread, eg. for IE clients.

Adding a thread which is syncronised with the calback thread is very easy
and more portable.

- Steve



More information about the Linux-audio-dev mailing list