Changeset 1b25a70 for examples/utils.h


Ignore:
Timestamp:
Dec 7, 2013, 12:14:50 AM (10 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
44e94f3c
Parents:
cc6b221
Message:

examples/: move parse_args to parse_args.h, clean up, remove lash and old frames_delay

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/utils.h

    rcc6b221 r1b25a70  
    2828#include <aubio.h>
    2929#include "config.h"
    30 #ifdef HAVE_JACK
    31 #include "jackio.h"
    32 #endif /* HAVE_JACK */
    3330
    3431#ifdef HAVE_C99_VARARGS_MACROS
     
    4239#endif
    4340
    44 
    45 extern int frames;
    46 extern int verbose;
    47 extern int usejack;
    48 extern int frames_delay;
    49 /* defined in utils.c */
    50 void usage (FILE * stream, int exit_code);
    51 int parse_args (int argc, char **argv);
    52 void examples_common_init (int argc, char **argv);
    53 void examples_common_del (void);
    5441typedef void (aubio_print_func_t) (void);
    5542#ifndef HAVE_JACK
     
    5744  (smpl_t ** input, smpl_t ** output, int nframes);
    5845#endif
    59 void examples_common_process (aubio_process_func_t process_func,
    60     aubio_print_func_t print);
    61 
    62 extern char_t * pitch_unit;
    63 extern char_t * pitch_mode;
    64 
    6546void send_noteon (int pitch, int velo);
    6647
    67 extern const char *sink_uri;
    68 extern char_t * onset_mode;
    69 extern smpl_t threshold;
    70 extern smpl_t silence;
    71 extern int verbose;
    72 extern int usejack;
    73 extern uint_t buffer_size;
    74 extern uint_t overlap_size;
    75 extern uint_t samplerate;
    7648
    77 extern fvec_t *ibuf;
    78 extern fvec_t *obuf;
Note: See TracChangeset for help on using the changeset viewer.