Mercurial > hg > libxtract
diff xtract/libxtract.h @ 113:72a9a393d5bd
- 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
author | Jamie Bullock <jamie@postlude.co.uk> |
---|---|
date | Fri, 15 Feb 2008 12:43:13 +0000 |
parents | c8502708853b |
children | f5040ed4e555 |
line wrap: on
line diff
--- a/xtract/libxtract.h Wed Jan 02 04:10:21 2008 +0000 +++ b/xtract/libxtract.h Fri Feb 15 12:43:13 2008 +0000 @@ -96,6 +96,7 @@ XTRACT_ROLLOFF, XTRACT_LOUDNESS, XTRACT_FLATNESS, + XTRACT_FLATNESS_DB, XTRACT_TONALITY, XTRACT_CREST, XTRACT_NOISINESS, @@ -165,7 +166,8 @@ XTRACT_MALLOC_FAILED, XTRACT_BAD_ARGV, XTRACT_BAD_VECTOR_SIZE, - XTRACT_NO_RESULT, + XTRACT_DENORMAL_FOUND, + XTRACT_NO_RESULT, /* This usually occurs when the correct calculation cannot take place because required data is missing or would result in a NaN or infinity/-infinity. Under these curcumstances 0.f is usually given by *result */ XTRACT_FEATURE_NOT_IMPLEMENTED };