mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
audioadapter: don't emit xrun when drained
This commit is contained in:
parent
5a7f4a619a
commit
d7ff7d098b
1 changed files with 2 additions and 2 deletions
|
|
@ -944,7 +944,7 @@ static int impl_node_process(void *object)
|
|||
break;
|
||||
}
|
||||
} else if (!this->driver) {
|
||||
bool done;
|
||||
bool done = false;
|
||||
while (true) {
|
||||
/* output node (source). First run the converter to make
|
||||
* sure we push out any queued data. Then when it needs
|
||||
|
|
@ -981,7 +981,7 @@ static int impl_node_process(void *object)
|
|||
if (done)
|
||||
break;
|
||||
}
|
||||
if (!(status & SPA_STATUS_HAVE_DATA))
|
||||
if (!done)
|
||||
spa_node_call_xrun(&this->callbacks, 0, 0, NULL);
|
||||
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue