src/temporal/resample.c: add flags
authorPaul Brossier <piem@piem.org>
Sat, 26 Sep 2009 04:50:24 +0000 (06:50 +0200)
committerPaul Brossier <piem@piem.org>
Sat, 26 Sep 2009 04:50:24 +0000 (06:50 +0200)
src/temporal/resample.c

index 093beff5b20ad670b0f3e5e89399f5c038050a14..47d129ce93ca25829870b5e1dee4056c2239c6f4 100644 (file)
@@ -17,6 +17,7 @@
         
 */
 
+#if HAVE_SAMPLERATE
 
 #include <samplerate.h> /* from libsamplerate */
 
@@ -63,3 +64,5 @@ uint_t aubio_resampler_process(aubio_resampler_t *s,
        }
        return AUBIO_OK;
 }      
+
+#endif /* HAVE_SAMPLERATE */