projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06d30f9
)
src/types.h: use wscript switch
author
Paul Brossier
<piem@piem.org>
Fri, 25 Sep 2009 02:20:07 +0000
(
04:20
+0200)
committer
Paul Brossier
<piem@piem.org>
Fri, 25 Sep 2009 02:20:07 +0000
(
04:20
+0200)
src/types.h
patch
|
blob
|
history
diff --git
a/src/types.h
b/src/types.h
index 4a446df74f91756bb21dbdd84cb2c7707ced27f3..9a3876176c4e2ecfa7ce6b32ab46a9d36a3e566d 100644
(file)
--- 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