modules: always update latency params

Even if the latency didn't change, the current pw-stream
implementation will have wiped all Latency params away and we want
to put them back in all cases.

See #4731
This commit is contained in:
Wim Taymans 2025-06-11 16:26:03 +02:00
parent 3a0ffe21e6
commit 5480a1382f
3 changed files with 0 additions and 6 deletions

View file

@ -269,8 +269,6 @@ static void param_latency_changed(struct impl *impl, const struct spa_pod *param
if (param == NULL || spa_latency_parse(param, &latency) < 0)
return;
if (spa_latency_info_compare(&impl->latency[latency.direction], &latency) == 0)
return;
impl->latency[latency.direction] = latency;
update_latencies(impl);

View file

@ -1230,8 +1230,6 @@ static void param_latency_changed(struct impl *impl, const struct spa_pod *param
if (param == NULL || spa_latency_parse(param, &latency) < 0)
return;
if (spa_latency_info_compare(&impl->latency[latency.direction], &latency) == 0)
return;
impl->latency[latency.direction] = latency;
update_latencies(impl);

View file

@ -489,8 +489,6 @@ static void param_latency_changed(struct impl *impl, const struct spa_pod *param
if (param == NULL || spa_latency_parse(param, &latency) < 0)
return;
if (spa_latency_info_compare(&impl->latency[latency.direction], &latency) == 0)
return;
impl->latency[latency.direction] = latency;
update_latencies(impl, false, false);