aboutsummaryrefslogtreecommitdiff
path: root/xtract/xtract_macros.h
diff options
context:
space:
mode:
authorJamie Bullock <jamie@postlude.co.uk>2007-01-11 16:37:50 +0000
committerJamie Bullock <jamie@postlude.co.uk>2007-01-11 16:37:50 +0000
commit03faa4383048ec211eea920c6ec56544037191c9 (patch)
tree296fb7f69e876162802a2ee8844bf5649a02db00 /xtract/xtract_macros.h
parentb654be00cfb5275b289e683af7b67de6ee471854 (diff)
downloadLibXtract-03faa4383048ec211eea920c6ec56544037191c9.tar.gz
LibXtract-03faa4383048ec211eea920c6ec56544037191c9.tar.bz2
LibXtract-03faa4383048ec211eea920c6ec56544037191c9.zip
Fleshed out function descriptors.
Diffstat (limited to 'xtract/xtract_macros.h')
-rw-r--r--xtract/xtract_macros.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/xtract/xtract_macros.h b/xtract/xtract_macros.h
index 9e72a41..f3b85f2 100644
--- a/xtract/xtract_macros.h
+++ b/xtract/xtract_macros.h
@@ -37,9 +37,11 @@ extern "C" {
#define NEEDS_FFTW printf("LibXtract must be compiled with fftw support to use this function.\n")
#define CHECK_q if(!q) q = 44100.f / N
-#define VERY_SMALL_NUMBER 1e-20
+#define VERY_SMALL_NUMBER 2e-42
#define LOG_LIMIT VERY_SMALL_NUMBER
-#define VERY_BIG_NUMBER 1e20
+#define LOG_LIMIT_DB -96
+#define DB_SCALE_OFFSET 96
+#define VERY_BIG_NUMBER 2e42
#define SR_LIMIT 192000
#define BARK_BANDS 26
#define NONE 0