Lines Matching refs:rbq
1141 int64_t rbq, hbq;
1157 rbq = pa_memblockq_get_write_index(i->thread_info.render_memblockq);
1158 rbq -= pa_memblockq_get_read_index(i->thread_info.render_memblockq);
1161 if (rbq >= 0)
1162 rbq = pa_resampler_request(i->thread_info.resampler, rbq);
1164 rbq = - (int64_t) pa_resampler_request(i->thread_info.resampler, - rbq);
1166 if (hbq > rbq)
1167 pa_memblockq_drop(i->thread_info.history_memblockq, hbq - rbq);
1168 else if (rbq > hbq)
1169 pa_memblockq_rewind(i->thread_info.history_memblockq, rbq - hbq);