projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
301b807
)
tests/src/io/test-source_apple_audio_file.c: do nothing if not on apple platform
author
Paul Brossier
<piem@piem.org>
Fri, 13 Jul 2012 22:15:00 +0000
(16:15 -0600)
committer
Paul Brossier
<piem@piem.org>
Fri, 13 Jul 2012 22:15:00 +0000
(16:15 -0600)
tests/src/io/test-source_apple_audio_file.c
patch
|
blob
|
history
diff --git
a/tests/src/io/test-source_apple_audio_file.c
b/tests/src/io/test-source_apple_audio_file.c
index
86b267a
..
a449010
100644
(file)
--- 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;
}