Move group ID store to the conn. Fix the size of the groupContainsGroupLeader plist boolean store.

This commit is contained in:
Mike Brady
2021-09-01 10:28:30 +01:00
parent 620d6fae60
commit d703314c06
2 changed files with 3 additions and 3 deletions
-1
View File
@@ -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;
+3 -2
View File
@@ -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;