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

Dmitry Baikov dsbaikov at gmail.com
Sat Mar 10 19:27:22 UTC 2007


On 3/10/07, Christian <krampenschiesser at 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.


More information about the Linux-audio-dev mailing list