From 012c2a656968610015c81de2cdd81b269fba657e Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Sun, 28 Jun 2026 17:08:11 +0100 Subject: [PATCH] If the minimum DAC queue size is not changed from maxint, assume it has never been set and indicate that it is not available. --- player.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/player.c b/player.c index b9802d08..edc7f347 100644 --- a/player.c +++ b/player.c @@ -4093,7 +4093,11 @@ void *player_thread_func(void *arg) { statistics_item(" Late", "%*" PRIu64 "", 6, conn->late_packets); statistics_item("Too Late", "%*" PRIu64 "", 8, conn->too_late_packets); statistics_item("Resend Reqs", "%*" PRIu64 "", 11, conn->resend_requests); - statistics_item("Min DAC Queue", "%*" PRIu64 "", 13, minimum_dac_queue_size); + if (minimum_dac_queue_size == UINT64_MAX) { + statistics_item("Min DAC Queue", " n/a"); // same size as below, right justified + } else { + statistics_item("Min DAC Queue", "%*" PRIu64 "", 13, minimum_dac_queue_size); + } statistics_item("Min Buffers", "%*" PRIu32 "", 11, minimum_buffer_occupancy); statistics_item("Max Buffers", "%*" PRIu32 "", 11, maximum_buffer_occupancy); #ifdef CONFIG_AIRPLAY_2