Thomas Witzel wrote:
On Wednesday 01 November 2006 01:58, Romain Lenglet wrote:
Since you wanted to develop/port your own device driver anyway, I
just suggested to use JACK as an interface with your
applications, instead of the ALSA interface. I believe that the
JACK API/interface is better suited for realtime applications.
So why not develop your own new JACK hard-realtime backend with
your RTDM driver?
I just wanted to modify an existing driver Intel8x0 AC97 to do realtime playback of a sample. I'm still pursuing this. I have implemented a regular Linux userspace application for this at first and it provides a response latency smaller than 1 ms for 19 out of 20 triggers, but the 20th (on average) has latencies up to 20ms, which is totally unacceptable.

Linux should be able to do better than that. Is your application prioritized properly (check for real-time priorities with "man sched_setscheduler")? And the kernel option CONFIG_PREEMPT should also help.

Wolfgang.


_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to