Lines Matching refs:delay
70 double delay;
80 /* Get the current internal delay of the resampler */
81 delay = pa_resampler_get_delay(r, false);
87 /* If the delay is larger than the length of the history queue, we can only
89 if ((size_t)delay >= history_max) {
94 /* Initially set the history to 3 times the resampler delay. Use at least 2 ms. */
95 history_frames = (size_t)(delay * 3.0);
101 /* If possible, use between 2 and 3 times the resampler delay */
102 if (remainder < (size_t)delay && history_frames - remainder <= history_max)
105 /* Else, try above 3 times the delay */
113 /* Try to use 2.5 times the delay. */
114 history_frames = PA_MIN((size_t)(delay * 2.5), history_max);
362 /* Get delay after first resampling pass */
400 /* Get delay after rewind */
403 /* Calculate expected delay */