mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
alsa: stop try writing samples when no progress
This commit is contained in:
parent
c5f5f1d94b
commit
d6836d89ee
1 changed files with 1 additions and 1 deletions
|
|
@ -744,7 +744,7 @@ again:
|
|||
return res;
|
||||
}
|
||||
|
||||
if (!spa_list_is_empty(&state->ready) && total_written < state->threshold)
|
||||
if (!spa_list_is_empty(&state->ready) && total_written < state->threshold && written > 0)
|
||||
goto again;
|
||||
|
||||
state->sample_count += total_written;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue