For me, I used singleton class that manages the output buffer after it is
played by speaker. My threads on microphone module then go to that singleton
object to obtain the played buffer to cancel the echo. Of course there is
some delay between speaker playing and microphone input and you just need to
tune it so that actual echo is being cancelled. Mine worked fine.
Tim
-----Original Message-----
From: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] On
Behalf Of YUN TAO HAI
Sent: Monday, January 14, 2008 5:31 AM
To: speex-dev@xiph.org
Subject: [Speex-dev] How to use the speex AEC
I would like to add AEC to my program. Since the nature of my program
is such that its playback and recording are asynchronous. I have no
idea whether the testecho.c example will work for me. Anyone here has
experience with the AEC in async mode?
YUN TAO
_______________________________________________
Speex-dev mailing list
Speex-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/speex-dev