Quieten a debug message.

This commit is contained in:
Mike Brady
2017-07-21 14:20:41 +02:00
parent 1d7642b8ba
commit cf9e662668
+2 -2
View File
@@ -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.");