From 778d6f4999c3fe5a96765e4b64c137fa5491abba Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Mon, 4 May 2020 17:41:57 +0200 Subject: [PATCH] [config] Change speaker_autoselect default to no The changes in commit 6612899 mean that we now do more to maintain selection of a user selected speaker, even if it fails or is powered off for a while. Thus this option is no longer relevant. The option was also never very good for people with many speakers. --- forked-daapd.conf.in | 2 +- src/conffile.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/forked-daapd.conf.in b/forked-daapd.conf.in index e2c8790c..f3bcdb2b 100644 --- a/forked-daapd.conf.in +++ b/forked-daapd.conf.in @@ -47,7 +47,7 @@ general { # When starting playback, autoselect speaker (if none of the previously # selected speakers/outputs are available) -# speaker_autoselect = yes +# speaker_autoselect = no # Most modern systems have a high-resolution clock, but if you are on an # unusual platform and experience audio drop-outs, you can try changing diff --git a/src/conffile.c b/src/conffile.c index eb90e9d1..2325917d 100644 --- a/src/conffile.c +++ b/src/conffile.c @@ -54,7 +54,7 @@ static cfg_opt_t sec_general[] = CFG_BOOL("ipv6", cfg_true, CFGF_NONE), CFG_STR("cache_path", STATEDIR "/cache/" PACKAGE "/cache.db", CFGF_NONE), CFG_INT("cache_daap_threshold", 1000, CFGF_NONE), - CFG_BOOL("speaker_autoselect", cfg_true, CFGF_NONE), + CFG_BOOL("speaker_autoselect", cfg_false, CFGF_NONE), #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) CFG_BOOL("high_resolution_clock", cfg_false, CFGF_NONE), #else