Update of /cvsroot/audacity/audacity-src/src
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv2499

Modified Files:
        Mix.cpp 
Log Message:
Limit mixing to selected end time

Index: Mix.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Mix.cpp,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- Mix.cpp     23 May 2007 06:29:08 -0000      1.62
+++ Mix.cpp     27 May 2007 01:14:15 -0000      1.63
@@ -337,6 +337,10 @@
       it = it->GetNext();
    }
 
+   if (last > lrint(trackRate * mT1)) {
+      last = lrint(trackRate * mT1);
+   }
+
    while(out < mMaxOut) {
       if (*queueLen < mProcessLen) {
          memmove(queue, &queue[*queueStart], (*queueLen)*sampleSize);


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to