shithub: aubio

Download patch

ref: 67d0a8b307fe41cb426584a57a6bb0804dd1373c
parent: 0d434df5868fcf0f3cacfc22b6ddfc8355a18cd6
author: Paul Brossier <piem@piem.org>
date: Fri Oct 16 17:51:31 EDT 2009

src/temporal/resampler.h: only defined if HAVE_SAMPLERATE

--- a/src/temporal/resampler.h
+++ b/src/temporal/resampler.h
@@ -29,6 +29,8 @@
  
 */
 
+#if HAVE_SAMPLERATE
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -59,5 +61,7 @@
 #ifdef __cplusplus
 }
 #endif
+
+#endif /* HAVE_SAMPLERATE */
 
 #endif /* _RESAMPLE_H */