From a44ee31abecf40cef0623beea6fd56cf26d4321a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 2 Apr 2019 23:04:09 +0200 Subject: [PATCH] alsa: write as much as we can Always write as much data as we can and don't stop when we written up to the threshold. --- spa/plugins/alsa/alsa-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/alsa/alsa-utils.c b/spa/plugins/alsa/alsa-utils.c index 504152558..15806a9de 100644 --- a/spa/plugins/alsa/alsa-utils.c +++ b/spa/plugins/alsa/alsa-utils.c @@ -754,7 +754,7 @@ again: return res; } - if (!spa_list_is_empty(&state->ready) && total_written < state->threshold && written > 0) + if (!spa_list_is_empty(&state->ready) && written > 0) goto again; state->sample_count += total_written;