From 436746d12ba3c33fa138dd67c9b746f655058d93 Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Thu, 21 Dec 2006 13:23:12 +0000 Subject: Added xtract_sharpness() --- xtract/xtract_macros.h | 1 + 1 file changed, 1 insertion(+) (limited to 'xtract/xtract_macros.h') 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 -- cgit v1.2.3