Displaying 6 results from an estimated 6 matches for "waveinopen".
2007 Sep 22
1
Echo Cancellation Problem -- with sound sample
Hello all,
I am trying out the echo cancellation of Speex (1.2beta2) on Windows XP. I use the Windows Media API (i.e. waveInOpen, waveOutOpen etc) for playback and capture, but I cannot make echo cancellation works in my use case. Here is a description of what I tried: (the sound is in 8kHz and 16 bits per sample, the frame size is 240, tail_length is long enough to cover the far end to near end delay)
Experiment 1:
A sin...
2009 Feb 26
1
'cannot allocate memory' error, Ventrilo
...32fb51d in libasound.so.2 (+0x4c51d) (0x0032739c)
7 0x7322c7b7 ALSA_widMessage+0xe07() in winealsa (0x0032741c)
8 0x6035e520 MMDRV_Message+0x250() in winmm (0x0032748c)
9 0x6035ee19 MMDRV_Open+0xe9() in winmm (0x003274dc)
10 0x60373028 WAVE_Open+0x1b8() in winmm (0x0032755c)
11 0x60373340 waveInOpen+0x50() in winmm (0x0032758c)
12 0x60e0c39c IDirectSoundCaptureBufferImpl_Create+0x63c() in dsound
(0x003275cc)
13 0x60e0c6ba IDirectSoundCaptureImpl_CreateCaptureBuffer+0x6a() in
dsound (0x0032760c)
14 0x00494ea8 in ventrilo (+0x94ea8) (0x0032b1bc)
0x6fdcd832: ret
Modules:
Module Address D...
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
...coding audio),CAudiosrc(Capturing
Audio),CAudioSink(playback the audio).
In CAudioSink::AudioPlayer() which is timer 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;
spe...
2007 Sep 22
1
Echo Cancellation Problem -- with sound sample
...nd ill-conditioned, and I have made no
attempt on getting that to work (I'm not talking about an occasional
DTMF bit here and there).
Jean-Marc
Eddy wrote:
> Hello all,
>
> I am trying out the echo cancellation of Speex (1.2beta2) on Windows XP. I use the Windows Media API (i.e. waveInOpen, waveOutOpen etc) for playback and capture, but I cannot make echo cancellation works in my use case. Here is a description of what I tried: (the sound is in 8kHz and 16 bits per sample, the frame size is 240, tail_length is long enough to cover the far end to near end delay)
>
>
> Exper...
2010 Jul 20
1
[BombData][alltestmode] Re: [SPAM] [BombData][alltestmode] Re: Speex EchoCancellation
...coding
audio),CAudiosrc(Capturing
Audio),CAudioSink(playback the audio).
In CAudioSink::AudioPlayer() which is timer 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;
spe...