diff --git a/lib/dnssdint.h b/lib/dnssdint.h index 6c07adf..862316b 100644 --- a/lib/dnssdint.h +++ b/lib/dnssdint.h @@ -4,10 +4,12 @@ #include "global.h" #define RAOP_TXTVERS "1" #define RAOP_CH "2" /* Audio channels: 2 */ -#define RAOP_CN "0,1,2,3" /* Audio codec: PCM, ALAC, AAC, AAC ELD */ -#define RAOP_ET "0,3,5" /* Encryption type: None, FairPlay, FairPlay SAPv2.5 */ +#define RAOP_CN "0,1,2,3" /* Audio codec: PCM, ALAC, AAC, AAC ELD */ +#define RAOP_ET "0,3,5" /* Encryption type: None, FairPlay, FairPlay SAPv2.5 */ #define RAOP_VV "2" -#define RAOP_FT "0x5A7FFEE6" +#define FEATURES_1 "0x5A7FFEE6" /* first 32 bits of features */ +#define FEATURES_2 "0x0" /* second 32 bits of features */ +#define RAOP_FT FEATURES_1 "," FEATURES_2 #define RAOP_RHD "5.6.0.0" #define RAOP_SF "0x4" #define RAOP_SV "false" @@ -20,9 +22,9 @@ #define RAOP_VN "65537" #define RAOP_PK "b07727d6f6cd6e08b58ede525ec3cdeaa252ad9f683feb212ef8a205246554e7" - -#define AIRPLAY_FEATURES_1 "0x5A7FFEE6" /* first 32 bits of features */ -#define AIRPLAY_FEATURES_2 "0x0" /* second 32 bits of features */ +/* use same features for RAOP and AIRPLAY: is this correct? */ +#define AIRPLAY_FEATURES_1 FEATURES_1 +#define AIRPLAY_FEATURES_2 FEATURES_2 #define AIRPLAY_FEATURES AIRPLAY_FEATURES_1 "," AIRPLAY_FEATURES_2 #define AIRPLAY_SRCVERS GLOBAL_VERSION /*defined in global.h */ #define AIRPLAY_FLAGS "0x4"