Displaying 1 result from an estimated 1 matches for "fcancbuffer".
2004 Aug 06
2
Preprocessing and Echo Cancellation Notes.
...thing really useful for me. I'm currently
using it something like this:
ec = speex_echo_state_init(160, 500); /* in ms */
...
#if defined(SPEEX_EC)
{
/* convert buffers to float, echo cancel, convert back */
float finBuffer[160], foutBuffer[160], fcancBuffer[160];
int i;
for(i=0;i<160;i++)
{
finBuffer[i] = virtualInBuffer[i];
foutBuffer[i] = ((short *)outputBuffer)[i];
}
//fprintf(stderr, "echo cancelling virtual mono frame\n");...