From ecb41eccca1f6c84245e573d49d7bd7d3f314264 Mon Sep 17 00:00:00 2001 From: chme Date: Sun, 9 Jul 2017 11:15:59 +0200 Subject: [PATCH] [player] Use false/true for boolean field --- src/player.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/player.c b/src/player.c index 78fddaf0..b48540dc 100644 --- a/src/player.c +++ b/src/player.c @@ -1092,7 +1092,7 @@ playback_cb(int fd, short what, void *arg) } DPRINTF(E_LOG, L_PLAYER, "Output delay detected (behind=%" PRIu64 ", max=%d), resetting all outputs\n", overrun, pb_write_deficit_max); - pb_write_recovery = 1; + pb_write_recovery = true; playback_suspend(); return; } @@ -1101,7 +1101,7 @@ playback_cb(int fd, short what, void *arg) if (overrun > 0) DPRINTF(E_WARN, L_PLAYER, "Output delay detected: player is %" PRIu64 " ticks behind, catching up\n", overrun); - pb_write_recovery = 0; + pb_write_recovery = false; } // If there was an overrun, we will try to read/write a corresponding number