summaryrefslogtreecommitdiff
path: root/toxav/toxav.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxav/toxav.h')
-rw-r--r--toxav/toxav.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/toxav/toxav.h b/toxav/toxav.h
index 8d4db14a..07c395ec 100644
--- a/toxav/toxav.h
+++ b/toxav/toxav.h
@@ -29,7 +29,11 @@ extern "C" {
29#endif 29#endif
30 30
31typedef struct _ToxAv ToxAv; 31typedef struct _ToxAv ToxAv;
32
33#ifndef VPX_IMAGE_H
32typedef struct vpx_image vpx_image_t; 34typedef struct vpx_image vpx_image_t;
35#endif
36
33typedef void ( *ToxAVCallback ) ( void *agent, int32_t call_idx, void *arg ); 37typedef void ( *ToxAVCallback ) ( void *agent, int32_t call_idx, void *arg );
34typedef void ( *ToxAvAudioCallback ) (void *agent, int32_t call_idx, const int16_t *PCM, uint16_t size, void *data); 38typedef void ( *ToxAvAudioCallback ) (void *agent, int32_t call_idx, const int16_t *PCM, uint16_t size, void *data);
35typedef void ( *ToxAvVideoCallback ) (void *agent, int32_t call_idx, const vpx_image_t *img, void *data); 39typedef void ( *ToxAvVideoCallback ) (void *agent, int32_t call_idx, const vpx_image_t *img, void *data);