]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Quieten a debug message.
authorMike Brady <mikebrady@eircom.net>
Fri, 21 Jul 2017 12:20:41 +0000 (14:20 +0200)
committerMike Brady <mikebrady@eircom.net>
Fri, 21 Jul 2017 12:20:41 +0000 (14:20 +0200)
player.c

index a01d9de578a79d43c685ae6cafe6a9e4a7e9aaa8..bdf665d34b0223b086793ff3a701e7dc888d36cc 100644 (file)
--- a/player.c
+++ b/player.c
@@ -1807,9 +1807,9 @@ static void *player_thread_func(void *arg) {
               size_t filler_length =
                   config.resyncthreshold * config.output_rate; // number of samples
               if ((sync_error > 0) && (sync_error > filler_length)) {
-                debug(1, "Large positive sync error: %lld. Dropping the frame.", sync_error);
+                // debug(1, "Large positive sync error: %lld. Dropping the frame.", sync_error);
               } else if ((sync_error < 0) && ((-sync_error) > filler_length)) {
-                debug(1, "Large negative sync error: %lld. Inserting silence.", sync_error);
+                // debug(1, "Large negative sync error: %lld. Inserting silence.", sync_error);
                 char *long_silence = malloc(conn->output_bytes_per_frame * (-sync_error));
                 if (long_silence == NULL)
                   die("Failed to allocate memory for a long_silence buffer.");