search for: always_pass_through

Displaying 1 result from an estimated 1 matches for "always_pass_through".

2007 Apr 25
0
echo cancellation on Blackfin DSK
...*st= speex_echo_state_init(SPEEX_FRAME_SIZE,filter_length); speex_echo_cancel(st,(spx_int16_t *)in_left,(spx_int16_t *)out_left,(spx_int16_t *)out2,NULL); speex_echo_state_destroy(st); // Decode the frame speex_decode_int(g_pvDec, &g_Bits, (spx_int16_t *)out_left); #ifdef ALWAYS_PASS_THROUGH memcpy(out_buffer_calc, in_buffer_calc, SPEEX_FRAME_SIZE*sizeof(SND_FIXED_16_TYPE)); #endif //ALWAYS_PASS_THROUGH // Mux the Speex output onto the stereo audio stream for(i = 0; i < SPEEX_FRAME_SIZE; i++) { *out++ = *out_left; // channel 1 *out++ = *out_le...