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.
This commit is contained in:
Wim Taymans 2019-04-02 23:04:09 +02:00
parent 5c896fedd5
commit a44ee31abe

View file

@ -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;