Home
last modified time | relevance | path

Searched refs:max_rewind (Results 1 – 7 of 7) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dsource.h247 size_t max_rewind; member
369 void pa_source_set_max_rewind(pa_source *s, size_t max_rewind);
464 void pa_source_set_max_rewind_within_thread(pa_source *s, size_t max_rewind);
Dsink.h292 size_t max_rewind; member
435 void pa_sink_set_max_rewind(pa_sink *s, size_t max_rewind);
546 void pa_sink_set_max_rewind_within_thread(pa_sink *s, size_t max_rewind);
Dsink.c344 s->thread_info.max_rewind = 0; in pa_sink_new()
404 pa_source_set_max_rewind(s->monitor_source, s->thread_info.max_rewind); in pa_sink_new()
2690 pa_sink_input_update_max_rewind(i, s->thread_info.max_rewind); in pa_sink_process_msg()
2853 pa_sink_input_update_max_rewind(i, s->thread_info.max_rewind); in pa_sink_process_msg()
3004 *((size_t*) userdata) = s->thread_info.max_rewind; in pa_sink_process_msg()
3110 nbytes = s->thread_info.max_rewind; in pa_sink_request_rewind()
3112 nbytes = PA_MIN(nbytes, s->thread_info.max_rewind); in pa_sink_request_rewind()
3181 void pa_sink_set_max_rewind_within_thread(pa_sink *s, size_t max_rewind) { in pa_sink_set_max_rewind_within_thread() argument
3188 max_rewind = get_max_rewind_limit(s, max_rewind); in pa_sink_set_max_rewind_within_thread()
3190 if (max_rewind == s->thread_info.max_rewind) in pa_sink_set_max_rewind_within_thread()
[all …]
Dsource.c328 s->thread_info.max_rewind = 0; in pa_source_new()
2129 pa_source_output_update_max_rewind(o, s->thread_info.max_rewind); in pa_source_process_msg()
2293 *((size_t*) userdata) = s->thread_info.max_rewind; in pa_source_process_msg()
2432 void pa_source_set_max_rewind_within_thread(pa_source *s, size_t max_rewind) { in pa_source_set_max_rewind_within_thread() argument
2439 if (max_rewind == s->thread_info.max_rewind) in pa_source_set_max_rewind_within_thread()
2442 s->thread_info.max_rewind = max_rewind; in pa_source_set_max_rewind_within_thread()
2446 pa_source_output_update_max_rewind(o, s->thread_info.max_rewind); in pa_source_set_max_rewind_within_thread()
2450 void pa_source_set_max_rewind(pa_source *s, size_t max_rewind) { in pa_source_set_max_rewind() argument
2455 …end(s->asyncmsgq, PA_MSGOBJECT(s), PA_SOURCE_MESSAGE_SET_MAX_REWIND, NULL, max_rewind, NULL) == 0); in pa_source_set_max_rewind()
2457 pa_source_set_max_rewind_within_thread(s, max_rewind); in pa_source_set_max_rewind()
[all …]
Dsink-input.c1305 return pa_resampler_request(i->thread_info.resampler, i->sink->thread_info.max_rewind); in pa_sink_input_get_max_rewind()
1321 size_t max_rewind; in pa_sink_input_update_max_rewind() local
1331 max_rewind = pa_resampler_request(i->thread_info.resampler, nbytes); 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()
1339 i->update_max_rewind(i, max_rewind); in pa_sink_input_update_max_rewind()
2478 nbytes = i->sink->thread_info.max_rewind; in pa_sink_input_request_rewind()
Dsource-output.c773 limit = o->process_rewind ? 0 : o->source->thread_info.max_rewind; in pa_source_output_push()
912 return pa_resampler_result(o->thread_info.resampler, o->source->thread_info.max_rewind); in pa_source_output_get_max_rewind()
/third_party/pulseaudio/src/modules/
Dmodule-null-source.c266 u->source->thread_info.max_rewind = in pa__init()