mirror of
https://github.com/jambonz/freeswitch-modules.git
synced 2026-01-25 02:08:27 +00:00
Fix/docker build (#32)
* explicit flags for boost * remove pragma statements * remove some logging in mod_azure_tts * pragma back in * compile error fixes * mod_azure_tts: set Playback-File-Type to tts_stream
This commit is contained in:
@@ -15,4 +15,4 @@ endif
|
||||
endif
|
||||
|
||||
mod_dub_la_LIBADD = $(switch_builddir)/libfreeswitch.la
|
||||
mod_dub_la_LDFLAGS = -avoid-version -module -no-undefined -shared `pkg-config --libs boost` -lstdc++ -lmpg123
|
||||
mod_dub_la_LDFLAGS = -avoid-version -module -no-undefined -lstdc++ -lmpg123 -lboost_system -lboost_thread
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#include "vector_math.h"
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <cstdlib>
|
||||
|
||||
|
||||
#define GRANULAR_VOLUME_MAX (50)
|
||||
#define SMAX 32767
|
||||
@@ -153,6 +155,7 @@ typedef union {
|
||||
} vector_data_t;
|
||||
|
||||
#else
|
||||
#pragma message("Building without vector math support")
|
||||
void vector_add(int16_t* a, int16_t* b, size_t len) {
|
||||
for (size_t i = 0; i < len; i++) {
|
||||
a[i] += b[i];
|
||||
|
||||
Reference in New Issue
Block a user