ref: 18a96aa0f1cfadd9256ffc8e2fd664f4e2bcfbcd
parent: 7cc80b6c6f2ef7ef13e1c618e7b8bec09316b74e
author: Paul Brossier <piem@piem.org>
date: Wed Nov 30 11:43:14 EST 2016
src/io/source_sndfile.c
--- a/src/io/source_sndfile.c
+++ b/src/io/source_sndfile.c
@@ -32,9 +32,8 @@
#include "temporal/resampler.h"
-#define MAX_CHANNELS 6
#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