mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05: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;
|
status = fstatus;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* if the follower didn't produce more data
|
/* if the follower didn't produce more data or is
|
||||||
* we can stop now */
|
* not drained we can stop now */
|
||||||
if ((fstatus & SPA_STATUS_HAVE_DATA) == 0)
|
if ((fstatus & (SPA_STATUS_HAVE_DATA | SPA_STATUS_DRAINED)) == 0)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* converter produced something or is drained and we
|
/* converter produced something or is drained and we
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue