From 4722e6364b4e0b100427041fdc141434c7bf046d Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 13 Jul 2012 16:15:00 -0600 Subject: [PATCH] tests/src/io/test-source_apple_audio_file.c: do nothing if not on apple platform --- tests/src/io/test-source_apple_audio_file.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- 2.26.2