From: Mike Brady Date: Sun, 21 Apr 2019 13:25:27 +0000 (+0100) Subject: Add "auto" to interpolation settings. Time a few soxr_oneshots to get a figure for... X-Git-Tag: 3.3rc4~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19a1a28374f4760962c49d42bb28c5dddf913c2d;p=thirdparty%2Fshairport-sync.git Add "auto" to interpolation settings. Time a few soxr_oneshots to get a figure for soxr_delay_index. Add a soxr_delay_threshold and in auto mode, select soxr if delay is below threshold. --- 19a1a28374f4760962c49d42bb28c5dddf913c2d diff --cc common.c index 5fae31af,98ebe36c..4bc54c07 --- a/common.c +++ b/common.c @@@ -1282,11 -1284,17 +1282,12 @@@ char *get_version_string() char *version_string = malloc(1024); if (version_string) { strcpy(version_string, PACKAGE_VERSION); -#ifdef GITDESCRIPTION - if (strlen(GITDESCRIPTION)) { - strcat(version_string, "-"); - strcat(version_string, GITDESCRIPTION); - } -#endif ++ #ifdef CONFIG_LIBDAEMON - strcat(version_string, "-libdaemon"); + strcat(version_string, "-libdaemon"); #endif #ifdef CONFIG_MBEDTLS - strcat(version_string, "-mbedTLS"); + strcat(version_string, "-mbedTLS"); #endif #ifdef CONFIG_POLARSSL strcat(version_string, "-PolarSSL");