summaryrefslogtreecommitdiffstats
path: root/ext/mplex/vector.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mplex/vector.cc')
-rw-r--r--ext/mplex/vector.cc23
1 files changed, 0 insertions, 23 deletions
diff --git a/ext/mplex/vector.cc b/ext/mplex/vector.cc
deleted file mode 100644
index 343b6284..00000000
--- a/ext/mplex/vector.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-#include <config.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include "mjpeg_types.h"
-#include "vector.hh"
-
-
-AUStream::AUStream ():
-cur_rd (0), cur_wr (0), totalctr (0), size (0), buf (0)
-{
- buf = new (Aunit *)[AUStream::BUF_SIZE];
-}
-
-
-void
-AUStream::init (Aunit * rec)
-{
- buf[cur_wr] = rec;
- ++cur_wr;
- cur_wr = cur_wr >= AUStream::BUF_SIZE ? 0 : cur_wr;
- cur_rd = cur_wr;
-}