[pulseaudio-discuss] module-echo-cancel
Baek Chang
baeksan at ccrma.stanford.edu
Thu May 26 10:07:10 PDT 2011
I'm trying to use the echo cancellation module on my embedded platform but
it seems to be taking all the cpu usage and renders audio useless.
I'm continually seeing these messages:
warning: The echo canceller started acting funny and got slapped (reset). It
swears it will behave now.
D: module-echo-cancel.c: diff -269 (43555 - 88163 + 44155) 0 0 9600 184
E: module-echo-cancel.c: Playback after capture (-269), drop sink 84
warning: The echo canceller started acting funny and got slapped (reset). It
swears it will behave now.
warning: The echo canceller started acting funny and got slapped (reset). It
swears it will behave now.
D: module-echo-cancel.c: diff 475 (42663 - 87687 + 45315) 0 0 9600 184
warning: The echo canceller started acting funny and got slapped (reset). It
swears it will behave now.
D: module-echo-cancel.c: diff 168 (39254 - 87687 + 48410) 0 0 9600 191
D: module-echo-cancel.c: diff -411 (38089 - 87687 + 49002) 0 0 9600 185
E: module-echo-cancel.c: Playback after capture (-411), drop sink 112
warning: The echo canceller started acting funny and got slapped (reset). It
swears it will behave now.
warning: The echo canceller started acting funny and got slapped (reset). It
swears it will behave now.
D: module-echo-cancel.c: diff 1491 (41407 - 87052 + 46961) 0 0 9600 175
E: module-echo-cancel.c: playback too far ahead (1491), drop source 260
warning: The echo canceller started acting funny and got slapped (reset). It
swears it will behave now.
warning: The echo canceller started acting funny and got slapped (reset). It
swears it will behave now.
D: module-echo-cancel.c: diff -1166 (44921 - 88526 + 42252) 0 0 9600 187
E: module-echo-cancel.c: Playback after capture (-1166), drop sink 244
cpu is at 90-100% at the highest cpu scaling.
I was loading the module like so in my .pa conf file:
load-module module-echo-cancel source_name=echosource
source_master=pcm_input sink_name=echosink sink_master=pcm_output rate=44100
channels=2
Is there a step I am missing, or a link to documentation on how to set up
the module properly?
Thanks
--
-baeksanchang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110526/dad2298e/attachment.htm>
More information about the pulseaudio-discuss
mailing list