summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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);