echo-cancel: Fix multichannel processing

Missed the new parameters in the webrtc-audio-processing 1.0 move.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/823>
This commit is contained in:
Arun Raghavan 2024-06-25 15:34:41 -04:00
parent c1990dd026
commit 3b09ca3a15

View file

@ -242,6 +242,8 @@ bool pa_webrtc_ec_init(pa_core *c, pa_echo_canceller *ec,
config.high_pass_filter.enabled = false; config.high_pass_filter.enabled = false;
config.echo_canceller.enabled = true; config.echo_canceller.enabled = true;
config.pipeline.multi_channel_capture = rec_ss->channels > 1;
config.pipeline.multi_channel_render = play_ss->channels > 1;
if (!mobile) if (!mobile)
config.echo_canceller.mobile_mode = false; config.echo_canceller.mobile_mode = false;