Changeset de66709


Ignore:
Timestamp:
Apr 23, 2016, 12:51:07 AM (5 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:
c601bcd
Parents:
a9ec06f
Message:

src/: use #ifdef HAVE_FOO, not #if HAVE_FOO

Location:
src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/fvec.c

    ra9ec06f rde66709  
    126126    return;
    127127  }
    128 #if HAVE_NOOPT
     128#ifdef HAVE_NOOPT
    129129  uint_t j;
    130130  for (j=0; j< t->length; j++) {
  • src/io/sink.c

    ra9ec06f rde66709  
    7171  }
    7272#endif /* HAVE_SINK_APPLE_AUDIO */
    73 #if HAVE_SNDFILE
     73#ifdef HAVE_SNDFILE
    7474  s->sink = (void *)new_aubio_sink_sndfile(uri, samplerate);
    7575  if (s->sink) {
     
    8585  }
    8686#endif /* HAVE_SNDFILE */
    87 #if HAVE_WAVWRITE
     87#ifdef HAVE_WAVWRITE
    8888  s->sink = (void *)new_aubio_sink_wavwrite(uri, samplerate);
    8989  if (s->sink) {
  • src/io/source.c

    ra9ec06f rde66709  
    5858aubio_source_t * new_aubio_source(const char_t * uri, uint_t samplerate, uint_t hop_size) {
    5959  aubio_source_t * s = AUBIO_NEW(aubio_source_t);
    60 #if HAVE_LIBAV
     60#ifdef HAVE_LIBAV
    6161  s->source = (void *)new_aubio_source_avcodec(uri, samplerate, hop_size);
    6262  if (s->source) {
     
    8484  }
    8585#endif /* HAVE_SOURCE_APPLE_AUDIO */
    86 #if HAVE_SNDFILE
     86#ifdef HAVE_SNDFILE
    8787  s->source = (void *)new_aubio_source_sndfile(uri, samplerate, hop_size);
    8888  if (s->source) {
     
    9797  }
    9898#endif /* HAVE_SNDFILE */
    99 #if HAVE_WAVREAD
     99#ifdef HAVE_WAVREAD
    100100  s->source = (void *)new_aubio_source_wavread(uri, samplerate, hop_size);
    101101  if (s->source) {
  • src/temporal/resampler.c

    ra9ec06f rde66709  
    2525#include "temporal/resampler.h"
    2626
    27 #if HAVE_SAMPLERATE
     27#ifdef HAVE_SAMPLERATE
    2828
    2929#include <samplerate.h>         /* from libsamplerate */
Note: See TracChangeset for help on using the changeset viewer.