Displaying 1 result from an estimated 1 matches for "getnextblockfram".
Did you mean:
getnextblockframe
2010 Jun 28
1
ACE does not work for me at all.
...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.
tByte* nextframe = player->GetNextBlockFrame();
/**
* No matter the following two lines are commented or not, the voip
performances are the same, with echo.
*/
// make speex AEC buffer it for echo cancellation for recorder
if (nextframe)
player->GetConverter()->SpeexEchoPlayback(nextframe);
}
......
}
void WFAudioRecorder::ProcessR...