From e876da1b38221d8020d81b72926d2dee5c2bdc55 Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Fri, 15 Feb 2008 12:43:13 +0000 Subject: - Fixed bugs in xtract_flatness(), or at least added necessary documentation and error checking to avoid problems - Added xtract_is_denormal() helper function and XTRACT_DENORMAL_FOUND return code - Replaced all instances of log, sqrt, exp etc. with respective floating point counterparts (logf etc.) - Added check for architecture endianness to configure script - Bug fix to PD example, now no longer crashes if no arguments are given - Minor documentation updates --- xtract/xtract_vector.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xtract/xtract_vector.h') diff --git a/xtract/xtract_vector.h b/xtract/xtract_vector.h index e758f10..07bf176 100644 --- a/xtract/xtract_vector.h +++ b/xtract/xtract_vector.h @@ -43,6 +43,8 @@ extern "C" { * * The magnitude/power coefficients are scaled to the range 0-1 so that for a given coefficient x, 0 <= x <= 1 * + * \note Before calling xtract_spectrum(), the FFT must be initialised by calling xtract_init_fft(N, XTRACT_SPECTRUM) + * */ int xtract_spectrum(const float *data, const int N, const void *argv, float *result); -- cgit v1.2.3