mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
alsa: rework source a little in the case of slave
When we are slaved, read as much data as we have available and return this from process.
This commit is contained in:
parent
8b1e5fedc9
commit
715594c6ef
4 changed files with 124 additions and 100 deletions
|
|
@ -638,7 +638,7 @@ static int impl_node_process(struct spa_node *node)
|
|||
SPA_FLAG_UNSET(b->flags, BUFFER_FLAG_OUT);
|
||||
input->buffer_id = SPA_ID_INVALID;
|
||||
|
||||
spa_alsa_write(this, 0, true);
|
||||
spa_alsa_write(this, 0);
|
||||
|
||||
input->status = SPA_STATUS_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue