mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-06 16:56:00 +00:00
audioadapter: don't emit xrun when drained
This commit is contained in:
parent
5a7f4a619a
commit
d7ff7d098b
|
@ -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…
Reference in a new issue