summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authorPeter Colberg <peter@colberg.org>2015-12-29 00:29:42 -0500
committerPeter Colberg <peter@colberg.org>2015-12-29 00:29:42 -0500
commit4803e6a493f9233567f6fe6923facafd0495e7d7 (patch)
tree6056aa24807d0723ee4c7c11711e20a8feea6597 /src/audio
parent3f17756e67e8da2e93f796ca6e7c1bb61b7b00b5 (diff)
downloadtwinkle-4803e6a493f9233567f6fe6923facafd0495e7d7.tar
twinkle-4803e6a493f9233567f6fe6923facafd0495e7d7.tar.gz
twinkle-4803e6a493f9233567f6fe6923facafd0495e7d7.tar.lz
twinkle-4803e6a493f9233567f6fe6923facafd0495e7d7.tar.xz
twinkle-4803e6a493f9233567f6fe6923facafd0495e7d7.zip
Add option WITH_GSM to use external gsm library
This permits distributions to build against a packaged gsm library.
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/audio_tx.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/audio/audio_tx.h b/src/audio/audio_tx.h
index a51ef9a..20daebc 100644
--- a/src/audio/audio_tx.h
+++ b/src/audio/audio_tx.h
@@ -30,11 +30,16 @@
#include "rtp_telephone_event.h"
#include "user.h"
#include "threads/mutex.h"
-#include "gsm/inc/gsm.h"
#include "audio_device.h"
#include "twinkle_rtp_session.h"
#include "twinkle_config.h"
+#ifdef HAVE_GSM
+#include <gsm/gsm.h>
+#else
+#include "gsm/inc/gsm.h"
+#endif
+
using namespace std;
using namespace ost;