From 33257a9a1d8f7bb0833dfafd4310ad14c0035d22 Mon Sep 17 00:00:00 2001 From: fduncanh Date: Thu, 16 Jun 2022 02:56:56 -0400 Subject: [PATCH] fir minor typo in comment --- lib/raop_rtp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/raop_rtp.c b/lib/raop_rtp.c index 3742e2c..28c7b25 100644 --- a/lib/raop_rtp.c +++ b/lib/raop_rtp.c @@ -39,8 +39,11 @@ #define DELAY_AAC 500000 //empirical, matches audio latency of about -0.5 sec after first clock sync event #define DELAY_ALAC 2000000 //empirical, matches audio latency of about -2.0 sec after first clock sync event +/* note: it is unclear what will happen in the unlikely event that this code is running at the time of the unix-time + * epoch event on 2038-01-19 at 3:14:08 UTC ! (but Apple will surely have removed AirPlay "legacy pairing" by then!) */ + typedef struct raop_rtp_sync_data_s { - uint64_t ntp_time; // The local wall clock time in use at the time of rtp_time + uint64_t ntp_time; // The local wall clock time (unix time in usec) at the time of rtp_time int64_t rtp_time; // The remote rtp clock time corresponding to ntp_time, relative to rtp_start_time } raop_rtp_sync_data_t;