mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
audioconvert: clear buffer allocation state as well
This commit is contained in:
parent
129ccd3a3e
commit
10426790b0
1 changed files with 2 additions and 0 deletions
|
|
@ -370,6 +370,8 @@ static void clean_convert(struct impl *this)
|
|||
for (i = 0; i < this->n_links; i++)
|
||||
clean_link(this, &this->links[i]);
|
||||
this->n_links = 0;
|
||||
this->buffers_set[SPA_DIRECTION_INPUT] = false;
|
||||
this->buffers_set[SPA_DIRECTION_OUTPUT] = false;
|
||||
}
|
||||
|
||||
static int setup_buffers(struct impl *this, enum spa_direction direction)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue