diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-19 19:36:19 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-20 13:33:46 +0100 |
commit | 4ccd247a763ecdd4920a6fcb0af071fef9e49367 (patch) | |
tree | df0d08e16e9298aa058d5ea055accfd7fd49c9e0 /test/audiocachetest.cc | |
parent | af378d0298352b8d84dfe8529edcbf1358c1e1eb (diff) |
Check full initial_samples_needed range.
Diffstat (limited to 'test/audiocachetest.cc')
-rw-r--r-- | test/audiocachetest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/audiocachetest.cc b/test/audiocachetest.cc index 0296490..7e8b084 100644 --- a/test/audiocachetest.cc +++ b/test/audiocachetest.cc @@ -30,7 +30,7 @@ #include <audiocache.h> #include <unistd.h> -#define FRAMESIZE 64//1024 +#define FRAMESIZE 64 class AudioCacheTest : public CppUnit::TestFixture { @@ -74,7 +74,7 @@ public: cacheid_t id; for(size_t initial_samples_needed = 0; - initial_samples_needed < (framesize - 1); ++initial_samples_needed) + initial_samples_needed < (framesize + 1); ++initial_samples_needed) { printf("open: initial_samples_needed: %d\n", initial_samples_needed); |