ref: f3bb92cb4945c516e924148fe8a21031fa49e54d
parent: 14ac1db982c8111ab2e74041c26d505f711fe536
author: Paul Brossier <piem@piem.org>
date: Sun Feb 23 08:05:25 EST 2014
tests/src/io/test-sink_sndfile-multi.c: fix flags
--- a/tests/src/io/test-sink_sndfile-multi.c
+++ b/tests/src/io/test-sink_sndfile-multi.c
@@ -1,5 +1,6 @@
#define AUBIO_UNSTABLE 1
#include <aubio.h>
+#include "config.h"
#include "utils_tests.h"
// this file uses the unstable aubio api, please use aubio_sink instead
@@ -16,7 +17,7 @@
return err;
}
-#ifdef __APPLE__
+#ifdef HAVE_SNDFILE
uint_t samplerate = 0;
uint_t channels = 0;
uint_t hop_size = 512;
@@ -73,6 +74,6 @@
#else
err = 3;
PRINT_ERR("aubio was not compiled with aubio_sink_sndfile\n");
-#endif /* __APPLE__ */
+#endif /* HAVE_SNDFILE */
return err;
}