On Wed, 2006-06-14 at 14:50 -0400, Steve O'Connell wrote: > Is there an API in ALSA user space to boost the interrupt priority of > the audio playback so that the audio output is both low latency and > jitter free? I am currently calling 'snd_pcm_write_i' (in blocking > mode) from a pthread with the highest priority possible. Is there a > better way to output audio so that my user space thread is not delayed > or interrupted by other Linux interrupts? >
Use the -rt kernel and set the priority of your process and the soundcard interrupt thread to the highest SCHED_FIFO priority. > > Also, does it make sense to do the dirty deed and disable interrupts > while I'm calculating my audio in my pthread? > No. Lee _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user