Changeset e9e2a87


Ignore:
Timestamp:
Dec 8, 2013, 4:48:31 AM (11 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:
6b14351
Parents:
8122e54a
Message:

examples/: define aubio_process_func_t once in utils.h

Location:
examples
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • examples/jackio.c

    r8122e54a re9e2a87  
    2323
    2424#if HAVE_JACK
     25#include "utils.h" // for aubio_process_func_t
     26#include "jackio.h"
    2527#include "aubio_priv.h"
    26 #include "jackio.h"
    2728
    2829typedef jack_default_audio_sample_t jack_sample_t;
  • examples/jackio.h

    r8122e54a re9e2a87  
    4040/** jack object */
    4141typedef struct _aubio_jack_t aubio_jack_t;
    42 /** jack process function */
    43 typedef int (*aubio_process_func_t) (fvec_t * input, fvec_t * output);
    4442
    4543/** jack device creation function */
  • examples/parse_args.h

    r8122e54a re9e2a87  
    4141extern uint_t mix_input;
    4242
    43 typedef int (*aubio_process_func_t)(fvec_t * input, fvec_t * output);
    44 
    4543// functions defined in utils.c
    4644extern void examples_common_init (int argc, char **argv);
  • examples/utils.h

    r8122e54a re9e2a87  
    5252void send_noteon (int pitch, int velo);
    5353
     54/** common process function */
     55typedef int (*aubio_process_func_t) (fvec_t * input, fvec_t * output);
Note: See TracChangeset for help on using the changeset viewer.