diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-28 12:02:07 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-28 12:02:07 +0100 |
commit | e833fb72d3838b22c73d663eb45ba96122a080bc (patch) | |
tree | b296352aaafb9b886ddf5801242eff08bcdcde30 /src | |
parent | b8776f6b14919e9a8d7adeb28035e685946e3b1c (diff) |
Make buffer-size 'infinite'.
Diffstat (limited to 'src')
-rw-r--r-- | src/audiocache.h | 3 |
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: |