Quieten a debug message.
This commit is contained in:
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user