Changeset 9209c79 for src/io/sink.c


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/sink.c

    rdba9b33 r9209c79  
    2424#include "fmat.h"
    2525#include "io/sink.h"
    26 #ifdef __APPLE__
     26#ifdef HAVE_SINK_APPLE_AUDIO
    2727#include "io/sink_apple_audio.h"
    28 #endif /* __APPLE__ */
     28#endif /* HAVE_SINK_APPLE_AUDIO */
    2929#ifdef HAVE_SNDFILE
    3030#include "io/sink_sndfile.h"
     
    5757aubio_sink_t * new_aubio_sink(char_t * uri, uint_t samplerate) {
    5858  aubio_sink_t * s = AUBIO_NEW(aubio_sink_t);
    59 #ifdef __APPLE__
     59#ifdef HAVE_SINK_APPLE_AUDIO
    6060  s->sink = (void *)new_aubio_sink_apple_audio(uri, samplerate);
    6161  if (s->sink) {
     
    7070    return s;
    7171  }
    72 #endif /* __APPLE__ */
     72#endif /* HAVE_SINK_APPLE_AUDIO */
    7373#if HAVE_SNDFILE
    7474  s->sink = (void *)new_aubio_sink_sndfile(uri, samplerate);
Note: See TracChangeset for help on using the changeset viewer.