summaryrefslogtreecommitdiff
path: root/modules/g7221
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-07-23 21:37:29 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-07-23 21:37:29 +0200
commit8f7ec5c701feb01521b3b97e75778fd96fcc7981 (patch)
treef6a3834505bcde1d8e260f222abe686aa894debe /modules/g7221
parent7b4de472d27e9fe5201a8e0b847e5b2281b71452 (diff)
plc,g7221: add XXX_EXPOSE_INTERNAL_STRUCTURES
ensure that baresip will build with any version of G.722.1 and SpanDSP libraries. thanks to Steve Underwood for the patch
Diffstat (limited to 'modules/g7221')
-rw-r--r--modules/g7221/decode.c3
-rw-r--r--modules/g7221/encode.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/modules/g7221/decode.c b/modules/g7221/decode.c
index 6977a12..0f7155f 100644
--- a/modules/g7221/decode.c
+++ b/modules/g7221/decode.c
@@ -6,6 +6,9 @@
#include <re.h>
#include <baresip.h>
+
+#define G722_1_EXPOSE_INTERNAL_STRUCTURES
+
#include <g722_1.h>
#include "g7221.h"
diff --git a/modules/g7221/encode.c b/modules/g7221/encode.c
index 8bb5b2b..8345f5f 100644
--- a/modules/g7221/encode.c
+++ b/modules/g7221/encode.c
@@ -6,6 +6,9 @@
#include <re.h>
#include <baresip.h>
+
+#define G722_1_EXPOSE_INTERNAL_STRUCTURES
+
#include <g722_1.h>
#include "g7221.h"