Home
last modified time | relevance | path

Searched refs:i_counter (Results 1 – 2 of 2) sorted by relevance

/third_party/pulseaudio/src/pulsecore/resampler/
Dtrivial.c30 unsigned i_counter; member
50 i_index = i_index > trivial_data->i_counter ? i_index - trivial_data->i_counter : 0; in trivial_resample()
65 trivial_data->i_counter += in_n_frames; in trivial_resample()
68 while (trivial_data->i_counter >= r->i_ss.rate) { in trivial_resample()
71 trivial_data->i_counter -= r->i_ss.rate; in trivial_resample()
84 trivial_data->i_counter = 0; in trivial_update_rates_or_reset()
Dpeaks.c31 unsigned i_counter; member
53 i = i > peaks_data->i_counter ? i - peaks_data->i_counter : 0; in peaks_resample()
57 i_end = i_end > peaks_data->i_counter ? i_end - peaks_data->i_counter : 0; in peaks_resample()
124 peaks_data->i_counter += in_n_frames; in peaks_resample()
127 while (peaks_data->i_counter >= r->i_ss.rate) { in peaks_resample()
130 peaks_data->i_counter -= r->i_ss.rate; in peaks_resample()
143 peaks_data->i_counter = 0; in peaks_update_rates_or_reset()