Re: [LAD] timing the processing of queues between engine and ui threads?

From: Emanuel Rumpf <xbran@email-addr-hidden>
Date: Sun Nov 06 2011 - 09:20:15 EET

2011/11/5 Iain Duncan <iainduncanlists@email-addr-hidden>:
> On Thu, Nov 3, 2011 at 8:05 PM, David Robillard <d@email-addr-hidden> wrote:
>>
>>
>> The only difference non-jack would make is you need some function to
>> tell you roughly what audio time it is you can call from another thread.
>
> Does one use the system clock for that?
I think frame time (a frame of samples) is meant here ? That time is
delivered in the jackd process callback.

> Is it accurate enough?
Depends on the system clock used, I presume.
For best accuracy, you have to configure your kernel to support HPET
(high precision event) timers
and make ALSA use it as default.

-- 
E.R.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sun Nov 6 12:15:01 2011

This archive was generated by hypermail 2.1.8 : Sun Nov 06 2011 - 12:15:01 EET