Displaying 1 result from an estimated 1 matches for "waveoutproc".
2010 Jun 28
1
ACE does not work for me at all.
...ult. 8000
speex_preprocess_ctl(_den_state, SPEEX_PREPROCESS_SET_AGC_LEVEL, &ftmp);
tmp=1;
speex_preprocess_ctl(_den_state, SPEEX_PREPROCESS_SET_VAD, &tmp);
and following is how I cancel echo:
I have a player class and a recorder class using windows wavein and waveout
with waveInProc and waveOutProc event handlers
void __stdcall WFAudioPlayer::WaveOutProc(HWAVEOUT hWaveOut,UINT uMsg,DWORD
dwInstance,DWORD dwParam1,DWORD dwParam2)
{
if(uMsg != WOM_DONE)
return;
WFAudioPlayer* player = reinterpret_cast<WFAudioPlayer*>(dwInstance);
if (player)
{
// get the frame to be played back next....