mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-08 12:06:40 -04:00
audioconvert: update rate also for nodes with disabled resampler
When the graph rate changes it is possible that the follower node can renegotiate to the new suggested audioconvert rate without requiring resampling and so the extra check for the disabled resampler is not required. Fixes #4933
This commit is contained in:
parent
4c8093fa72
commit
c7f2f0dc73
1 changed files with 1 additions and 2 deletions
|
|
@ -1062,8 +1062,7 @@ static int impl_node_set_io(void *object, uint32_t id, void *data, size_t size)
|
|||
this->io_position = data;
|
||||
|
||||
if (this->io_position && this->io_clock &&
|
||||
this->io_position->clock.target_rate.denom != this->io_clock->target_rate.denom &&
|
||||
!this->props.resample_disabled) {
|
||||
this->io_position->clock.target_rate.denom != this->io_clock->target_rate.denom) {
|
||||
spa_log_debug(this->log, "driver %d changed rate:%u -> %u", this->io_position->clock.id,
|
||||
this->io_clock->target_rate.denom,
|
||||
this->io_position->clock.target_rate.denom);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue