mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05: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++)
|
for (i = 0; i < this->n_links; i++)
|
||||||
clean_link(this, &this->links[i]);
|
clean_link(this, &this->links[i]);
|
||||||
this->n_links = 0;
|
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)
|
static int setup_buffers(struct impl *this, enum spa_direction direction)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue