From: Paul Brossier Date: Thu, 5 Nov 2009 23:09:38 +0000 (+0100) Subject: tests/src/test-phasevoc-jack.c: print warning if jack not built in, disable testing X-Git-Tag: bzr2git~20 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7b485af2ed1a2eb3c77d22cbfce5e7d23ab07c5b;p=aubio.git tests/src/test-phasevoc-jack.c: print warning if jack not built in, disable testing --- diff --git a/tests/src/test-phasevoc-jack.c b/tests/src/test-phasevoc-jack.c index ffc7673e..cd5753a1 100644 --- a/tests/src/test-phasevoc-jack.c +++ b/tests/src/test-phasevoc-jack.c @@ -7,11 +7,12 @@ * */ +#include #include /* sleep() */ #include #include "jackio.h" -uint_t testing = 1; /* change this to 1 to listen */ +uint_t testing = 0; /* change this to 1 to listen */ uint_t win_s = 512;/* window size */ uint_t hop_s = 128;/* hop size */ @@ -47,6 +48,8 @@ int main(){ sleep(1); } while(testing); aubio_jack_close(jack_setup); +#else + fprintf(stderr, "WARNING: no jack support\n"); #endif del_aubio_pvoc(pv);