You are not logged in.

#1 2020-05-15 11:05:24

Khumarahn
Member
Registered: 2011-11-02
Posts: 15

pulseaudio echo cancellation by default

Hi, I follow the guide for echo cancellation on the wiki, adding to /etc/pulse/default.pa

### Enable Echo/Noise-Cancellation
load-module module-echo-cancel use_master_format=1 aec_method=webrtc aec_args="analog_gain_control=0\ digital_gain_control=1" source_name=echoCancel_source sink_name=echoCancel_sink
set-default-source echoCancel_source
set-default-sink echoCancel_sink

But the echo cancellation does not load by default, though works if I switch a running program to it. System logs have lots of

May 15 11:56:15 leet pulseaudio[1118994]: E: [alsa-source-CX8200 Analog] module-echo-cancel.c: Doing resync
May 15 11:56:15 leet pulseaudio[1118994]: E: [alsa-source-CX8200 Analog] module-echo-cancel.c: Playback too far ahead (72003), drop source 27648
May 15 11:56:15 leet pulseaudio[1118994]: E: [alsa-source-CX8200 Analog] module-echo-cancel.c: Doing resync
May 15 11:56:15 leet pulseaudio[1118994]: E: [alsa-source-CX8200 Analog] module-echo-cancel.c: Playback too far ahead (9500), drop source 3648
May 15 11:56:26 leet pulseaudio[1118994]: E: [alsa-source-CX8200 Analog] module-echo-cancel.c: Doing resync
May 15 11:56:26 leet pulseaudio[1118994]: E: [alsa-source-CX8200 Analog] module-echo-cancel.c: Playback too far ahead (28424), drop source 10912
May 15 11:56:33 leet pulseaudio[1118994]: E: [alsa-source-CX8200 Analog] module-echo-cancel.c: Doing resync
May 15 11:56:33 leet pulseaudio[1118994]: E: [alsa-source-CX8200 Analog] module-echo-cancel.c: Playback after capture (-10069), drop sink 3944

I tried searching for this online, but had not much luck. I found https://gitlab.freedesktop.org/pulseaud … issues/739 but it is not helpful.

Offline

Board footer

Powered by FluxBB