search for: activate_stereo

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

2007 Apr 25
0
echo cancellation on Blackfin DSK
...*out2_buffer_calc; if (SPEEX_DISABLED == g_iSpeexEnabled) //Activated by a pushbutton { memcpy((void *)out, (void *)in, SPEEX_FRAME_SIZE*NUM_CHANNELS*sizeof(ARTYP_16BITS)); } 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 *)...