X-Git-Url: https://git.aubio.org/?p=aubio.git;a=blobdiff_plain;f=src%2Faubio_priv.h;h=72ba091d8752f238239e8dbe5747b6e89f847803;hp=e85231e280ee554fb7fd9a11b182a9c0696e06bb;hb=cf19b8a8231deec641741007210ce57cd96332b5;hpb=f5be115791cb250fc5ced51f335ca639d79ab5e8 diff --git a/src/aubio_priv.h b/src/aubio_priv.h index e85231e2..72ba091d 100644 --- a/src/aubio_priv.h +++ b/src/aubio_priv.h @@ -196,6 +196,9 @@ uint_t aubio_log(sint_t level, const char_t *fmt, ...); #define AUBIO_QUIT(_s) exit(_s) #define AUBIO_SPRINTF sprintf +#define AUBIO_MAX_SAMPLERATE (192000*8) +#define AUBIO_MAX_CHANNELS 1024 + /* pi and 2*pi */ #ifndef M_PI #define PI (3.14159265358979323846) @@ -220,6 +223,7 @@ uint_t aubio_log(sint_t level, const char_t *fmt, ...); #define LOG logf #define FLOOR floorf #define CEIL ceilf +#define ATAN atanf #define ATAN2 atan2f #else #define EXP exp @@ -232,6 +236,7 @@ uint_t aubio_log(sint_t level, const char_t *fmt, ...); #define LOG log #define FLOOR floor #define CEIL ceil +#define ATAN atan #define ATAN2 atan2 #endif #define ROUND(x) FLOOR(x+.5)