mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
audioconvert: also set io_position on channelmix
Also make the channelmix node aware of the io_position so that is can use this later to get the default rate.
This commit is contained in:
parent
c726dd887c
commit
ed80d72d51
2 changed files with 17 additions and 1 deletions
|
|
@ -557,6 +557,7 @@ static int impl_node_set_io(void *object, uint32_t id, void *data, size_t size)
|
|||
switch (id) {
|
||||
case SPA_IO_Position:
|
||||
res = spa_node_set_io(this->resample, id, data, size);
|
||||
res = spa_node_set_io(this->channelmix, id, data, size);
|
||||
res = spa_node_set_io(this->fmt[0], id, data, size);
|
||||
res = spa_node_set_io(this->fmt[1], id, data, size);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue