mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
impl-port: clear have_buffers when setting 0 buffers
This commit is contained in:
parent
ed46324872
commit
6b228944f7
1 changed files with 1 additions and 0 deletions
|
|
@ -1567,6 +1567,7 @@ int pw_impl_port_use_buffers(struct pw_impl_port *port, struct pw_impl_port_mix
|
|||
return -EIO;
|
||||
|
||||
if (n_buffers == 0) {
|
||||
mix->have_buffers = false;
|
||||
if (port->n_mix == 1)
|
||||
pw_impl_port_update_state(port, PW_IMPL_PORT_STATE_READY, 0, NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue