mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
audioadapter: run the converter after follower drained
When the follower drained, rerun the converter again to let it drain as well.
This commit is contained in:
parent
fd520c4b39
commit
19be555fa6
1 changed files with 3 additions and 3 deletions
|
|
@ -971,9 +971,9 @@ static int impl_node_process(void *object)
|
|||
status = fstatus;
|
||||
break;
|
||||
}
|
||||
/* if the follower didn't produce more data
|
||||
* we can stop now */
|
||||
if ((fstatus & SPA_STATUS_HAVE_DATA) == 0)
|
||||
/* if the follower didn't produce more data or is
|
||||
* not drained we can stop now */
|
||||
if ((fstatus & (SPA_STATUS_HAVE_DATA | SPA_STATUS_DRAINED)) == 0)
|
||||
break;
|
||||
}
|
||||
/* converter produced something or is drained and we
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue