From 5ee8dd36d8468fd7bb99c2df1b0f752c08f54292 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 3 Oct 2016 16:50:36 +0200 Subject: [PATCH] src/temporal/resampler.c: throw an error when using libsamplerate with doubles --- src/temporal/resampler.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/temporal/resampler.c b/src/temporal/resampler.c index 2c9d2fdf..cd128496 100644 --- 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 /* from libsamplerate */ struct _aubio_resampler_t -- 2.11.0