From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Wed, 1 Sep 2021 09:28:30 +0000 (+0100) Subject: Move group ID store to the conn. Fix the size of the groupContainsGroupLeader plist... X-Git-Tag: 4.1-dev~4^2~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d703314c06e844edcda932bd4be335ba8733f830;p=thirdparty%2Fshairport-sync.git Move group ID store to the conn. Fix the size of the groupContainsGroupLeader plist boolean store. --- diff --git a/common.h b/common.h index 4572d198..9c3496f6 100644 --- a/common.h +++ b/common.h @@ -302,7 +302,6 @@ typedef struct { char *airplay_device_id; // for the Bonjour advertisement and the GETINFO PList char *airplay_pin; // non-NULL, 4 char PIN, if required for pairing char *airplay_pi; // UUID in the Bonjour advertisement and the GETINFO Plist - char *airplay_gid; // UUID in the Bonjour advertisement -- initially the same as the pi #endif } shairport_cfg; diff --git a/player.h b/player.h index 05019417..e8d661b5 100644 --- a/player.h +++ b/player.h @@ -287,6 +287,7 @@ typedef struct { clock_status_t clock_status; #ifdef CONFIG_AIRPLAY_2 + char *airplay_gid; // UUID in the Bonjour advertisement -- if NULL, the group UUID is the same as the pi UUID airplay_t airplay_type; // are we using AirPlay 1 or AirPlay 2 protocol on this connection? airplay_stream_t airplay_stream_type; // is it realtime audio or buffered audio... timing_t timing_type; // are we using NTP or PTP on this connection? @@ -332,8 +333,8 @@ typedef struct { unsigned char *session_key; // needs to be free'd at the end uint64_t frames_packet; uint64_t type; - uint64_t networkTimeTimelineID; // the clock ID used by the player - uint64_t groupContainsGroupLeader; // information coming from the SETUP + uint64_t networkTimeTimelineID; // the clock ID used by the player + uint8_t groupContainsGroupLeader; // information coming from the SETUP char *ap2_timing_peer_list_message;