Re: [LAD] SMPTE and jackd

From: Fons Adriaensen <fons@email-addr-hidden>
Date: Tue May 08 2012 - 18:24:45 EEST

On Tue, May 08, 2012 at 03:50:44PM +0200, Robin Gareus wrote:
 
> @Paul, Fons,..: does it use a PLL or simply return the difference from
> clock_gettime() since the beginning of the cycle?

jack_frame_time() reads the current time from Jack's usecs timer,
subtracts the cycle start time estimated by the PLL, converts the
difference to frames, and adds the frame count at the start of the
current cycle (which is jack_last_frame_time()).

> IIRC Fons reworked some of jack timing functions not too long ago when
> writing zita-a2j, zita-j2a, but don't know if they also affect the
> transport API.

The changes do not modify any part of the API, they add to it.

Ciao,

-- 
FA
A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Tue May 8 20:15:05 2012

This archive was generated by hypermail 2.1.8 : Tue May 08 2012 - 20:15:05 EEST