Lines Matching refs:timing
86 spx_int32_t timing[MAX_TIMINGS]; /**< Sorted list of all timings ("latest" packets first) */ member
97 static void tb_add(struct TimingBuffer *tb, spx_int16_t timing) in tb_add() argument
101 if (tb->filled >= MAX_TIMINGS && timing >= tb->timing[tb->filled-1]) in tb_add()
110 while (pos<tb->filled && timing >= tb->timing[pos]) in tb_add()
123 SPEEX_MOVE(&tb->timing[pos+1], &tb->timing[pos], move_size); in tb_add()
127 tb->timing[pos] = timing; in tb_add()
219 if (pos[j] < tb[j].filled && tb[j].timing[pos[j]] < latest) in compute_opt_delay()
222 latest = tb[j].timing[pos[j]]; in compute_opt_delay()
335 static void update_timings(JitterBuffer *jitter, spx_int32_t timing) in update_timings() argument
337 if (timing < -32767) in update_timings()
338 timing = -32767; in update_timings()
339 if (timing > 32767) in update_timings()
340 timing = 32767; in update_timings()
352 tb_add(jitter->timeBuffers[0], timing); in update_timings()
362 jitter->timeBuffers[i]->timing[j] += amount; in shift_timings()