Home
last modified time | relevance | path

Searched refs:timeout_msec (Results 1 – 8 of 8) sorted by relevance

/third_party/alsa-utils/axfer/
Dwaiter-select.c42 static int select_wait_event(struct waiter_context *waiter, int timeout_msec) in select_wait_event() argument
69 if (timeout_msec < 0) { in select_wait_event()
73 tv.tv_usec = timeout_msec * 1000; in select_wait_event()
Dwaiter-poll.c22 static int poll_wait_event(struct waiter_context *waiter, int timeout_msec) in poll_wait_event() argument
26 err = poll(waiter->pfds, waiter->pfd_count, timeout_msec); in poll_wait_event()
Dwaiter.h40 int timeout_msec);
48 int (*wait_event)(struct waiter_context *waiter, int timeout_msec);
Dwaiter.c86 int timeout_msec) in waiter_context_wait_event() argument
88 return waiter->ops->wait_event(waiter, timeout_msec); in waiter_context_wait_event()
Dxfer-libasound-timer-mmap.c160 int timeout_msec; in timer_mmap_process_frames() local
165 timeout_msec = ((planned_count - avail_count) * 1000 + in timer_mmap_process_frames()
172 err = xfer_libasound_wait_event(state, timeout_msec, in timer_mmap_process_frames()
194 planned_count, avail, timeout_msec); in timer_mmap_process_frames()
Dwaiter-epoll.c51 static int epoll_wait_event(struct waiter_context *waiter, int timeout_msec) in epoll_wait_event() argument
60 timeout_msec); in epoll_wait_event()
Dxfer-libasound.c343 int xfer_libasound_wait_event(struct libasound_state *state, int timeout_msec, in xfer_libasound_wait_event() argument
352 count = waiter_context_wait_event(waiter, timeout_msec); in xfer_libasound_wait_event()
355 if (count == 0 && timeout_msec > 0) in xfer_libasound_wait_event()
363 count = snd_pcm_wait(state->handle, timeout_msec); in xfer_libasound_wait_event()
366 if (count == 0 && timeout_msec > 0) in xfer_libasound_wait_event()
Dxfer-libasound.h81 int xfer_libasound_wait_event(struct libasound_state *state, int timeout_msec,