From: Mike Brady Date: Mon, 15 Apr 2019 16:16:30 +0000 (+0100) Subject: very noisy debug of soxr! X-Git-Tag: 3.3rc4~2^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a96a5a62db23acbe834c2ec7f264811bfb9ee91;p=thirdparty%2Fshairport-sync.git very noisy debug of soxr! --- diff --git a/player.c b/player.c index d37a28c3..7f409f35 100644 --- 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 % 2500 == 0) { + if (packets_processed % 1 == 0) { debug(1, "soxr_oneshot execution time in microseconds: mean, standard deviation and max " "for %" PRId32 " interpolations in the last " - "2500 packets. %10.1f, %10.1f, %10.1f.", + "1 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;