Displaying 1 result from an estimated 1 matches for "g_bit".
Did you mean:
gbit
2007 Apr 25
0
echo cancellation on Blackfin DSK
...}
else //Speex is enabled so do a lot more work
{
#ifndef ACTIVATE_STEREO
// Demux the stereo stream
for(i = 0; i < SPEEX_FRAME_SIZE; i++)
{
*in_left++ = *in++; // channel 1
in++; // channel 2
}
in_left = in_buffer_calc;
speex_bits_reset(&g_Bits);
// Encode the frame
speex_encode_int(g_pvEnc, (spx_int16_t *)in_left, &g_Bits);
nbBits = speex_bits_write(&g_Bits, cbits, 200);
speex_bits_rewind(&g_Bits);
SpeexEchoState *st=
speex_echo_state_init(SPEEX_FRAME_SIZE,filter_length);
speex_echo_cancel(st,...