diff options
author | Jamie Bullock <jamie@postlude.co.uk> | 2006-12-21 13:23:12 +0000 |
---|---|---|
committer | Jamie Bullock <jamie@postlude.co.uk> | 2006-12-21 13:23:12 +0000 |
commit | 436746d12ba3c33fa138dd67c9b746f655058d93 (patch) | |
tree | 1ca98fb98bc0e263c54f0ddfd3a9f74f0cfc6a95 /xtract/xtract_macros.h | |
parent | 8742c7e0952fb3009699426dae3505084534896f (diff) | |
download | LibXtract-436746d12ba3c33fa138dd67c9b746f655058d93.tar.gz LibXtract-436746d12ba3c33fa138dd67c9b746f655058d93.tar.bz2 LibXtract-436746d12ba3c33fa138dd67c9b746f655058d93.zip |
Added xtract_sharpness()
Diffstat (limited to 'xtract/xtract_macros.h')
-rw-r--r-- | xtract/xtract_macros.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xtract/xtract_macros.h b/xtract/xtract_macros.h index f2a89b7..8b55d48 100644 --- a/xtract/xtract_macros.h +++ b/xtract/xtract_macros.h @@ -35,6 +35,7 @@ extern "C" { #define MIN(a, b) ((a) < (b) ? (a) : (b)) #define MAX(a, b) ((a) > (b) ? (a) : (b)) #define NEEDS_FFTW printf("LibXtract must be compiled with fftw support to use this function.\n") +#define CHECK_SR if(!sr) sr = 44100.f #define VERY_SMALL_NUMBER 1e-20 #define LOG_LIMIT VERY_SMALL_NUMBER |