mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
spa: aec: webrtc: Actually enable echo cancellation for 2.0
This commit is contained in:
parent
e8dbd328d8
commit
8f429ac04b
1 changed files with 1 additions and 0 deletions
|
|
@ -191,6 +191,7 @@ static int webrtc_init2(void *object, const struct spa_dict *args,
|
||||||
config.voice_detection.enabled = voice_detection;
|
config.voice_detection.enabled = voice_detection;
|
||||||
#elif defined(HAVE_WEBRTC2)
|
#elif defined(HAVE_WEBRTC2)
|
||||||
webrtc::AudioProcessing::Config config;
|
webrtc::AudioProcessing::Config config;
|
||||||
|
config.echo_canceller.enabled = true;
|
||||||
config.pipeline.multi_channel_capture = rec_info->channels > 1;
|
config.pipeline.multi_channel_capture = rec_info->channels > 1;
|
||||||
config.pipeline.multi_channel_render = play_info->channels > 1;
|
config.pipeline.multi_channel_render = play_info->channels > 1;
|
||||||
// FIXME: Example code enables both gain controllers, but that seems sus
|
// FIXME: Example code enables both gain controllers, but that seems sus
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue