]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Default to "basic" stuffing even if soxr support is included.
authorMike Brady <mikebrady@eircom.net>
Mon, 15 Apr 2019 10:13:51 +0000 (11:13 +0100)
committerMike Brady <mikebrady@eircom.net>
Mon, 15 Apr 2019 10:13:51 +0000 (11:13 +0100)
scripts/shairport-sync.conf
shairport.c

index a979431ce5ad3ac3cdf758f2ab99dadcb04188a3..2bcba1598f25b2b9fcecf4d2219c71190bb0d0fc 100644 (file)
@@ -15,6 +15,7 @@ general =
 //                             %V for the full version string, e.g. 3.3-OpenSSL-Avahi-ALSA-soxr-metadata-sysconfdir:/etc
 //             Overall length can not exceed 50 characters. Example: "Shairport Sync %v on %H".
 //     password = "secret"; // leave this commented out if you don't want to require a password
+//     for this "soxr" option to be available in the next setting, to be operative, Shairport Sync must be built with the configuration flag --with-soxr
 //     interpolation = "basic"; // aka "stuffing". Default is "basic", alternative is "soxr". Use "soxr" only if you have a reasonably fast processor.
 //     Note: if Shairport Sync is build with the --with-soxr configuration flag, interpolation will be "soxr" by default.
 //     output_backend = "alsa"; // Run "shairport-sync -h" to get a list of all output_backends, e.g. "alsa", "pipe", "stdout". The default is the first one.
index 7e98bf27621ffaefb7a9e4bfff189f1f883e9a6e..cb9f132c28e0d0d7f9b624d6e5928a2f63b7cebe 100644 (file)
@@ -1312,11 +1312,15 @@ int main(int argc, char **argv) {
       0.002; // this number of seconds of timing error before attempting to correct it.
   config.buffer_start_fill = 220;
   config.port = 5000;
+
+/*
 #ifdef CONFIG_SOXR
   config.packet_stuffing = ST_soxr; // use soxr interpolation by default if support has been included
 #else
   config.packet_stuffing = ST_basic; // simple interpolation or deletion
 #endif
+*/
+
   // char hostname[100];
   // gethostname(hostname, 100);
   // config.service_name = malloc(20 + 100);