Searched refs:lengthIn (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/webrtc/common_audio/resampler/ |
D | resampler.cc | 404 int Resampler::Push(const int16_t * samplesIn, size_t lengthIn, in Push() argument 410 int16_t* left = (int16_t*)malloc(lengthIn * sizeof(int16_t) / 2); in Push() 411 int16_t* right = (int16_t*)malloc(lengthIn * sizeof(int16_t) / 2); in Push() 416 for (size_t i = 0; i < lengthIn; i += 2) in Push() 423 lengthIn = lengthIn / 2; in Push() 428 res |= slave_left_->Push(left, lengthIn, out_left, maxLen / 2, actualOutLen_left); in Push() 429 res |= slave_right_->Push(right, lengthIn, out_right, maxLen / 2, actualOutLen_right); in Push() 464 memcpy(samplesOut, samplesIn, lengthIn * sizeof(int16_t)); in Push() 465 outLen = lengthIn; in Push() 468 if (maxLen < (lengthIn * 2)) in Push() [all …]
|
/external/webrtc/webrtc/common_audio/resampler/include/ |
D | resampler.h | 41 int Push(const int16_t* samplesIn, size_t lengthIn, int16_t* samplesOut,
|