examples/utils.h: move aubio_process_func_t to parse_args.h to avoid redefinition
authorPaul Brossier <piem@piem.org>
Sat, 7 Dec 2013 13:56:32 +0000 (08:56 -0500)
committerPaul Brossier <piem@piem.org>
Sat, 7 Dec 2013 13:56:32 +0000 (08:56 -0500)
examples/parse_args.h
examples/utils.h

index d016dd1..0708c5e 100644 (file)
@@ -40,6 +40,8 @@ extern char_t * tempo_method;
 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);
@@ -52,7 +54,6 @@ extern int blocks;
 extern fvec_t *ibuf;
 extern fvec_t *obuf;
 
-
 const char *prog_name;
 
 void
index d85388c..b2f4ac8 100644 (file)
@@ -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);