summaryrefslogtreecommitdiff
path: root/orkbasecxx/filters/g722codec/G722.h
diff options
context:
space:
mode:
Diffstat (limited to 'orkbasecxx/filters/g722codec/G722.h')
-rw-r--r--orkbasecxx/filters/g722codec/G722.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/orkbasecxx/filters/g722codec/G722.h b/orkbasecxx/filters/g722codec/G722.h
index 156d3de..d7a4a80 100644
--- a/orkbasecxx/filters/g722codec/G722.h
+++ b/orkbasecxx/filters/g722codec/G722.h
@@ -143,10 +143,16 @@ typedef struct
unsigned int out_buffer;
int out_bits;
} g722_decode_state_t;
+
+#ifdef WIN32
+#define int16_t short
+#define uint8_t unsigned char
+#define int32_t int
+#endif
#ifdef __cplusplus
extern "C" {
-#endif
+#endif
g722_decode_state_t *g722_decode_init(g722_decode_state_t *s, int rate, int options);
int g722_decode_release(g722_decode_state_t *s);