projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7cc80b6
)
src/io/source_sndfile.c
author
Paul Brossier
<piem@piem.org>
Wed, 30 Nov 2016 15:43:14 +0000
(16:43 +0100)
committer
Paul Brossier
<piem@piem.org>
Wed, 30 Nov 2016 15:43:14 +0000
(16:43 +0100)
src/io/source_sndfile.c
patch
|
blob
|
history
diff --git
a/src/io/source_sndfile.c
b/src/io/source_sndfile.c
index
5f3817d
..
20cdb8b
100644
(file)
--- a/
src/io/source_sndfile.c
+++ b/
src/io/source_sndfile.c
@@
-32,9
+32,8
@@
#include "temporal/resampler.h"
#include "temporal/resampler.h"
-#define MAX_CHANNELS 6
#define MAX_SIZE 4096
#define MAX_SIZE 4096
-#define MAX_SAMPLES MAX_CHANNELS * MAX_SIZE
+#define MAX_SAMPLES
AUBIO_
MAX_CHANNELS * MAX_SIZE
#if !HAVE_AUBIO_DOUBLE
#define aubio_sf_read_smpl sf_read_float
#if !HAVE_AUBIO_DOUBLE
#define aubio_sf_read_smpl sf_read_float