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-19 19:36:19 +0100
commit291ce1b62f25a048a3f7480caf18f48e824ce37f (patch)
treeae5ec8e597b40eba954f4c5e2fc41159191f46ce
parent88260c1ae4c513dc21f3be3f7f0a805665d4e643 (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);