Changeset c423c3d


Ignore:
Timestamp:
Sep 25, 2009, 4:12:23 AM (15 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:
06d30f9
Parents:
194ef6b
Message:

examples/: use native aubio smpl_t for aubio_process_func_t

Location:
examples
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • examples/aubiomfcc.c

    r194ef6b rc423c3d  
    3030uint_t usepitch = 0;
    3131
    32 int aubio_process(float **input, float **output, int nframes);
    33 int aubio_process(float **input, float **output, int nframes) {
     32int aubio_process(smpl_t **input, smpl_t **output, int nframes);
     33int aubio_process(smpl_t **input, smpl_t **output, int nframes) {
    3434  unsigned int i;       /*channels*/
    3535  unsigned int j;       /*frames*/
  • examples/aubionotes.c

    r194ef6b rc423c3d  
    2222uint_t usepitch = 1;
    2323
    24 int aubio_process(float **input, float **output, int nframes);
    25 int aubio_process(float **input, float **output, int nframes) {
     24int aubio_process(smpl_t **input, smpl_t **output, int nframes);
     25int aubio_process(smpl_t **input, smpl_t **output, int nframes) {
    2626  unsigned int i;       /*channels*/
    2727  unsigned int j;       /*frames*/
  • examples/aubioonset.c

    r194ef6b rc423c3d  
    2222uint_t usepitch = 0;
    2323
    24 int aubio_process(float **input, float **output, int nframes);
    25 int aubio_process(float **input, float **output, int nframes) {
     24int aubio_process(smpl_t **input, smpl_t **output, int nframes);
     25int aubio_process(smpl_t **input, smpl_t **output, int nframes) {
    2626  unsigned int i;       /*channels*/
    2727  unsigned int j;       /*frames*/
  • examples/aubioquiet.c

    r194ef6b rc423c3d  
    2323uint_t usepitch = 0;
    2424
    25 int aubio_process(float **input, float **output, int nframes);
    26 int aubio_process(float **input, float **output, int nframes) {
     25int aubio_process(smpl_t **input, smpl_t **output, int nframes);
     26int aubio_process(smpl_t **input, smpl_t **output, int nframes) {
    2727  unsigned int i;       /*channels*/
    2828  unsigned int j;       /*frames*/
  • examples/aubiotrack.c

    r194ef6b rc423c3d  
    2626smpl_t istactus           = 0;
    2727
    28 int aubio_process(float **input, float **output, int nframes);
    29 int aubio_process(float **input, float **output, int nframes) {
     28int aubio_process(smpl_t **input, smpl_t **output, int nframes);
     29int aubio_process(smpl_t **input, smpl_t **output, int nframes) {
    3030  unsigned int i;       /*channels*/
    3131  unsigned int j;       /*frames*/
  • examples/utils.h

    r194ef6b rc423c3d  
    5454#ifndef HAVE_JACK
    5555typedef int (*aubio_process_func_t)
    56         (float **input, float **output, int nframes);
     56        (smpl_t **input, smpl_t **output, int nframes);
    5757#endif
    5858void examples_common_process(aubio_process_func_t process_func, aubio_print_func_t print);
Note: See TracChangeset for help on using the changeset viewer.