summaryrefslogtreecommitdiff
path: root/third_party/build/speex
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-04-07 12:29:46 +0000
committerBenny Prijono <bennylp@teluu.com>2007-04-07 12:29:46 +0000
commit3ade1510e72926d02d7c7d4416257449bc0cd3f3 (patch)
treec51d4960cac0fcd8bf3483a8e77444ac5f9a3177 /third_party/build/speex
parentbfd3f58f5b715238fe618d053ddf908a34f1e56c (diff)
Split speex, portaudio, and gsm into third_party directory
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1168 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party/build/speex')
-rw-r--r--third_party/build/speex/config.h36
-rw-r--r--third_party/build/speex/libspeex.dsp378
2 files changed, 414 insertions, 0 deletions
diff --git a/third_party/build/speex/config.h b/third_party/build/speex/config.h
new file mode 100644
index 00000000..7874c3f7
--- /dev/null
+++ b/third_party/build/speex/config.h
@@ -0,0 +1,36 @@
+#include <pj/config.h>
+
+/* Check if we need to use the fixed point version */
+#if !defined(PJ_HAS_FLOATING_POINT) || PJ_HAS_FLOATING_POINT==0
+# define FIXED_POINT
+#endif
+
+
+#if (defined(PJ_WIN32) && PJ_WIN32!=0) || \
+ (defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE != 0)
+# include "../../speex/win32/config.h"
+#endif
+
+#ifdef _MSC_VER
+# pragma warning(disable: 4100) // unreferenced formal parameter
+# pragma warning(disable: 4101) // unreferenced local variable
+# pragma warning(disable: 4244) // conversion from 'double ' to 'float '
+# pragma warning(disable: 4305) // truncation from 'const double ' to 'float '
+# pragma warning(disable: 4018) // signed/unsigned mismatch
+//# pragma warning(disable: 4701) // local variable used without initialized
+#endif
+
+#include <pj/log.h>
+
+/*
+ * Override miscellaneous Speex functions.
+ */
+#define OVERRIDE_SPEEX_ERROR
+#define speex_error(str) PJ_LOG(4,("speex", "error: %s", str))
+
+#define OVERRIDE_SPEEX_WARNING
+#define speex_warning(str) PJ_LOG(5,("speex", "warning: %s", str))
+
+#define OVERRIDE_SPEEX_WARNING_INT
+#define speex_warning_int(str,val) PJ_LOG(5,("speex", "warning: %s: %d", str, val))
+
diff --git a/third_party/build/speex/libspeex.dsp b/third_party/build/speex/libspeex.dsp
new file mode 100644
index 00000000..518169e0
--- /dev/null
+++ b/third_party/build/speex/libspeex.dsp
@@ -0,0 +1,378 @@
+# Microsoft Developer Studio Project File - Name="libspeex" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Static Library" 0x0104
+
+CFG=libspeex - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "libspeex.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "libspeex.mak" CFG="libspeex - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "libspeex - Win32 Release" (based on "Win32 (x86) Static Library")
+!MESSAGE "libspeex - Win32 Debug" (based on "Win32 (x86) Static Library")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName "Perforce Project"
+# PROP Scc_LocalPath "..\.."
+CPP=cl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "libspeex - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "output\libspeex-i386-vc6-release"
+# PROP BASE Intermediate_Dir "output\libspeex-i386-vc6-release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "output\libspeex-i386-vc6-release"
+# PROP Intermediate_Dir "output\libspeex-i386-vc6-release"
+# PROP Target_Dir ""
+F90=df.exe
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD CPP /nologo /MT /GX /Ox /Ot /Og /Oi /Ob2 /I "." /I "../../speex/include" /I "../../../pjlib/include" /D inline=__inline /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "HAVE_CONFIG_H" /YX /FD /c
+# ADD BASE RSC /l 0x809 /d "NDEBUG"
+# ADD RSC /l 0x809 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LIB32=link.exe -lib
+# ADD BASE LIB32 /nologo
+# ADD LIB32 /nologo /out:"..\..\lib\libspeex-i386-vc6-release.lib"
+
+!ELSEIF "$(CFG)" == "libspeex - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "output\libspeex-i386-vc6-debug"
+# PROP BASE Intermediate_Dir "output\libspeex-i386-vc6-debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "output\libspeex-i386-vc6-debug"
+# PROP Intermediate_Dir "output\libspeex-i386-vc6-debug"
+# PROP Target_Dir ""
+F90=df.exe
+# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /GZ /c
+# ADD CPP /nologo /MTd /W3 /GX /Ox /Ot /Og /Oi /Ob2 /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "HAVE_CONFIG_H" /YX /FD /c
+# ADD BASE RSC /l 0x809 /d "_DEBUG"
+# ADD RSC /l 0x809 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LIB32=link.exe -lib
+# ADD BASE LIB32 /nologo
+# ADD LIB32 /nologo /out:"..\..\lib\libspeex-i386-vc6-debug.lib"
+
+!ENDIF
+
+# Begin Target
+
+# Name "libspeex - Win32 Release"
+# Name "libspeex - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\bits.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\cb_search.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\exc_10_16_table.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\exc_10_32_table.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\exc_20_32_table.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\exc_5_256_table.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\exc_5_64_table.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\exc_8_128_table.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\fftwrap.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\filterbank.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\filters.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\gain_table.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\gain_table_lbr.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\hexc_10_32_table.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\hexc_table.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\high_lsp_tables.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\jitter.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\kiss_fft.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\kiss_fftr.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\lpc.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\lsp.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\lsp_tables_nb.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\ltp.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\math_approx.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\mdf.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\medfilter.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\misc.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\modes.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\nb_celp.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\preprocess.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\quant_lsp.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\resample.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\sb_celp.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\smallft.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\speex.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\speex_callbacks.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\speex_header.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\stereo.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\vbr.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\vq.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\window.c
+# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\cb_search.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\config.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\fftwrap.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\filterbank.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\filters.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\kiss_fft.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\kiss_fftr.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\lpc.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\lsp.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\ltp.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\medfilter.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\misc.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\modes.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\nb_celp.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\quant_lsp.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\sb_celp.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\smallft.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\include\speex\speex.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\include\speex\speex_bits.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\include\speex\speex_callbacks.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\include\speex\speex_echo.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\include\speex\speex_header.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\include\speex\speex_jitter.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\include\speex\speex_preprocess.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\include\speex\speex_resampler.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\include\speex\speex_stereo.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\include\speex\speex_types.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\stack_alloc.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\vbr.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\speex\libspeex\vq.h
+# End Source File
+# End Group
+# End Target
+# End Project