Home
last modified time | relevance | path

Searched refs:lengthIn (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/src/common_audio/resampler/
Dresampler.cc431 int Resampler::Push(const WebRtc_Word16 * samplesIn, int lengthIn, WebRtc_Word16* samplesOut, in Push() argument
446 WebRtc_Word16* left = (WebRtc_Word16*)malloc(lengthIn * sizeof(WebRtc_Word16) / 2); in Push()
447 WebRtc_Word16* right = (WebRtc_Word16*)malloc(lengthIn * sizeof(WebRtc_Word16) / 2); in Push()
452 for (int i = 0; i < lengthIn; i += 2) in Push()
459 lengthIn = lengthIn / 2; in Push()
464 res |= slave_left_->Push(left, lengthIn, out_left, maxLen / 2, actualOutLen_left); in Push()
465 res |= slave_right_->Push(right, lengthIn, out_right, maxLen / 2, actualOutLen_right); in Push()
500 memcpy(samplesOut, samplesIn, lengthIn * sizeof(WebRtc_Word16)); in Push()
501 outLen = lengthIn; in Push()
504 if (maxLen < (lengthIn * 2)) in Push()
[all …]
/external/webrtc/src/common_audio/resampler/include/
Dresampler.h80 int Push(const WebRtc_Word16* samplesIn, int lengthIn, WebRtc_Word16* samplesOut,
84 int Insert(WebRtc_Word16* samplesIn, int lengthIn);