]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
a bit less noisy debug/timing of soxr!
authorMike Brady <mikebrady@eircom.net>
Mon, 15 Apr 2019 16:22:52 +0000 (17:22 +0100)
committerMike Brady <mikebrady@eircom.net>
Mon, 15 Apr 2019 16:22:52 +0000 (17:22 +0100)
player.c

index 7f409f35eb5005d56d9dbec4c540dc20da22a6c4..55cf01a66beadce21dfba4bfde48d7dae29bb51b 100644 (file)
--- a/player.c
+++ b/player.c
@@ -1435,10 +1435,10 @@ int stuff_buffer_soxr_32(int32_t *inptr, int32_t *scratchBuffer, int length,
     };
   }
 
-  if (packets_processed % 1 == 0) {
+  if (packets_processed % 10 == 0) {
     debug(1, "soxr_oneshot execution time in microseconds: mean, standard deviation and max "
              "for %" PRId32 " interpolations in the last "
-             "1 packets. %10.1f, %10.1f, %10.1f.",
+             "10 packets. %10.1f, %10.1f, %10.1f.",
           stat_n, stat_mean, sqrtf(stat_M2 / (stat_n - 1)), longest_soxr_execution_time_us);
     stat_n = 0;
     stat_mean = 0.0;