ref: fe0fa263c59104396893c36b65d7844ff20f502b
parent: 5864b43982c2a4020bdd7c077f8c552a01d114cb
author: Paul Brossier <piem@piem.org>
date: Mon Oct 3 12:50:36 EDT 2016
src/temporal/resampler.c: throw an error when using libsamplerate with doubles
--- a/src/temporal/resampler.c
+++ b/src/temporal/resampler.c
@@ -26,6 +26,10 @@
#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