Searched refs:matching_period (Results 1 – 2 of 2) sorted by relevance
/third_party/pulseaudio/src/tests/ |
D | resampler-rewind-test.c | 69 size_t history_frames, history_max, matching_period, total_frames, remainder; in calculate_resampler_history_bytes() local 84 matching_period = r->i_ss.rate / pa_resampler_get_gcd(r); in calculate_resampler_history_bytes() 85 pa_log_debug("Integral period length is %lu input frames", matching_period); in calculate_resampler_history_bytes() 99 remainder = (in_rewind_frames + history_frames) % matching_period; in calculate_resampler_history_bytes() 106 else if (history_frames + matching_period - remainder <= history_max) in calculate_resampler_history_bytes() 107 total_frames = in_rewind_frames + history_frames + matching_period - remainder; in calculate_resampler_history_bytes()
|
/third_party/pulseaudio/src/pulsecore/ |
D | sink-input.c | 61 size_t history_frames, history_max, matching_period, total_frames, remainder; in calculate_resampler_history_bytes() local 77 matching_period = r->i_ss.rate / pa_resampler_get_gcd(r); in calculate_resampler_history_bytes() 78 pa_log_debug("Integral period length is %zu input frames", matching_period); in calculate_resampler_history_bytes() 96 remainder = (in_rewind_frames + history_frames) % matching_period; in calculate_resampler_history_bytes() 102 else if (history_frames + matching_period - remainder <= history_max) in calculate_resampler_history_bytes() 103 total_frames = in_rewind_frames + history_frames + matching_period - remainder; in calculate_resampler_history_bytes()
|