webrtcdsp: Enable multi_channel processing

Enable multi_channel processing in webrtc-audio-processing when the
input or output has multiple channels.

Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3220
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7100>
This commit is contained in:
Jan Schmidt 2024-06-25 22:19:26 +10:00
parent 32d4e5f73c
commit 2bd682d326

View file

@ -628,6 +628,9 @@ gst_webrtc_dsp_setup (GstAudioFilter * filter, const GstAudioInfo * info)
GST_WEBRTC_ECHO_PROBE_UNLOCK (self->probe);
}
config.pipeline.multi_channel_render = (info->channels > 1);
config.pipeline.multi_channel_capture = (probe_info.channels > 1);
/* Setup Filters */
// TODO: expose pre_amplifier