Home | History | Annotate | Download | only in neteq

Lines Matching refs:old_length

35   int old_length;
38 int expanded_length = GetExpandedSignal(&old_length, &expand_period);
78 expanded_max, input_max, old_length,
135 sync_buffer_->ReplaceAtIndex(*output, old_length, sync_buffer_->next_index());
136 output->PopFront(old_length);
138 // Return new added length. |old_length| samples were borrowed from
140 return static_cast<int>(output_length) - old_length;
143 int Merge::GetExpandedSignal(int* old_length, int* expand_period) {
145 *old_length = static_cast<int>(sync_buffer_->FutureLength());
147 assert(*old_length >= static_cast<int>(expand_->overlap_length()));
151 if (*old_length >= 210 * kMaxSampleRate / 8000) {
158 int16_t length_diff = *old_length - 210 * kMaxSampleRate / 8000;
160 *old_length = 210 * kMaxSampleRate / 8000;
164 assert(210 * kMaxSampleRate / 8000 - *old_length >= 0);
174 assert(expanded_.Size() == static_cast<size_t>(*old_length));