Subject: [linux-audio-dev] Re: minimum tick time
From: Maarten de Boer (mdeboer_AT_iua.upf.es)
Date: Tue Nov 06 2001 - 20:35:29 EET
> The timer invoked by pcm is only system timer, so resolution is fixed
> as HZ. IMO, it would be nice to make it available to use other timer
> sources, but this will lead to major rewrite..
Okay. In that case I am a bit confused of what approach to take
to write a application with low latency and GUI interaction.
If I use alsa in non-block mode, my GUI (and everything else)
won't get any CPU. How to avoid that? I think I'd prefer to
have 3 threads, 1 alsa IO, 1 processing, and 1 GUI. What would
be the best way to syncronize these threads? pthread_cond_wait?
Any advice is greatly appreciated!
Maarten
This archive was generated by hypermail 2b28 : Tue Nov 06 2001 - 20:22:04 EET