Respect the rate from the position as the default

This commit is contained in:
Wim Taymans 2020-01-09 16:43:08 +01:00
parent 9b41e4dfd9
commit c14881fbe2
3 changed files with 25 additions and 4 deletions

View file

@ -506,6 +506,8 @@ 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->fmt[0], id, data, size);
res = spa_node_set_io(this->fmt[1], id, data, size);
break;
default:
res = -ENOENT;