Update of /cvsroot/audacity/audacity-src/src/blockfile In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv9839/src/blockfile
Modified Files: ODPCMAliasBlockFile.h Log Message: Added an event that is posted after the ondemand task is complete - before the last bit of OnDemand diagonal lines wern't refreshing. Changed the wavecache to take 'dirty' or invalid regions so we don't fetch each blockfile's summary data each time we force a redraw due to the blockfile being partially computed. Fixed a bug that caussed the OD to stop loading when an effect was applied to the waveform. Index: ODPCMAliasBlockFile.h =================================================================== RCS file: /cvsroot/audacity/audacity-src/src/blockfile/ODPCMAliasBlockFile.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- ODPCMAliasBlockFile.h 13 Jun 2008 19:33:44 -0000 1.3 +++ ODPCMAliasBlockFile.h 22 Jun 2008 19:25:29 -0000 1.4 @@ -90,6 +90,12 @@ ///A public interface to WriteSummary void DoWriteSummary(){WriteSummary();} + + ///Sets the value that indicates where the first sample in this block corresponds to the global sequence/clip. Only for display use. + void SetStart(sampleCount startSample){mStart = startSample;} + + ///Gets the value that indicates where the first sample in this block corresponds to the global sequence/clip. Only for display use. + sampleCount GetStart(){return mStart;} protected: virtual void WriteSummary(); @@ -99,6 +105,9 @@ ODLock mSummaryAvailableMutex; bool mSummaryAvailable; bool mSummaryBeingComputed; + + //for reporting after task is complete. Only for display use. + sampleCount mStart; }; ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Audacity-cvs mailing list Audacity-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/audacity-cvs