Module: sems Branch: master Commit: 18bcdab83fc25e3622abe76fa94db473d8173ff8 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=18bcdab83fc25e3622abe76fa94db473d8173ff8
Author: Peter Lemenkov <[email protected]> Committer: Peter Lemenkov <[email protected]> Date: Tue Nov 20 15:57:22 2012 +0400 Allow building against external iLBC copy Signed-off-by: Peter Lemenkov <[email protected]> --- core/plug-in/ilbc/ilbc.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/core/plug-in/ilbc/ilbc.c b/core/plug-in/ilbc/ilbc.c index 76e6a4f..68a5b2e 100644 --- a/core/plug-in/ilbc/ilbc.c +++ b/core/plug-in/ilbc/ilbc.c @@ -54,6 +54,14 @@ #define ILBC30 30 #define ILBC20 20 +#ifndef MIN_SAMPLE +#define MIN_SAMPLE -32768 +#endif + +#ifndef MAX_SAMPLE +#define MAX_SAMPLE 32767 +#endif + static int iLBC_2_Pcm16_Ext( unsigned char* out_buf, unsigned char* in_buf, unsigned int size, unsigned int channels, unsigned int rate, long h_codec, int mode ); _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
