src/temporal/resampler.c: throw an error when using libsamplerate with doubles
authorPaul Brossier <piem@piem.org>
Mon, 3 Oct 2016 14:50:36 +0000 (16:50 +0200)
committerPaul Brossier <piem@piem.org>
Mon, 3 Oct 2016 14:50:36 +0000 (16:50 +0200)
src/temporal/resampler.c

index 2c9d2fd..cd12849 100644 (file)
 
 #ifdef HAVE_SAMPLERATE
 
+#if HAVE_AUBIO_DOUBLE
+#error "Should not use libsamplerate with aubio in double precision"
+#endif
+
 #include <samplerate.h>         /* from libsamplerate */
 
 struct _aubio_resampler_t