Lines Matching refs:resampler
235 pa_resampler *resampler = NULL; in pa_source_output_new() local
416 if (!(resampler = pa_resampler_new( in pa_source_output_new()
449 … o->actual_resample_method = resampler ? pa_resampler_get_method(resampler) : PA_RESAMPLER_INVALID; in pa_source_output_new()
485 o->thread_info.resampler = resampler; in pa_source_output_new()
655 if (o->thread_info.resampler) in source_output_free()
656 pa_resampler_free(o->thread_info.resampler); in source_output_free()
812 } else if (!o->thread_info.resampler && nvfs) { in pa_source_output_push()
831 if (!o->thread_info.resampler) in pa_source_output_push()
837 mbs = pa_resampler_max_block_size(o->thread_info.resampler); in pa_source_output_push()
842 pa_resampler_run(o->thread_info.resampler, &qchunk, &rchunk); in pa_source_output_push()
870 if (o->thread_info.resampler) in pa_source_output_process_rewind()
871 nbytes = pa_resampler_result(o->thread_info.resampler, nbytes); in pa_source_output_process_rewind()
878 if (o->thread_info.resampler) in pa_source_output_process_rewind()
879 pa_resampler_rewind(o->thread_info.resampler, nbytes); in pa_source_output_process_rewind()
890 …return o->thread_info.resampler ? pa_resampler_request(o->thread_info.resampler, o->source->thread… in pa_source_output_get_max_rewind()
901 …o->update_max_rewind(o, o->thread_info.resampler ? pa_resampler_result(o->thread_info.resampler, n… in pa_source_output_update_max_rewind()
1242 pa_return_val_if_fail(o->thread_info.resampler, -PA_ERR_BADSTATE); in pa_source_output_set_rate()
1687 pa_resampler_set_output_rate(o->thread_info.resampler, PA_PTR_TO_UINT(userdata)); in pa_source_output_process_msg()
1766 if (o->thread_info.resampler && in pa_source_output_update_resampler()
1767 …pa_sample_spec_equal(pa_resampler_input_sample_spec(o->thread_info.resampler), &o->source->sample_… in pa_source_output_update_resampler()
1768 …pa_channel_map_equal(pa_resampler_input_channel_map(o->thread_info.resampler), &o->source->channel… in pa_source_output_update_resampler()
1770 new_resampler = o->thread_info.resampler; in pa_source_output_update_resampler()
1796 if (new_resampler == o->thread_info.resampler) in pa_source_output_update_resampler()
1799 if (o->thread_info.resampler) in pa_source_output_update_resampler()
1800 pa_resampler_free(o->thread_info.resampler); in pa_source_output_update_resampler()
1802 o->thread_info.resampler = new_resampler; in pa_source_output_update_resampler()