Changeset 9a91031


Ignore:
Timestamp:
Sep 26, 2009, 6:39:01 AM (11 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
b093845
Parents:
e7a7794
Message:

swig/aubio.i: add flags for sndfile and samplerate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • swig/aubio.i

    re7a7794 r9a91031  
    6262
    6363/* sndfile */
     64#if HAVE_SNDFILE
    6465extern aubio_sndfile_t * new_aubio_sndfile_ro (const char * inputfile);
    6566extern aubio_sndfile_t * new_aubio_sndfile_wo(aubio_sndfile_t * existingfile, const char * outputname);
     
    7071extern uint_t aubio_sndfile_channels(aubio_sndfile_t * file);
    7172extern uint_t aubio_sndfile_samplerate(aubio_sndfile_t * file);
     73#endif /* HAVE_SNDFILE */
    7274
    7375/* fft */
     
    181183
    182184/* resampling */
     185#if HAVE_LIBSAMPLERATE
    183186extern aubio_resampler_t * new_aubio_resampler(float ratio, uint_t type);
    184187extern uint_t aubio_resampler_process(aubio_resampler_t *s, fvec_t * input,  fvec_t * output);
    185188extern void del_aubio_resampler(aubio_resampler_t *s);
     189#endif /* HAVE_LIBSAMPLERATE */
    186190
    187191/* onset detection */
Note: See TracChangeset for help on using the changeset viewer.