Displaying 1 result from an estimated 1 matches for "wavedata".
Did you mean:
savedata
2008 Feb 15
0
speex echo problem in my own softphone to POTS
..., I heard all the voice returned back in TraditionalPhone. It seems SpeexEcho stops to work.
What I have done In my softPhone project with SpeexEcho are these:
1. prepare a buffer with 4000 bytes deep.
2. "state = speex_echo_state_init( 160, 1280 )" then:
3. put waveData(wHdr) into buffer after "waveOutWrite(hWaveOut, wHdr, sizeof(*wHdr))"
4. in "WaveInCallback" function: Get waveData From buffer, and use "spxec_echo_cancel(state, waveInData, DataGotFromBuffer, tmpBuffer,0)"
5. then push tmpBuffer to Encode Module, package to G...