Changeset 4a17757


Ignore:
Timestamp:
Mar 28, 2014, 4:34:27 AM (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:
a3de4be
Parents:
9209c79
Message:

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

Location:
tests/src/io
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tests/src/io/test-sink_apple_audio-multi.c

    r9209c79 r4a17757  
    1717  }
    1818
    19 #ifdef __APPLE__
     19#ifdef HAVE_SINK_APPLE_AUDIO
    2020  uint_t samplerate = 0;
    2121  uint_t channels = 0;
     
    7171  del_aubio_source(i);
    7272beach_source:
    73 #else
     73#else /* HAVE_SINK_APPLE_AUDIO */
    7474  err = 3;
    7575  PRINT_ERR("aubio was not compiled with aubio_sink_apple_audio\n");
    76 #endif /* __APPLE__ */
     76#endif /* HAVE_SINK_APPLE_AUDIO */
    7777  return err;
    7878}
  • tests/src/io/test-sink_apple_audio.c

    r9209c79 r4a17757  
    1717  }
    1818
    19 #ifdef __APPLE__
     19#ifdef HAVE_SINK_APPLE_AUDIO
    2020  uint_t samplerate = 0;
    2121  uint_t hop_size = 512;
     
    6060  del_fvec(vec);
    6161beach_fvec:
    62 #else
     62#else /* HAVE_SINK_APPLE_AUDIO */
    6363  err = 3;
    6464  PRINT_ERR("aubio was not compiled with aubio_source_apple_audio\n");
    65 #endif /* __APPLE__ */
     65#endif /* HAVE_SINK_APPLE_AUDIO */
    6666  return err;
    6767}
  • tests/src/io/test-source_apple_audio.c

    r9209c79 r4a17757  
    2424  }
    2525
    26 #if __APPLE__
     26#if HAVE_SOURCE_APPLE_AUDIO
    2727  uint_t samplerate = 0;
    2828  uint_t hop_size = 256;
     
    5353  del_aubio_source_apple_audio (s);
    5454beach:
    55 #else
     55#else /* HAVE_SOURCE_APPLE_AUDIO */
    5656  err = 3;
    5757  PRINT_ERR("aubio was not compiled with aubio_source_apple_audio\n");
    58 #endif /* __APPLE__ */
     58#endif /* HAVE_SOURCE_APPLE_AUDIO */
    5959  return err;
    6060}
Note: See TracChangeset for help on using the changeset viewer.