mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-29 21:37:54 -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
3730528419
commit
6affbf9cf2
1 changed files with 1 additions and 2 deletions
|
|
@ -1019,8 +1019,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