mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
echo-cancel: send capture/source latency correctly
Input latency received on the source (output stream) should be propagated on the input stream (capture).
This commit is contained in:
parent
83a155d0c0
commit
5eba752b95
1 changed files with 2 additions and 2 deletions
|
|
@ -624,9 +624,9 @@ static void input_param_latency_changed(struct impl *impl, const struct spa_pod
|
|||
params[0] = spa_latency_build(&b, SPA_PARAM_Latency, &latency);
|
||||
|
||||
if (latency.direction == SPA_DIRECTION_INPUT)
|
||||
pw_stream_update_params(impl->source, params, 1);
|
||||
else
|
||||
pw_stream_update_params(impl->capture, params, 1);
|
||||
else
|
||||
pw_stream_update_params(impl->source, params, 1);
|
||||
}
|
||||
|
||||
static struct spa_pod* get_props_param(struct impl* impl, struct spa_pod_builder* b)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue