Searched refs:o_index (Results 1 – 2 of 2) sorted by relevance
38 unsigned c, o_index = 0; in peaks_resample() local59 pa_assert_fp(o_index * r->w_fz < pa_memblock_get_length(output->memblock)); in peaks_resample()64 float *d = (float*) dst + o_index; in peaks_resample()76 o_index++, peaks_data->o_counter++; in peaks_resample()80 int16_t *d = (int16_t*) dst + r->work_channels * o_index; in peaks_resample()95 o_index++, peaks_data->o_counter++; in peaks_resample()99 float *d = (float*) dst + r->work_channels * o_index; in peaks_resample()114 o_index++, peaks_data->o_counter++; in peaks_resample()122 *out_n_frames = o_index; in peaks_resample()
34 unsigned i_index, o_index; in trivial_resample() local48 for (o_index = 0;; o_index++, trivial_data->o_counter++) { in trivial_resample()55 pa_assert_fp(o_index * r->w_fz < pa_memblock_get_length(output->memblock)); in trivial_resample()57 … memcpy((uint8_t*) dst + r->w_fz * o_index, (uint8_t*) src + r->w_fz * i_index, (int) r->w_fz); in trivial_resample()63 *out_n_frames = o_index; in trivial_resample()