Lines Matching refs:FRAME_LEN
27 // (ceil(1/(1 + MIN_SKEW)*2) + 1)*FRAME_LEN
29 #define MAX_RESAMP_LEN (5 * FRAME_LEN)
31 static const int bufSizeSamp = BUF_SIZE_FRAMES * FRAME_LEN; // buffer size (samples)
54 short farendOld[2][FRAME_LEN];
331 short farend[FRAME_LEN];
419 nFrames = nrOfSamples / FRAME_LEN;
424 nmbrOfFilledBuffers = WebRtcApm_get_buffer_size(aecpc->farendBuf) / FRAME_LEN;
481 aecpc->bufSizeStart * FRAME_LEN);
492 nmbrOfFilledBuffers = WebRtcApm_get_buffer_size(aecpc->farendBuf) / FRAME_LEN;
497 WebRtcApm_ReadBuffer(aecpc->farendBuf, farend, FRAME_LEN);
500 memcpy(&(aecpc->farendOld[i][0]), farend, FRAME_LEN * sizeof(short));
504 memcpy(farend, &(aecpc->farendOld[i][0]), FRAME_LEN * sizeof(short));
515 WebRtcAec_ProcessFrame(aecpc->aec, farend, &nearend[FRAME_LEN * i], &nearendH[FRAME_LEN * i],
516 &out[FRAME_LEN * i], &outH[FRAME_LEN * i], aecpc->knownDelay);
760 if (delayNew < FRAME_LEN) {
761 WebRtcApm_FlushBuffer(aecpc->farendBuf, FRAME_LEN);
762 delayNew += FRAME_LEN;
798 const int maxStuffSamp = 10 * FRAME_LEN;
809 if (delayNew > FAR_BUF_LEN - FRAME_LEN*aecpc->aec->mult) {
813 FRAME_LEN));