On Fri, 19 Apr 2013, Holger Marzen wrote: > > > So loops > > > don't start with a zero offset. Bug 1358 is an off-by-one bug, so I > > > tried > > > > > > pluginLatency += > > > m_instrumentMixer->getPluginLatency((unsigned int) * > > > connections.begin() - 1); > > > > > > and it looks like the bug has been gone.
I added a printf to display (unsigned int) * connections.begin() and it showed always 1 more than the subgroup number, e.g. 2 for subgroup 1, 3 for subgroup 2 and so on. So I'd say that getPluginLatency() and the data structures are ok, but we have an error in connections.begin(). Of course it should be fixed there instead subtracting 1 after its invocation. Unfortunately due to my lack of C++ know how I can't find the place where it's defined. ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
