module-raop: zero uppet timestamp bits

The Audiopro link1 seems to want to upper bits of the timestamp in
sync messages as 0. It still seems to work with Sonos.

See #3247
This commit is contained in:
Wim Taymans 2023-07-06 17:01:09 +02:00
parent fdc860c71b
commit 21d16b1ad5

View file

@ -317,7 +317,7 @@ static int send_udp_sync_packet(struct impl *impl,
pkt[0] |= htonl(0x10000000);
pkt[1] = htonl(rtptime - latency);
transmitted = ntp_now();
pkt[2] = htonl(transmitted >> 32);
pkt[2] = htonl((transmitted >> 32) & 0x0000ffff);
pkt[3] = htonl(transmitted & 0xffffffff);
pkt[4] = htonl(rtptime);