You might be interested in the low-latency linux patches that the Linux
Audio Developement community has been working on. Check out this page:
http://www.linuxdj.com/audio/lad/links.php3#latency
Chris|
On Wed, 6 Dec 2000, Kiran Garimella wrote:
> Hello everyone,
> I am currently working on a program that I think could make use of some
> of the things the rtlinux project provides.
> I've written a small program (an accuracy test to see how accurate
> linux will deliver signals to me). It records the current time (t0),
> sets a timer via setitimer() for a random amount of time (t1, anywhere
> from 0 to 1 second), waits for the signal to arrive, and compares when
> the time SHOULD have arrived (by adding t0 and t1) to when they DID
> arrive (tf).
> This test works great with the normal linux kernel under low-load
> circumstances. There is accuracy sufficient for what I'm doing (a music
> program, so accuracy counts). However, whenever there is disk I/O, or
> program loading, or anything interrupt driven (IDE disk I/O is interrupt
> driven, right? Now I might just be talking out of my arse... this gets
> into details which I don't understand yet)... there are SIGNIFICANT
> delays. I am under the impression that the rtlinux project offers a
> solution to this problem.
> Right now all I want to do is translate my program into the appropriate
> rtlinux calls. However, I haven't found the equivalent of setitimer()
> in the man pages. Is there one, or is there an entirely different
> mechanism for all this? And is there some tutorial where I can learn
> about all this?
>
> Many thanks in advance,
> -Kiran Garimella
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
>
>
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/