ref: 7f2c515ad6e1b930498b03b555ed0543f622bd42
parent: 61ecd1a40f1e26ace95bdd90665ae9ae0d49bf7f
author: Paul Brossier <[email protected]>
date: Sat Dec 7 03:56:32 EST 2013
examples/utils.h: move aubio_process_func_t to parse_args.h to avoid redefinition
--- a/examples/parse_args.h
+++ b/examples/parse_args.h
@@ -40,6 +40,8 @@
extern smpl_t silence;
extern uint_t mix_input;
+typedef int (*aubio_process_func_t)(fvec_t * input, fvec_t * output);
+
// functions defined in utils.c
extern void examples_common_init (int argc, char **argv);
extern void examples_common_del (void);
@@ -51,7 +53,6 @@
extern fvec_t *ibuf;
extern fvec_t *obuf;
-
const char *prog_name;
--- a/examples/utils.h
+++ b/examples/utils.h
@@ -49,6 +49,5 @@
#endif
typedef void (aubio_print_func_t) (void);
-typedef int (*aubio_process_func_t)(fvec_t * input, fvec_t * output);
void send_noteon (int pitch, int velo);