search for: inputbuf

Displaying 3 results from an estimated 3 matches for "inputbuf".

Did you mean: input_buf
2005 Jul 20
1
Speex Windows from 1.1.6 source
...es input. My Problem is the audio played on the receiving side after decoding Is only a "hush" or it is pure noise. Below is my code, that I have used for encoding and decoding. /************** Encode ******************/ speex_bits_reset(&Encbits); psInput = (short *)InputBuf; iIndex = 80; memset(OutputBuf,0,(200 * sizeof(float))); /*Copy the 16 bits values to float so Speex can work on them*/ for (i=0;i<iIndex;i++){ /* float */pfEncBuf[i]=/* short */psInput[i]; } /*Encode the frame*/ speex_encode(encState,pfEncBuf, &En...
2009 Feb 13
0
Why speex echo cancellation is not work
...O_SUPPRESS_ACTIVE, st); //int tmp1 = 1; //speex_preprocess_ctl(den, SPEEX_PREPROCESS_SET_AGC, &tmp1); } //FILE *echo_fd, *ref_fd, *e_fd; short echo_buf[SPEEX_NN], ref_buf[SPEEX_NN], e_buf[SPEEX_NN]; SpeexEchoState *st; SpeexPreprocessState *den; char* inputBuf; ~AECHandler(void){ speex_echo_state_destroy(this->st); speex_preprocess_state_destroy(this->den); } void HookComingSound(char* buf){ speex_echo_playback(this->st,(spx_int16_t*)buf); } void HookOutingSound(char* origin, char* &outbuf){...
2016 Aug 26
2
[PATCH 9/9] Optimize silk_inner_prod_aligned_scale() for ARM NEON
...k/enc_API.c b/silk/enc_API.c index ba3db06..09fd551 100644 --- a/silk/enc_API.c +++ b/silk/enc_API.c @@ -411,7 +411,7 @@ opus_int silk_Encode( /* O Returns error co silk_stereo_LR_to_MS( &psEnc->sStereo, &psEnc->state_Fxx[ 0 ].sCmn.inputBuf[ 2 ], &psEnc->state_Fxx[ 1 ].sCmn.inputBuf[ 2 ], psEnc->sStereo.predIx[ psEnc->state_Fxx[ 0 ].sCmn.nFramesEncoded ], &psEnc->sStereo.mid_only_flags[ psEnc->state_Fxx[ 0 ].sCmn.nFramesEncoded ], MStargetRates_bps, TargetRate_bps, psEnc...