[cfg] Add option for prefering AirPlay 2 (useful for testing)
This commit is contained in:
parent
a5bd8b011e
commit
ffadc399af
|
@ -322,6 +322,9 @@ FORK_ARG_ENABLE([Chromecast support], [chromecast], [CHROMECAST],
|
||||||
AM_CONDITIONAL([COND_CHROMECAST], [[test "x$enable_chromecast" = "xyes"]])
|
AM_CONDITIONAL([COND_CHROMECAST], [[test "x$enable_chromecast" = "xyes"]])
|
||||||
AM_CONDITIONAL([COND_PROTOBUF_OLD], [[test "x$protobuf_old" = "xyes"]])
|
AM_CONDITIONAL([COND_PROTOBUF_OLD], [[test "x$protobuf_old" = "xyes"]])
|
||||||
|
|
||||||
|
dnl Prefer AirPlay 2
|
||||||
|
FORK_ARG_ENABLE([preference for AirPlay 2 for devices that support both 1 and 2], [preferairplay2], [PREFER_AIRPLAY2])
|
||||||
|
|
||||||
dnl DB profiling support
|
dnl DB profiling support
|
||||||
FORK_ARG_ENABLE([DB profiling support], [dbprofile], [DB_PROFILE])
|
FORK_ARG_ENABLE([DB profiling support], [dbprofile], [DB_PROFILE])
|
||||||
|
|
||||||
|
|
|
@ -4413,7 +4413,11 @@ struct output_definition output_airplay =
|
||||||
{
|
{
|
||||||
.name = "AirPlay 2",
|
.name = "AirPlay 2",
|
||||||
.type = OUTPUT_TYPE_AIRPLAY,
|
.type = OUTPUT_TYPE_AIRPLAY,
|
||||||
.priority = 2, // AirPlay 1 has priority for the time being
|
#ifdef PREFER_AIRPLAY2
|
||||||
|
.priority = 1,
|
||||||
|
#else
|
||||||
|
.priority = 2,
|
||||||
|
#endif
|
||||||
.disabled = 0,
|
.disabled = 0,
|
||||||
.init = airplay_init,
|
.init = airplay_init,
|
||||||
.deinit = airplay_deinit,
|
.deinit = airplay_deinit,
|
||||||
|
|
|
@ -4954,7 +4954,11 @@ struct output_definition output_raop =
|
||||||
{
|
{
|
||||||
.name = "AirPlay",
|
.name = "AirPlay",
|
||||||
.type = OUTPUT_TYPE_RAOP,
|
.type = OUTPUT_TYPE_RAOP,
|
||||||
|
#ifdef PREFER_AIRPLAY2
|
||||||
|
.priority = 2,
|
||||||
|
#else
|
||||||
.priority = 1,
|
.priority = 1,
|
||||||
|
#endif
|
||||||
.disabled = 0,
|
.disabled = 0,
|
||||||
.init = raop_init,
|
.init = raop_init,
|
||||||
.deinit = raop_deinit,
|
.deinit = raop_deinit,
|
||||||
|
|
Loading…
Reference in New Issue