[xiph-commits] r10723 - trunk/ghost/libghost

jm at svn.xiph.org jm at svn.xiph.org
Mon Jan 9 17:29:28 PST 2006


Author: jm
Date: 2006-01-09 17:29:25 -0800 (Mon, 09 Jan 2006)
New Revision: 10723

Modified:
   trunk/ghost/libghost/Makefile.am
   trunk/ghost/libghost/arch.h
   trunk/ghost/libghost/fftwrap.c
Log:
added fft to the build


Modified: trunk/ghost/libghost/Makefile.am
===================================================================
--- trunk/ghost/libghost/Makefile.am	2006-01-10 01:25:55 UTC (rev 10722)
+++ trunk/ghost/libghost/Makefile.am	2006-01-10 01:29:25 UTC (rev 10723)
@@ -9,13 +9,13 @@
 lib_LTLIBRARIES = libghost.la
 
 # Sources for compilation in the library
-libghost_la_SOURCES = ghost.c 			sinusoids.c pitch.c lifting.c
+libghost_la_SOURCES = ghost.c sinusoids.c pitch.c lifting.c smallft.c fftwrap.c
 
 #noinst_HEADERS =
 
 libghost_la_LDFLAGS = -version-info @GHOST_LT_CURRENT@:@GHOST_LT_REVISION@:@GHOST_LT_AGE@
 
-noinst_HEADERS = ghost.h pitch.h lifting.h
+noinst_HEADERS = ghost.h pitch.h lifting.h smallft.h fftwrap.h arch.h misc.h
 noinst_PROGRAMS = testghost
 testghost_SOURCES = testghost.c
 testghost_LDADD = $(top_builddir)/libghost/libghost.la

Modified: trunk/ghost/libghost/arch.h
===================================================================
--- trunk/ghost/libghost/arch.h	2006-01-10 01:25:55 UTC (rev 10722)
+++ trunk/ghost/libghost/arch.h	2006-01-10 01:29:25 UTC (rev 10723)
@@ -35,7 +35,10 @@
 #ifndef ARCH_H
 #define ARCH_H
 
-#include "speex/speex_types.h"
+/*#include "speex/speex_types.h" */
+typedef int spx_int32_t;
+typedef unsigned int spx_uint32_t;
+typedef short spx_int16_t;
 
 #define ABS(x) ((x) < 0 ? (-(x)) : (x))      /**< Absolute integer value. */
 #define ABS16(x) ((x) < 0 ? (-(x)) : (x))    /**< Absolute 16-bit value.  */

Modified: trunk/ghost/libghost/fftwrap.c
===================================================================
--- trunk/ghost/libghost/fftwrap.c	2006-01-10 01:25:55 UTC (rev 10722)
+++ trunk/ghost/libghost/fftwrap.c	2006-01-10 01:29:25 UTC (rev 10723)
@@ -36,8 +36,8 @@
 #include "config.h"
 #endif
 
-/*#define USE_SMALLFT*/
-#define USE_KISS_FFT
+#define USE_SMALLFT
+/*#define USE_KISS_FFT*/
 
 
 #include "misc.h"



More information about the commits mailing list