ref: 4722e6364b4e0b100427041fdc141434c7bf046d
parent: 301b8079d382777047f8219ed4c966c710872e2f
author: Paul Brossier <piem@piem.org>
date: Fri Jul 13 12:15:00 EDT 2012
tests/src/io/test-source_apple_audio_file.c: do nothing if not on apple platform
--- 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 = "/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 @@
}
del_aubio_source_apple_audio(s);
-
+#else
+ fprintf(stderr, "was not compiled with aubio_source_apple_audio");
+#endif /* __APPLE__ */
return 0;
}