[linux-audio-dev] Success achieving low latency without extras

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [linux-audio-dev] Success achieving low latency without extras
From: Juan Linietsky (coding_AT_reduz.com.ar)
Date: Sun Oct 07 2001 - 04:19:27 EEST


Well, I'm writing a sequencer. I was trying to figure a way to achive low callback latency to update
my mixer, without using any "extra" (such as /dev/rtc). My approach was quite simple, I just spawned
a high amount of threads, each with a sleep(1) and updating the player timer all the time.
Surprisingly, this works amazingly well, and the more the threads the better the performance, now under heavy load (and without patching against low latency) the player latency is allways around 10ms (the minimum you can get from the x86 clock). I hope this information is of any use!

Regards

        Juan Linietsky.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Oct 07 2001 - 04:18:52 EEST