From 67d0a8b307fe41cb426584a57a6bb0804dd1373c Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 16 Oct 2009 21:51:31 +0200 Subject: [PATCH] src/temporal/resampler.h: only defined if HAVE_SAMPLERATE --- src/temporal/resampler.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/temporal/resampler.h b/src/temporal/resampler.h index 95f121e7..ecbe1698 100644 --- a/src/temporal/resampler.h +++ b/src/temporal/resampler.h @@ -29,6 +29,8 @@ */ +#if HAVE_SAMPLERATE + #ifdef __cplusplus extern "C" { #endif @@ -60,4 +62,6 @@ void aubio_resampler_do (aubio_resampler_t *s, fvec_t * input, fvec_t * output) } #endif +#endif /* HAVE_SAMPLERATE */ + #endif /* _RESAMPLE_H */ -- 2.26.2