Displaying 3 results from an estimated 3 matches for "onwaveinfun".
2010 Jul 20
2
[SPAM] [BombData][alltestmode] Re: Speex Echo Cancellation
As for me - speex_echo_cancellation is a better choise. Try using it in
capture thread instead
of those speex_echo_capture and speex_echo_playback functions.
And please, describe your problem in details. Cause the fact that you
"didn get echo cancellation"
doesn't mean you are doing smth wrong.
Regards,
Anton A. Shpakovsky
-----Original Message-----
From: speex-dev-bounces at
2010 Jul 20
0
[SPAM] [BombData][alltestmode] Re: Speex Echo Cancellation
...er functon called every 5ms,i will
decode the audio which i receive from server,play the decoded audio and after
i am calling speex_echo_playback().
In CAudiosrc class i am calling
waveInOpen(&hWaveIn, WAVE_MAPPER, &format,m_ThreadID,NULL, CALLBACK_THREAD);
ON_THREAD_MESSAGE(MM_WIM_DATA, OnWaveInFun)
In CAudiosrc ::OnWaveInFun() i am calling
speex_echo_capture,speex_preprocess_run,speex_encode_int.
void CspxEnDe::Init(int mode)
{
speex_mode = mode;
initialized = 1;
speex_bits_init(&bits);
int hz = 16000; // 8khz sampling
if (speex_mode == SPEEX_MODE_ENCODE)
{
const SpeexMo...
2010 Jul 20
1
[BombData][alltestmode] Re: [SPAM] [BombData][alltestmode] Re: Speex EchoCancellation
...er functon called every 5ms,i
will
decode the audio which i receive from server,play the decoded audio and
after
i am calling speex_echo_playback().
In CAudiosrc class i am calling
waveInOpen(&hWaveIn, WAVE_MAPPER, &format,m_ThreadID,NULL,
CALLBACK_THREAD);
ON_THREAD_MESSAGE(MM_WIM_DATA, OnWaveInFun)
In CAudiosrc ::OnWaveInFun() i am calling
speex_echo_capture,speex_preprocess_run,speex_encode_int.
void CspxEnDe::Init(int mode)
{
speex_mode = mode;
initialized = 1;
speex_bits_init(&bits);
int hz = 16000; // 8khz sampling
if (speex_mode == SPEEX_MODE_ENCODE)
{
const SpeexMo...