Searched refs:history_bytes (Results 1 - 2 of 2) sorted by relevance
/third_party/pulseaudio/src/pulsecore/ |
H A D | sink-input.c | 1256 size_t history_bytes; in pa_sink_input_process_rewind() local 1259 history_bytes = calculate_resampler_history_bytes(i, sink_input_amount / pa_frame_size(&i->sample_spec)); in pa_sink_input_process_rewind() 1261 if (history_bytes > 0) { in pa_sink_input_process_rewind() 1262 history_result = pa_resampler_rewind(i->thread_info.resampler, sink_amount, i->thread_info.history_memblockq, history_bytes); in pa_sink_input_process_rewind() 1267 * pa_resampler_result(r, sink_input_amount + history_bytes). Therefore we have in pa_sink_input_process_rewind() 1273 history_result -= (int64_t) pa_resampler_result(i->thread_info.resampler, history_bytes); in pa_sink_input_process_rewind()
|
H A D | resampler.c | 673 size_t history_bytes, max_block_size, out_size; in pa_resampler_prepare() local 682 history_bytes = pa_resampler_result(r, amount); in pa_resampler_prepare() 684 pa_lfe_filter_rewind(r->lfe_filter, history_bytes); in pa_resampler_prepare()
|
Completed in 6 milliseconds