Changeset 3d2fe26 for src


Ignore:
Timestamp:
Mar 22, 2013, 2:36:30 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:
18a378e
Parents:
ae9fd90
Message:

src/io/source_sndfile.{c,h}: fix include and prototype, bypass resampler for now

Location:
src/io
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/io/source_sndfile.c

    rae9fd90 r3d2fe26  
    2727
    2828#include "aubio_priv.h"
     29#include "fvec.h"
     30#include "fmat.h"
    2931#include "source_sndfile.h"
    30 #include "fvec.h"
    3132
    3233#include "temporal/resampler.h"
     
    184185    AUBIO_ERR("source_sndfile: no multi channel resampling yet");
    185186    return;
    186     data = s->input_data->data;
     187    //data = s->input_data->data;
    187188  } else
    188189#endif /* HAVE_SAMPLERATE */
     
    200201#ifdef HAVE_SAMPLERATE
    201202  if (s->resampler) {
    202     aubio_resampler_do(s->resampler, s->input_data, read_data);
     203    //aubio_resampler_do(s->resampler, s->input_data, read_data);
    203204  }
    204205#endif /* HAVE_SAMPLERATE */
  • src/io/source_sndfile.h

    rae9fd90 r3d2fe26  
    8585
    8686*/
    87 void aubio_source_sndfile_do(aubio_source_sndfile_t * s, fmat_t * read_to, uint_t * read);
     87void aubio_source_sndfile_do_multi(aubio_source_sndfile_t * s, fmat_t * read_to, uint_t * read);
    8888
    8989/**
Note: See TracChangeset for help on using the changeset viewer.