Lines Matching defs:usec
1160 int64_t usec;
1172 pa_assert_se(pa_asyncmsgq_send(s->asyncmsgq, PA_MSGOBJECT(s), PA_SOURCE_MESSAGE_GET_LATENCY, &usec, 0, NULL) == 0);
1174 /* The return value is unsigned, so check that the offset can be added to usec without
1176 if (-s->port_latency_offset <= usec)
1177 usec += s->port_latency_offset;
1179 usec = 0;
1181 return (pa_usec_t)usec;
1186 int64_t usec = 0;
1205 o->process_msg(o, PA_SOURCE_MESSAGE_GET_LATENCY, &usec, 0, NULL);
1208 usec += s->thread_info.port_latency_offset;
1209 if (!allow_negative && usec < 0)
1210 usec = 0;
1212 return usec;
2252 pa_usec_t *usec = userdata;
2253 *usec = pa_source_get_requested_latency_within_thread(s);
2258 if (*usec == (pa_usec_t) -1)
2259 *usec = s->thread_info.max_latency;
2417 pa_usec_t usec = 0;
2426 pa_assert_se(pa_asyncmsgq_send(s->asyncmsgq, PA_MSGOBJECT(s), PA_SOURCE_MESSAGE_GET_REQUESTED_LATENCY, &usec, 0, NULL) == 0);
2428 return usec;
2847 pa_log_debug("Volume change to %d at %llu was written %llu usec late",
2861 pa_log_debug("Next volume change in %lld usec", (long long) (s->thread_info.volume_changes->at - now));