From e833fb72d3838b22c73d663eb45ba96122a080bc Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 28 Jan 2016 12:02:07 +0100 Subject: Make buffer-size 'infinite'. --- src/audiocache.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/audiocache.h b/src/audiocache.h index 06493e6..9d70ea8 100644 --- a/src/audiocache.h +++ b/src/audiocache.h @@ -37,7 +37,8 @@ #include "audiocacheidmanager.h" #include "audiocacheeventhandler.h" -#define CHUNK_MULTIPLIER 16 +// 20 seconds * 96kHz * sizeof(float) * 16 channels / 16 samples buffer size +#define CHUNK_MULTIPLIER (20 * 96000 * 4 * 16 / 16) //16 //TODO: -- cgit v1.2.3