summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-01-19 19:36:19 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-01-20 13:33:46 +0100
commit4ccd247a763ecdd4920a6fcb0af071fef9e49367 (patch)
treedf0d08e16e9298aa058d5ea055accfd7fd49c9e0
parentaf378d0298352b8d84dfe8529edcbf1358c1e1eb (diff)
Check full initial_samples_needed range.
-rw-r--r--test/audiocachetest.cc4
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);