]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/shmasyncq.h
remap: Change remapping function argument type from void to int16_t / float as approp...
[pulseaudio] / src / pulsecore / shmasyncq.h
index 9845c391844798c67d4e0b4507326e0cda2ff0e8..f9ae0c6e90aac7520dac24a458fc38cc78f66005 100644 (file)
 
 #include <sys/types.h>
 
-#include <pulse/def.h>
 #include <pulsecore/macro.h>
 
 /* Similar to pa_asyncq, but stores data in a shared memory segment */
 
-
 struct pa_shmasyncq_data {
     unsigned n_elements;
     size_t element_size;
@@ -47,10 +45,10 @@ typedef struct pa_shmasyncq pa_shmasyncq;
 pa_shmasyncq *pa_shmasyncq_new(unsigned n_elements, size_t element_size, void *data, int fd[2]);
 void pa_shmasyncq_free(pa_shmasyncq* q, pa_free_cb_t free_cb);
 
-void* pa_shmasyncq_pop_begin(pa_shmasyncq *q, pa_bool_t wait);
+void* pa_shmasyncq_pop_begin(pa_shmasyncq *q, bool wait);
 void pa_shmasyncq_pop_commit(pa_shmasyncq *q);
 
-int* pa_shmasyncq_push_begin(pa_shmasyncq *q, pa_bool_t wait);
+int* pa_shmasyncq_push_begin(pa_shmasyncq *q, bool wait);
 void pa_shmasyncq_push_commit(pa_shmasyncq *q);
 
 int pa_shmasyncq_get_fd(pa_shmasyncq *q);