Update of /cvsroot/audacity/audacity-src/src
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv10626
Modified Files:
Tag: Audacity_UmixIt
Sequence.cpp
Log Message:
fix for NGS report item 2, per their further testing.
Index: Sequence.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Sequence.cpp,v
retrieving revision 1.21.4.5.2.7
retrieving revision 1.21.4.5.2.8
diff -u -d -r1.21.4.5.2.7 -r1.21.4.5.2.8
--- Sequence.cpp 2 Jan 2007 02:24:56 -0000 1.21.4.5.2.7
+++ Sequence.cpp 9 Jan 2007 00:07:49 -0000 1.21.4.5.2.8
@@ -709,6 +709,8 @@
else
len = mNumSamples - mBlock->Item(b)->start;
+ if (len > mMaxSamples) // This could be why the blockfile failed.
+ len = mMaxSamples;
mBlock->Item(b)->f = new SilentBlockFile(len);
mErrorOpening = true;
}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs