diff --git a/start_oss.c b/start_oss.c index 67829c0e2..92fa25b29 100644 --- a/start_oss.c +++ b/start_oss.c @@ -229,6 +229,7 @@ oss_loop(int *iarg) ia=*(data.iwrite); ib=*(data.ibuf); data.tbuf[ib-1] = stime; /* convert to c index to store */ + ib++ if(ib>FRAMESPERBUFFER) ib=1; *(data.ibuf) = ib;