From 18a96aa0f1cfadd9256ffc8e2fd664f4e2bcfbcd Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Wed, 30 Nov 2016 16:43:14 +0100 Subject: [PATCH] src/io/source_sndfile.c --- src/io/source_sndfile.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/io/source_sndfile.c b/src/io/source_sndfile.c index 5f3817d3..20cdb8b4 100644 --- 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 -- 2.11.0