Changeset 9209c79 for src/io/source.c


Ignore:
Timestamp:
Mar 27, 2014, 7:56:11 PM (10 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:
4a17757
Parents:
dba9b33
Message:

wscript, src/io/*.c: use custom defines instead of APPLE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source.c

    rdba9b33 r9209c79  
    2727#include "io/source_avcodec.h"
    2828#endif /* HAVE_LIBAV */
    29 #ifdef __APPLE__
     29#ifdef HAVE_SOURCE_APPLE_AUDIO
    3030#include "io/source_apple_audio.h"
    31 #endif /* __APPLE__ */
     31#endif /* HAVE_SOURCE_APPLE_AUDIO */
    3232#ifdef HAVE_SNDFILE
    3333#include "io/source_sndfile.h"
     
    7171  }
    7272#endif /* HAVE_LIBAV */
    73 #ifdef __APPLE__
     73#ifdef HAVE_SOURCE_APPLE_AUDIO
    7474  s->source = (void *)new_aubio_source_apple_audio(uri, samplerate, hop_size);
    7575  if (s->source) {
     
    8383    return s;
    8484  }
    85 #endif /* __APPLE__ */
     85#endif /* HAVE_SOURCE_APPLE_AUDIO */
    8686#if HAVE_SNDFILE
    8787  s->source = (void *)new_aubio_source_sndfile(uri, samplerate, hop_size);
Note: See TracChangeset for help on using the changeset viewer.