projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5864b43
)
src/temporal/resampler.c: throw an error when using libsamplerate with doubles
author
Paul Brossier
<piem@piem.org>
Mon, 3 Oct 2016 14:50:36 +0000
(16:50 +0200)
committer
Paul Brossier
<piem@piem.org>
Mon, 3 Oct 2016 14:50:36 +0000
(16:50 +0200)
src/temporal/resampler.c
patch
|
blob
|
history
diff --git
a/src/temporal/resampler.c
b/src/temporal/resampler.c
index
2c9d2fd
..
cd12849
100644
(file)
--- a/
src/temporal/resampler.c
+++ b/
src/temporal/resampler.c
@@
-26,6
+26,10
@@
#ifdef HAVE_SAMPLERATE
+#if HAVE_AUBIO_DOUBLE
+#error "Should not use libsamplerate with aubio in double precision"
+#endif
+
#include <samplerate.h> /* from libsamplerate */
struct _aubio_resampler_t