From: Paul Brossier Date: Mon, 3 Oct 2016 14:50:36 +0000 (+0200) Subject: src/temporal/resampler.c: throw an error when using libsamplerate with doubles X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=5ee8dd36d8468fd7bb99c2df1b0f752c08f54292;p=aubio.git src/temporal/resampler.c: throw an error when using libsamplerate with doubles --- 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