Home
last modified time | relevance | path

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

/third_party/pulseaudio/src/pulsecore/resampler/
Dpeaks.c30 unsigned o_counter; member
52 i = ((uint64_t) peaks_data->o_counter * r->i_ss.rate) / r->o_ss.rate; in peaks_resample()
56 i_end = ((uint64_t) (peaks_data->o_counter + 1) * r->i_ss.rate) / r->o_ss.rate; in peaks_resample()
76 o_index++, peaks_data->o_counter++; in peaks_resample()
95 o_index++, peaks_data->o_counter++; in peaks_resample()
114 o_index++, peaks_data->o_counter++; in peaks_resample()
128 pa_assert(peaks_data->o_counter >= r->o_ss.rate); in peaks_resample()
131 peaks_data->o_counter -= r->o_ss.rate; in peaks_resample()
144 peaks_data->o_counter = 0; in peaks_update_rates_or_reset()
Dtrivial.c29 unsigned o_counter; member
48 for (o_index = 0;; o_index++, trivial_data->o_counter++) { in trivial_resample()
49 i_index = ((uint64_t) trivial_data->o_counter * r->i_ss.rate) / r->o_ss.rate; in trivial_resample()
69 pa_assert(trivial_data->o_counter >= r->o_ss.rate); in trivial_resample()
72 trivial_data->o_counter -= r->o_ss.rate; in trivial_resample()
85 trivial_data->o_counter = 0; in trivial_update_rates_or_reset()