mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
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:
parent
5c896fedd5
commit
a44ee31abe
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue