From: Paul Brossier Date: Sat, 28 May 2005 06:42:21 +0000 (+0000) Subject: fix compilation without jack X-Git-Tag: bzr2git~903 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5a1ff62a9ac2f384026c17c677690e082733adc4;p=aubio.git fix compilation without jack fix compilation without jack --- diff --git a/examples/utils.c b/examples/utils.c index 5455bd77..606e6bbf 100644 --- a/examples/utils.c +++ b/examples/utils.c @@ -269,7 +269,7 @@ void examples_common_del(void){ void examples_common_process(aubio_process_func_t process_func, aubio_print_func_t print ){ if(usejack) { -#ifdef JACK_SUPPORT +#if JACK_SUPPORT aubio_jack_t * jack_setup; debug("Jack init ...\n"); jack_setup = new_aubio_jack(channels, channels, diff --git a/examples/utils.h b/examples/utils.h index 1e3d4c8f..b5761dc2 100644 --- a/examples/utils.h +++ b/examples/utils.h @@ -43,6 +43,10 @@ int parse_args (int argc, char **argv); void examples_common_init(int argc, char **argv); void examples_common_del(void); typedef void (aubio_print_func_t)(void); +#ifndef JACK_SUPPORT +typedef int (*aubio_process_func_t) + (smpl_t **input, smpl_t **output, int nframes); +#endif void examples_common_process(aubio_process_func_t process_func, aubio_print_func_t print);