Hey Paul,
> indexT0 = std::max(0, static_cast<TqInt>(lfloor((time0 - opentime) * timePerSample)));
how about the following, which is a bit easier on the eyes:
max<TqInt>(0, lfloor((time0 - opentime) * timePerSample))
(btw, this uses Aqsis::max from aqsis/math/math.h)
~Chris.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
Aqsis-development mailing list
Aqsis-development@...
https://lists.sourceforge.net/lists/listinfo/aqsis-development