#define __STDC_LIMIT_MACROS 1
#include <iostream>
+#include <cmath>
#include <algorithm>
#include <stdexcept>
#include <stdint.h>
//cerr << "Using cached iterator at " << _next_read << endl;
}
- _next_read = start + nframes;
+ _next_read = (nframes_t) floor (start + nframes);
while (_read_iter != end() && _read_iter->time() < start + nframes) {
assert(_read_iter->size() > 0);