Lines Matching refs:thread_info
257 } thread_info; member
410 if (!PA_SOURCE_IS_LINKED(u->source->thread_info.state) || in source_process_msg_cb()
411 !PA_SOURCE_OUTPUT_IS_LINKED(u->source_output->thread_info.state)) { in source_process_msg_cb()
421 …pa_bytes_to_usec(pa_memblockq_get_length(u->source_output->thread_info.delay_memblockq), &u->sourc… in source_process_msg_cb()
426 … *((int64_t*) data) += pa_resampler_get_delay_usec(u->source_output->thread_info.resampler); in source_process_msg_cb()
431 u->thread_info.current_volume = u->source->reference_volume; in source_process_msg_cb()
449 if (!PA_SINK_IS_LINKED(u->sink->thread_info.state) || in sink_process_msg_cb()
450 !PA_SINK_INPUT_IS_LINKED(u->sink_input->thread_info.state)) { in sink_process_msg_cb()
461 …pa_bytes_to_usec(pa_memblockq_get_length(u->sink_input->thread_info.render_memblockq), &u->sink_in… in sink_process_msg_cb()
464 *((int64_t*) data) += pa_resampler_get_delay_usec(u->sink_input->thread_info.resampler); in sink_process_msg_cb()
531 if (PA_SINK_IS_OPENED(new_state) && s->thread_info.state == PA_SINK_INIT) { in sink_set_state_in_io_thread_cb()
547 if (!PA_SOURCE_IS_LINKED(u->source->thread_info.state) || in source_update_requested_latency_cb()
548 !PA_SOURCE_OUTPUT_IS_LINKED(u->source_output->thread_info.state)) in source_update_requested_latency_cb()
568 if (!PA_SINK_IS_LINKED(u->sink->thread_info.state) || in sink_update_requested_latency_cb()
569 !PA_SINK_INPUT_IS_LINKED(u->sink_input->thread_info.state)) in sink_update_requested_latency_cb()
588 if (!PA_SINK_IS_LINKED(u->sink->thread_info.state) || in sink_request_rewind_cb()
589 !PA_SINK_INPUT_IS_LINKED(u->sink_input->thread_info.state)) in sink_request_rewind_cb()
592 pa_log_debug("Sink request rewind %lld", (long long) s->thread_info.rewind_nbytes); in sink_request_rewind_cb()
596 s->thread_info.rewind_nbytes, true, false, false); in sink_request_rewind_cb()
908 if (!PA_SOURCE_IS_LINKED(u->source->thread_info.state)) in source_output_push_cb()
911 if (!PA_SOURCE_OUTPUT_IS_LINKED(u->source_output->thread_info.state)) { in source_output_push_cb()
987 if (!PA_SINK_IS_LINKED(u->sink->thread_info.state)) in sink_input_pop_cb()
990 if (u->sink->thread_info.rewind_requested) in sink_input_pop_cb()
995 if (i->thread_info.underrun_for > 0) { in sink_input_pop_cb()
1018 if (!PA_SOURCE_IS_LINKED(u->source->thread_info.state)) in source_output_process_rewind_cb()
1041 if (!PA_SINK_IS_LINKED(u->sink->thread_info.state)) in sink_input_process_rewind_cb()
1060 latency += pa_resampler_get_delay_usec(u->source_output->thread_info.resampler); in source_output_snapshot_within_thread()
1062 delay = pa_memblockq_get_length(u->source_output->thread_info.delay_memblockq); in source_output_snapshot_within_thread()
1064 …delay = (u->source_output->thread_info.resampler ? pa_resampler_request(u->source_output->thread_i… in source_output_snapshot_within_thread()
1086 if (u->source_output->source->thread_info.state == PA_SOURCE_RUNNING) in source_output_process_msg_cb()
1099 if (PA_SOURCE_IS_OPENED(u->source_output->source->thread_info.state)) in source_output_process_msg_cb()
1142 latency += pa_resampler_get_delay_usec(u->sink_input->thread_info.resampler); in sink_input_process_msg_cb()
1144 delay = pa_memblockq_get_length(u->sink_input->thread_info.render_memblockq); in sink_input_process_msg_cb()
1146 …delay = (u->sink_input->thread_info.resampler ? pa_resampler_request(u->sink_input->thread_info.re… in sink_input_process_msg_cb()
1232 (long long) i->sink->thread_info.min_latency, in sink_input_update_sink_latency_range_cb()
1233 (long long) i->sink->thread_info.max_latency); in sink_input_update_sink_latency_range_cb()
1235 …ink_set_latency_range_within_thread(u->sink, i->sink->thread_info.min_latency, i->sink->thread_inf… in sink_input_update_sink_latency_range_cb()
1246 (long long) o->source->thread_info.min_latency, in source_output_update_source_latency_range_cb()
1247 (long long) o->source->thread_info.max_latency); in source_output_update_source_latency_range_cb()
1249 …et_latency_range_within_thread(u->source, o->source->thread_info.min_latency, o->source->thread_in… in source_output_update_source_latency_range_cb()
1260 (long long) i->sink->thread_info.fixed_latency); in sink_input_update_sink_fixed_latency_cb()
1262 pa_sink_set_fixed_latency_within_thread(u->sink, i->sink->thread_info.fixed_latency); in sink_input_update_sink_fixed_latency_cb()
1273 (long long) o->source->thread_info.fixed_latency); in source_output_update_source_fixed_latency_cb()
1275 pa_source_set_fixed_latency_within_thread(u->source, o->source->thread_info.fixed_latency); in source_output_update_source_fixed_latency_cb()
1286 pa_source_set_rtpoll(u->source, o->source->thread_info.rtpoll); in source_output_attach_cb()
1287 …et_latency_range_within_thread(u->source, o->source->thread_info.min_latency, o->source->thread_in… in source_output_attach_cb()
1288 pa_source_set_fixed_latency_within_thread(u->source, o->source->thread_info.fixed_latency); in source_output_attach_cb()
1293 if (PA_SOURCE_IS_LINKED(u->source->thread_info.state)) in source_output_attach_cb()
1297 o->source->thread_info.rtpoll, in source_output_attach_cb()
1309 pa_sink_set_rtpoll(u->sink, i->sink->thread_info.rtpoll); in sink_input_attach_cb()
1310 …ink_set_latency_range_within_thread(u->sink, i->sink->thread_info.min_latency, i->sink->thread_inf… in sink_input_attach_cb()
1314 pa_sink_set_fixed_latency_within_thread(u->sink, i->sink->thread_info.fixed_latency); in sink_input_attach_cb()
1328 i->sink->thread_info.rtpoll, in sink_input_attach_cb()
1332 if (PA_SINK_IS_LINKED(u->sink->thread_info.state)) in sink_input_attach_cb()
1344 if (PA_SOURCE_IS_LINKED(u->source->thread_info.state)) in source_output_detach_cb()
1363 if (PA_SINK_IS_LINKED(u->sink->thread_info.state)) in sink_input_detach_cb()
1622 return pa_cvolume_avg(&ec->msg->userdata->thread_info.current_volume); in pa_echo_canceller_get_capture_volume()
1631 if (pa_cvolume_avg(&ec->msg->userdata->thread_info.current_volume) != v) { in pa_echo_canceller_set_capture_volume()
2091 u->thread_info.current_volume = u->source->reference_volume; in pa__init()