Searched refs:pa_shmasyncq (Results 1 - 2 of 2) sorted by relevance
/third_party/pulseaudio/src/pulsecore/ |
H A D | shmasyncq.h | 41 typedef struct pa_shmasyncq pa_shmasyncq; typedef 43 pa_shmasyncq *pa_shmasyncq_new(unsigned n_elements, size_t element_size, void *data, int fd[2]); 44 void pa_shmasyncq_free(pa_shmasyncq* q, pa_free_cb_t free_cb); 46 void* pa_shmasyncq_pop_begin(pa_shmasyncq *q, bool wait); 47 void pa_shmasyncq_pop_commit(pa_shmasyncq *q); 49 int* pa_shmasyncq_push_begin(pa_shmasyncq *q, bool wait); 50 void pa_shmasyncq_push_commit(pa_shmasyncq *q); 52 int pa_shmasyncq_get_fd(pa_shmasyncq *q); 53 int pa_shmasyncq_before_poll(pa_shmasyncq * [all...] |
H A D | shmasyncq.c | 47 struct pa_shmasyncq { struct 56 static int reduce(pa_shmasyncq *l, int value) { in reduce() 60 static pa_atomic_t* get_cell(pa_shmasyncq *l, unsigned i) { in get_cell() 70 pa_shmasyncq *pa_shmasyncq_new(unsigned n_elements, size_t element_size, void *data, int fd[2]) { in pa_shmasyncq_new() 71 pa_shmasyncq *l; in pa_shmasyncq_new() 79 l = pa_xnew(pa_shmasyncq, 1); in pa_shmasyncq_new() 102 void pa_shmasyncq_free(pa_shmasyncq *l, pa_free_cb_t free_cb) { in pa_shmasyncq_free() 117 int pa_shmasyncq_push(pa_shmasyncq*l, void *p, int wait) { in pa_shmasyncq_push() 149 void* pa_shmasyncq_pop(pa_shmasyncq*l, int wait) { in pa_shmasyncq_pop() 186 int pa_shmasyncq_get_fd(pa_shmasyncq * [all...] |
Completed in 2 milliseconds