From: Paul Brossier Date: Fri, 13 Jul 2012 22:15:00 +0000 (-0600) Subject: tests/src/io/test-source_apple_audio_file.c: do nothing if not on apple platform X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4722e6364b4e0b100427041fdc141434c7bf046d;p=aubio.git tests/src/io/test-source_apple_audio_file.c: do nothing if not on apple platform --- diff --git a/tests/src/io/test-source_apple_audio_file.c b/tests/src/io/test-source_apple_audio_file.c index 86b267a3..a449010f 100644 --- a/tests/src/io/test-source_apple_audio_file.c +++ b/tests/src/io/test-source_apple_audio_file.c @@ -5,6 +5,7 @@ char_t *path = "/Users/piem/archives/sounds/loops/drum_Chocolate_Milk_-_Ation_Sp //char_t *path = "/Volumes/moving/moving/photos/gopro2/100GOPRO/GOPR4515.MP4"; int main(){ +#ifdef __APPLE__ uint_t samplerate = 32000; uint_t hop_size = 1024; uint_t read = hop_size; @@ -19,7 +20,9 @@ int main(){ } del_aubio_source_apple_audio(s); - +#else + fprintf(stderr, "was not compiled with aubio_source_apple_audio"); +#endif /* __APPLE__ */ return 0; }