mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
echo-cancel: set latency on the right streams
This commit is contained in:
parent
7f912a1cff
commit
a248391939
1 changed files with 2 additions and 2 deletions
|
|
@ -270,9 +270,9 @@ static void output_param_latency_changed(struct impl *impl, const struct spa_pod
|
||||||
params[0] = spa_latency_build(&b, SPA_PARAM_Latency, &latency);
|
params[0] = spa_latency_build(&b, SPA_PARAM_Latency, &latency);
|
||||||
|
|
||||||
if (latency.direction == SPA_DIRECTION_INPUT)
|
if (latency.direction == SPA_DIRECTION_INPUT)
|
||||||
pw_stream_update_params(impl->source, params, 1);
|
pw_stream_update_params(impl->sink, params, 1);
|
||||||
else
|
else
|
||||||
pw_stream_update_params(impl->capture, params, 1);
|
pw_stream_update_params(impl->playback, params, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void output_param_changed(void *data, uint32_t id, const struct spa_pod *param)
|
static void output_param_changed(void *data, uint32_t id, const struct spa_pod *param)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue