Lot of changes here.
1. check_classic_mac_basic.yml — update to latest macOS-latest 2. docker-on-push-tag-or-pr — dependant updates 3. FFTConvolver — fix a compilation warning when the DEBUG flag is turned off 4. Reorganise some source files — e.g. move most of the metadata stuff into a subdirectory 5. Remove unused special-purpose AirPlay 2 RC event handler. 6. Reorganise source files and source code relating to the standard event handler. 7. Check configuration settings a little more carefully to offer more meaningful diagnostics. 8. Add password to AirPlay 2 and reorganise initialisation to set AirPlay 2 flags accordingly. Also, remove redundant airplay_pin. 9. Remove redundant debug facility definitions from common.h 10. Make it possible to omit all the dacp stuff from a build. 11. Make it possible to omit metadata multicast from a build. 12. Add AP2-native metadata by setting bit 50 of features to true. 13. Improve stability when pre-empting an existing play session. 14. Fix a few compiler warnings in the pair_ap library. 15. Ensure that the audio format is known before starting synchronisation. 16. Improve handle_configure to set/clear a new config setting. Doesn’t seem to do anything… 17. Experimentally turn off bit 46 of AirPlay 2 features — seems to stop failing pair-verify attempts.
This commit is contained in:
@@ -396,13 +396,13 @@ typedef struct {
|
||||
uint32_t airplay_statusflags;
|
||||
char *airplay_fex; // a base64-encoded version of the airplay_features in little-endian form
|
||||
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_pgid; // UUID in the txtAirPlay data sent on the event channel
|
||||
char *airplay_psi; // type 4 fixed UUID
|
||||
uint8_t airplay_pk[32]; // public key
|
||||
char *pk_string;
|
||||
char *nqptp_shared_memory_interface_name; // client name for nqptp service
|
||||
int enable_HK_Access_Control; // true if the device is part of an Apple Home
|
||||
#endif
|
||||
int unfixable_error_reported; // only report once.
|
||||
|
||||
@@ -478,19 +478,6 @@ uint16_t nextFreeUDPPort();
|
||||
|
||||
extern volatile int debuglev;
|
||||
|
||||
void _die(const char *filename, const int linenumber, const char *format, ...);
|
||||
void _warn(const char *filename, const int linenumber, const char *format, ...);
|
||||
void _inform(const char *filename, const int linenumber, const char *format, ...);
|
||||
void _debug(const char *filename, const int linenumber, int level, const char *format, ...);
|
||||
void _debug_print_buffer(const char *thefilename, const int linenumber, int level, void *buf,
|
||||
size_t buf_len);
|
||||
|
||||
#define die(...) _die(__FILE__, __LINE__, __VA_ARGS__)
|
||||
#define debug(...) _debug(__FILE__, __LINE__, __VA_ARGS__)
|
||||
#define warn(...) _warn(__FILE__, __LINE__, __VA_ARGS__)
|
||||
#define inform(...) _inform(__FILE__, __LINE__, __VA_ARGS__)
|
||||
#define debug_print_buffer(...) _debug_print_buffer(__FILE__, __LINE__, __VA_ARGS__)
|
||||
|
||||
// Thanks to https://stackoverflow.com/a/1597129 for the inspiration for this identifier generation
|
||||
#define MAKEUNIQUEID2(x, y) x##y
|
||||
#define MADEID(x, y) MAKEUNIQUEID2(x, y)
|
||||
@@ -561,7 +548,7 @@ extern int type_of_exit_cleanup; // normal, emergency, dbus requested...
|
||||
extern uint64_t minimum_dac_queue_size;
|
||||
|
||||
int config_lookup_non_empty_string(const config_t *cfg, const char *path, const char **value);
|
||||
int config_set_lookup_bool(config_t *cfg, char *where, int *dst);
|
||||
int config_set_lookup_bool(config_t *cfg, const char *where, int *dst);
|
||||
int check_string_or_list_setting(config_setting_t *setting, const char *item);
|
||||
int check_int_or_list_setting(config_setting_t *setting, const int item);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user