ref: e4284c9f8e5b96ddb7a13477d8156cb928a9ad69
parent: 06d30f9c3cbd7eed26f63b128082ca9a4e288b29
author: Paul Brossier <piem@piem.org>
date: Fri Sep 25 00:20:07 EDT 2009
src/types.h: use wscript switch
--- a/src/types.h
+++ b/src/types.h
@@ -30,7 +30,17 @@
extern "C" {
#endif
+#include "config.h"
+
+#ifndef HAVE_AUBIO_DOUBLE
+#define HAVE_AUBIO_DOUBLE 0
+#endif
+
+#if HAVE_AUBIO_DOUBLE
+#define AUBIO_SINGLE_PRECISION 0
+#else
#define AUBIO_SINGLE_PRECISION 1
+#endif
/** short sample format (32 or 64 bits) */
#if AUBIO_SINGLE_PRECISION