mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
audioconvert: don't emit changed events for rate changes
Rate changes can happen very often when a stream is doing rate control, so don't emit the changes every time.
This commit is contained in:
parent
5ae1c03d77
commit
24f6225c5d
1 changed files with 1 additions and 2 deletions
|
|
@ -909,8 +909,7 @@ static int apply_props(struct impl *this, const struct spa_pod *param)
|
|||
}
|
||||
break;
|
||||
case SPA_PROP_rate:
|
||||
if (spa_pod_get_double(&prop->value, &p->rate) == 0)
|
||||
changed++;
|
||||
spa_pod_get_double(&prop->value, &p->rate);
|
||||
break;
|
||||
case SPA_PROP_params:
|
||||
changed += parse_prop_params(this, &prop->value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue