summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/audiocache.h3
1 files changed, 2 insertions, 1 deletions
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: