Re: [chrony-users] PPS refclock on Macs |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] PPS refclock on Macs
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Thu, 5 Jun 2025 09:13:56 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1749107641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=MYpQEUvkx6RxPk/fzHKIMcslQMABL10sk00CE3nAxwU=; b=K7N1bKImpq0M9fNLuESb7s7wcmjGFljpCfpqzxPq5bi9zKqEIdtlij+BwklOX3yR7I1+MX vxO7rfb550qcZTlRkOiVTlRIbddL1EE2b9UmhX1sLjo0iWPS9s0XgKTZE5liTe+n1Gk9+i 2pf/FKjBokoXBOGs0gn6gq21cHY/0UM=
On Thu, Jun 05, 2025 at 12:29:56PM +0700, James Clark wrote:
> The second approach works quite a bit better than the first, which I
> attribute to kernel support in macOS for timestamping audio and to USB
> audio being isochronous. There's a constant error of about 0.35ms, but once
> you correct for that the jitter is in the few microseconds range.
>
> I wrote it up here: https://github.com/jclark/mac-pps
Nice.
Is that offset stable across reboots and suspends?
It would be nice if this driver could support also other systems, but
I'm not sure if there is a library for low-latency audio that works
well on different systems.
--
Miroslav Lichvar
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.