Changeset 9a91031 for swig


Ignore:
Timestamp:
Sep 26, 2009, 6:39:01 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:
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.