mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
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:
parent
32d4e5f73c
commit
2bd682d326
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue