[xiph-commits] r7130 - in trunk/speex: libspeex src

conrad at dactyl.lonelymoon.com conrad
Wed Jul 14 21:31:36 PDT 2004


Author: conrad
Date: Wed Jul 14 21:31:36 2004
New Revision: 7130

Modified:
trunk/speex/libspeex/bits.c
trunk/speex/libspeex/cb_search.c
trunk/speex/libspeex/filters.c
trunk/speex/libspeex/jitter.c
trunk/speex/libspeex/lbr_48k_tables.c
trunk/speex/libspeex/lpc.c
trunk/speex/libspeex/lsp.c
trunk/speex/libspeex/ltp.c
trunk/speex/libspeex/math_approx.c
trunk/speex/libspeex/mdf.c
trunk/speex/libspeex/misc.c
trunk/speex/libspeex/modes.c
trunk/speex/libspeex/modes_noglobals.c
trunk/speex/libspeex/nb_celp.c
trunk/speex/libspeex/preprocess.c
trunk/speex/libspeex/quant_lsp.c
trunk/speex/libspeex/sb_celp.c
trunk/speex/libspeex/smallft.c
trunk/speex/libspeex/speex.c
trunk/speex/libspeex/speex_callbacks.c
trunk/speex/libspeex/speex_header.c
trunk/speex/libspeex/stereo.c
trunk/speex/libspeex/testdenoise.c
trunk/speex/libspeex/testecho.c
trunk/speex/libspeex/testenc.c
trunk/speex/libspeex/testenc_uwb.c
trunk/speex/libspeex/testenc_wb.c
trunk/speex/libspeex/vbr.c
trunk/speex/libspeex/vq.c
trunk/speex/src/speexdec.c
trunk/speex/src/speexenc.c
trunk/speex/src/wav_io.c
trunk/speex/src/wave_out.c
Log:
added guarded #include "config.h" throughout libspeex/ and src/


Modified: trunk/speex/libspeex/bits.c
===================================================================
--- trunk/speex/libspeex/bits.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/bits.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -32,6 +32,10 @@

*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <speex/speex_bits.h>
#include "misc.h"


Modified: trunk/speex/libspeex/cb_search.c
===================================================================
--- trunk/speex/libspeex/cb_search.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/cb_search.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -29,6 +29,9 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif

#include "cb_search.h"
#include "filters.h"

Modified: trunk/speex/libspeex/filters.c
===================================================================
--- trunk/speex/libspeex/filters.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/filters.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -30,6 +30,10 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "filters.h"
#include "stack_alloc.h"
#include <math.h>

Modified: trunk/speex/libspeex/jitter.c
===================================================================
--- trunk/speex/libspeex/jitter.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/jitter.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -32,6 +32,10 @@

*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifndef NULL
#define NULL 0
#endif

Modified: trunk/speex/libspeex/lbr_48k_tables.c
===================================================================
--- trunk/speex/libspeex/lbr_48k_tables.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/lbr_48k_tables.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -29,7 +29,11 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif

+
int dummy_epic_48k_variable=0;
#ifdef EPIC_48K


Modified: trunk/speex/libspeex/lpc.c
===================================================================
--- trunk/speex/libspeex/lpc.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/lpc.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -49,8 +49,12 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif


+
/* LPC analysis
*
* The next two functions calculate linear prediction coefficients

Modified: trunk/speex/libspeex/lsp.c
===================================================================
--- trunk/speex/libspeex/lsp.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/lsp.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -43,6 +43,10 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <math.h>
#include "lsp.h"
#include "stack_alloc.h"

Modified: trunk/speex/libspeex/ltp.c
===================================================================
--- trunk/speex/libspeex/ltp.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/ltp.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -30,6 +30,10 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <math.h>
#include "ltp.h"
#include "stack_alloc.h"

Modified: trunk/speex/libspeex/math_approx.c
===================================================================
--- trunk/speex/libspeex/math_approx.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/math_approx.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -30,6 +30,10 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "math_approx.h"
#include "misc.h"


Modified: trunk/speex/libspeex/mdf.c
===================================================================
--- trunk/speex/libspeex/mdf.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/mdf.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -34,6 +34,10 @@
POSSIBILITY OF SUCH DAMAGE.
*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "misc.h"
#include <speex/speex_echo.h>
#include "smallft.h"

Modified: trunk/speex/libspeex/misc.c
===================================================================
--- trunk/speex/libspeex/misc.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/misc.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -30,6 +30,10 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "misc.h"
#include <stdlib.h>
#include <string.h>

Modified: trunk/speex/libspeex/modes.c
===================================================================
--- trunk/speex/libspeex/modes.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/modes.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -32,6 +32,10 @@

*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "modes.h"
#include "ltp.h"
#include "quant_lsp.h"

Modified: trunk/speex/libspeex/modes_noglobals.c
===================================================================
--- trunk/speex/libspeex/modes_noglobals.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/modes_noglobals.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -32,6 +32,10 @@

*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "modes.h"
#include "ltp.h"
#include "quant_lsp.h"

Modified: trunk/speex/libspeex/nb_celp.c
===================================================================
--- trunk/speex/libspeex/nb_celp.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/nb_celp.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -29,6 +29,10 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <math.h>
#include "nb_celp.h"
#include "lpc.h"

Modified: trunk/speex/libspeex/preprocess.c
===================================================================
--- trunk/speex/libspeex/preprocess.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/preprocess.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -31,6 +31,10 @@
POSSIBILITY OF SUCH DAMAGE.
*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <math.h>
#include <speex/speex_preprocess.h>
#include "misc.h"

Modified: trunk/speex/libspeex/quant_lsp.c
===================================================================
--- trunk/speex/libspeex/quant_lsp.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/quant_lsp.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -30,6 +30,10 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "quant_lsp.h"
#include <math.h>
#ifndef M_PI

Modified: trunk/speex/libspeex/sb_celp.c
===================================================================
--- trunk/speex/libspeex/sb_celp.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/sb_celp.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -29,6 +29,9 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif

#include <math.h>
#include "sb_celp.h"

Modified: trunk/speex/libspeex/smallft.c
===================================================================
--- trunk/speex/libspeex/smallft.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/smallft.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -28,6 +28,10 @@
* FORTRAN version
*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <math.h>
#include "smallft.h"
#include "misc.h"

Modified: trunk/speex/libspeex/speex.c
===================================================================
--- trunk/speex/libspeex/speex.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/speex.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -32,6 +32,10 @@

*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "modes.h"
#include <math.h>


Modified: trunk/speex/libspeex/speex_callbacks.c
===================================================================
--- trunk/speex/libspeex/speex_callbacks.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/speex_callbacks.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -32,6 +32,10 @@

*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <speex/speex_callbacks.h>
#include "misc.h"


Modified: trunk/speex/libspeex/speex_header.c
===================================================================
--- trunk/speex/libspeex/speex_header.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/speex_header.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -31,6 +31,10 @@

*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <speex/speex_header.h>
#include "misc.h"
#include <speex/speex.h>

Modified: trunk/speex/libspeex/stereo.c
===================================================================
--- trunk/speex/libspeex/stereo.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/stereo.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -29,6 +29,10 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <speex/speex_stereo.h>
#include <speex/speex_callbacks.h>
#include "vq.h"

Modified: trunk/speex/libspeex/testdenoise.c
===================================================================
--- trunk/speex/libspeex/testdenoise.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/testdenoise.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <speex/speex_preprocess.h>
#include <stdio.h>


Modified: trunk/speex/libspeex/testecho.c
===================================================================
--- trunk/speex/libspeex/testecho.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/testecho.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <speex/speex_echo.h>
#include <stdio.h>
#include <stdlib.h>

Modified: trunk/speex/libspeex/testenc.c
===================================================================
--- trunk/speex/libspeex/testenc.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/testenc.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <speex/speex.h>
#include <stdio.h>
#include <stdlib.h>

Modified: trunk/speex/libspeex/testenc_uwb.c
===================================================================
--- trunk/speex/libspeex/testenc_uwb.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/testenc_uwb.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <speex/speex.h>
#include <stdio.h>
#include <stdlib.h>

Modified: trunk/speex/libspeex/testenc_wb.c
===================================================================
--- trunk/speex/libspeex/testenc_wb.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/testenc_wb.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <speex/speex.h>
#include <stdio.h>
#include <stdlib.h>

Modified: trunk/speex/libspeex/vbr.c
===================================================================
--- trunk/speex/libspeex/vbr.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/vbr.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -32,6 +32,10 @@

*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "vbr.h"
#include <math.h>


Modified: trunk/speex/libspeex/vq.c
===================================================================
--- trunk/speex/libspeex/vq.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/libspeex/vq.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -30,6 +30,10 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "vq.h"
#include "stack_alloc.h"


Modified: trunk/speex/src/speexdec.c
===================================================================
--- trunk/speex/src/speexdec.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/src/speexdec.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -29,6 +29,10 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdio.h>
#if !defined WIN32 && !defined _WIN32
#include <unistd.h>

Modified: trunk/speex/src/speexenc.c
===================================================================
--- trunk/speex/src/speexenc.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/src/speexenc.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -29,6 +29,10 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdio.h>
#if !defined WIN32 && !defined _WIN32
#include <unistd.h>

Modified: trunk/speex/src/wav_io.c
===================================================================
--- trunk/speex/src/wav_io.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/src/wav_io.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -30,6 +30,10 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdio.h>
#include <string.h>
#include "misc.h"

Modified: trunk/speex/src/wave_out.c
===================================================================
--- trunk/speex/src/wave_out.c	2004-07-15 04:23:43 UTC (rev 7129)
+++ trunk/speex/src/wave_out.c	2004-07-15 04:31:34 UTC (rev 7130)
@@ -28,6 +28,10 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
/* Set TABS = 4 */
/********************************************************************




More information about the commits mailing list