Re: [linux-audio-dev] Realtime problems with midi/osc sequencer

From: Dmitry Baikov <dsbaikov@email-addr-hidden>
Date: Sat Mar 10 2007 - 21:27:22 EET

On 3/10/07, Christian <krampenschiesser@freenet.de> wrote:
> On the one hand this indicates the thread running stable in realtime but
> having a restriction to ~4ms/4000µs. Perhaps this is an in-system value
4ms means you have 250Hz kernel tick. Set it to 1024Hz or better try
tickless setup.

> of sleep and the select approach Robin Gareus posted will help out.
I'd suggest using clock_nanosleep() and clock_gettime() with
clockid=CLOCK_MONOTONIC.
This is the "more right" approach than select/gettimeofday().

Dmitry.
Received on Sun Mar 11 00:15:03 2007

This archive was generated by hypermail 2.1.8 : Sun Mar 11 2007 - 00:15:03 EET