From 4d954c775fd7010332b0d7b8aeb7b969d31f3dea Mon Sep 17 00:00:00 2001 From: Mike McKnight Date: Tue, 10 Nov 2015 14:50:21 -0700 Subject: [PATCH] Added total packet counts --- player.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/player.c b/player.c index 52a93f5f..5c454c7a 100644 --- a/player.c +++ b/player.c @@ -1169,18 +1169,19 @@ static void *player_thread_func(void *arg) { if (at_least_one_frame_seen) { if (config.output->delay) inform("Sync error: %.1f (frames); net correction: %.1f (ppm); corrections: %.1f " - "(ppm); missing packets %llu; late packets %llu; too late packets %llu; " + "(ppm); total packets %d; missing packets %llu; late packets %llu; too late packets %llu; " "resend requests %llu; min DAC queue size %lli, min and max buffer occupancy " "%u and %u.", moving_average_sync_error, moving_average_correction * 1000000 / 352, - moving_average_insertions_plus_deletions * 1000000 / 352, missing_packets, + moving_average_insertions_plus_deletions * 1000000 / 352, + play_number, missing_packets, late_packets, too_late_packets, resend_requests, minimum_dac_queue_size, minimum_buffer_occupancy, maximum_buffer_occupancy); else - inform("Synchronisation disabled. Missing packets %llu; late packets %llu; too late packets %llu; " + inform("Synchronisation disabled. total packets %d; missing packets %llu; late packets %llu; too late packets %llu; " "resend requests %llu; min and max buffer occupancy " "%u and %u.", - missing_packets, + play_number, missing_packets, late_packets, too_late_packets, resend_requests, minimum_buffer_occupancy, maximum_buffer_occupancy); } else {