Home
last modified time | relevance | path

Searched refs:resampler_history (Results 1 - 2 of 2) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
H A Dsource-output.c241 size_t resampler_history; in pa_source_output_new() local
504 resampler_history = (uint64_t) PA_RESAMPLER_MAX_DELAY_USEC * o->source->sample_spec.rate / PA_USEC_PER_SEC; in pa_source_output_new()
505 resampler_history *= pa_frame_size(&o->source->sample_spec); in pa_source_output_new()
507 pa_memblockq_set_maxrewind(o->thread_info.delay_memblockq, resampler_history + pa_source_get_max_rewind(o->source)); in pa_source_output_new()
917 size_t resampler_history; in pa_source_output_update_max_rewind() local
924 resampler_history = (uint64_t) PA_RESAMPLER_MAX_DELAY_USEC * o->source->sample_spec.rate / PA_USEC_PER_SEC; in pa_source_output_update_max_rewind()
925 resampler_history *= pa_frame_size(&o->source->sample_spec); in pa_source_output_update_max_rewind()
927 pa_memblockq_set_maxrewind(o->thread_info.delay_memblockq, resampler_history + nbytes); in pa_source_output_update_max_rewind()
1817 size_t resampler_history; in pa_source_output_update_resampler() local
1875 resampler_history in pa_source_output_update_resampler()
[all...]
H A Dsink-input.c1322 size_t resampler_history; in pa_sink_input_update_max_rewind() local
1333 resampler_history = pa_resampler_get_max_history(i->thread_info.resampler); in pa_sink_input_update_max_rewind()
1334 resampler_history *= pa_frame_size(&i->sample_spec); in pa_sink_input_update_max_rewind()
1336 pa_memblockq_set_maxrewind(i->thread_info.history_memblockq, max_rewind + resampler_history); in pa_sink_input_update_max_rewind()

Completed in 6 milliseconds