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
4a446df
..
9a38761
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