Searched refs:peaks_data (Results 1 – 1 of 1) sorted by relevance
29 struct peaks_data { /* data specific to the peak finder pseudo resampler */ struct41 struct peaks_data *peaks_data; in peaks_resample() argument48 peaks_data = r->impl.data; in peaks_resample()52 i = ((uint64_t) peaks_data->o_counter * r->i_ss.rate) / r->o_ss.rate; in peaks_resample()53 i = i > peaks_data->i_counter ? i - peaks_data->i_counter : 0; in peaks_resample()56 i_end = ((uint64_t) (peaks_data->o_counter + 1) * r->i_ss.rate) / r->o_ss.rate; in peaks_resample()57 i_end = i_end > peaks_data->i_counter ? i_end - peaks_data->i_counter : 0; in peaks_resample()69 if (n > peaks_data->max_f[0]) in peaks_resample()70 peaks_data->max_f[0] = n; in peaks_resample()74 *d = peaks_data->max_f[0]; in peaks_resample()[all …]