summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/playback.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 9de8778..4d73c35 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -1345,8 +1345,9 @@ void initialize_buffer_fill(void)
void audio_check_buffer(void)
{
/* Start buffer filling as necessary. */
- if ((filebufused > conf_watermark || !queue_empty(&audio_queue)
- || !playing || ci.stop_codec || ci.reload_codec) && !filling)
+ if ((!conf_watermark || filebufused > conf_watermark
+ || !queue_empty(&audio_queue) || !playing || ci.stop_codec
+ || ci.reload_codec) && !filling)
return ;
initialize_buffer_fill();