[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Wed Sep 22 00:03:55 CEST 2004


On Tuesday 21 September 2004 17:13, Barth Netterfield wrote:
> On September 21, 2004 04:46 pm, George Staikos wrote:
> > - Play should do "read to end" not "count from end"
>
> Ummm.... No!  Play should do 'count from end'.
>
> Usage Case: looking at live data.
> 	Common Setting is 10000 frames, count from end
> 	Something interesting happens.  Pause to look at it.
> 		Hit 'back 1 screen' to see what happened before.
> 	When finished, hit play to continue...

   This was the bug reported by Marc-Antoine.  What do we do then?  "Play" 
does fromEnd(), which does doc->samplesEnd(), which does:

  KstRVectorList rvl = 
kstObjectSubList<KstVector,KstRVector>(KST::vectorList);
  for (int i = 0; i < (int)rvl.count(); i++) {
    V = rvl[i];
    f0 = V->reqStartFrame();
    n = -1;
    skip = V->skip();
    doSkip = V->doSkip();
    doAve =  V->doAve();
    fileN = V->fileLength();

    V->changeFrames(f0, n, skip, doSkip, doAve);
  }

  Before it did f0 = -1, which is what he did not want to happen, and n = 
V->numFrames(), which I believe he also did not want.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/



More information about the Kst mailing list