[xiph-commits] r10675 - trunk/speex/libspeex

jm at svn.xiph.org jm at svn.xiph.org
Thu Dec 22 03:35:44 PST 2005


Author: jm
Date: 2005-12-22 03:35:40 -0800 (Thu, 22 Dec 2005)
New Revision: 10675

Modified:
   trunk/speex/libspeex/_kiss_fft_guts.h
   trunk/speex/libspeex/kiss_fft.c
   trunk/speex/libspeex/kiss_fftr.c
Log:
Include config.h here too


Modified: trunk/speex/libspeex/_kiss_fft_guts.h
===================================================================
--- trunk/speex/libspeex/_kiss_fft_guts.h	2005-12-22 11:16:04 UTC (rev 10674)
+++ trunk/speex/libspeex/_kiss_fft_guts.h	2005-12-22 11:35:40 UTC (rev 10675)
@@ -42,15 +42,9 @@
    C_ADDTO( res , a)    : res += a
  * */
 #ifdef FIXED_POINT
-#if (FIXED_POINT==32)
-# define FRACBITS 31
-# define SAMPPROD int64_t
-#define SAMP_MAX 2147483647
-#else
 # define FRACBITS 15
 # define SAMPPROD int32_t 
 #define SAMP_MAX 32767
-#endif
 
 #define SAMP_MIN -SAMP_MAX
 

Modified: trunk/speex/libspeex/kiss_fft.c
===================================================================
--- trunk/speex/libspeex/kiss_fft.c	2005-12-22 11:16:04 UTC (rev 10674)
+++ trunk/speex/libspeex/kiss_fft.c	2005-12-22 11:35:40 UTC (rev 10675)
@@ -13,6 +13,10 @@
 */
 
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "_kiss_fft_guts.h"
 #include "misc.h"
 

Modified: trunk/speex/libspeex/kiss_fftr.c
===================================================================
--- trunk/speex/libspeex/kiss_fftr.c	2005-12-22 11:16:04 UTC (rev 10674)
+++ trunk/speex/libspeex/kiss_fftr.c	2005-12-22 11:35:40 UTC (rev 10675)
@@ -12,6 +12,10 @@
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "kiss_fftr.h"
 #include "_kiss_fft_guts.h"
 



More information about the commits mailing list