summaryrefslogtreecommitdiff
path: root/src/audiocache.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-01-28 12:02:07 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-01-28 12:02:07 +0100
commite833fb72d3838b22c73d663eb45ba96122a080bc (patch)
treeb296352aaafb9b886ddf5801242eff08bcdcde30 /src/audiocache.h
parentb8776f6b14919e9a8d7adeb28035e685946e3b1c (diff)
Make buffer-size 'infinite'.
Diffstat (limited to 'src/audiocache.h')
-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: