mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
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:
parent
3a0ffe21e6
commit
5480a1382f
3 changed files with 0 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue