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

Modified Files:
        Sequence.cpp 
Log Message:
Fixed crash when resampling audio

Index: Sequence.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Sequence.cpp,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- Sequence.cpp        6 Nov 2006 10:20:50 -0000       1.39
+++ Sequence.cpp        17 Nov 2006 11:37:23 -0000      1.40
@@ -1128,7 +1128,7 @@
 
       CopySamples(buffer,
                   format,
-                  buffer2 + lastBlock->f->GetLength() * SAMPLE_SIZE(format),
+                  buffer2 + lastBlock->f->GetLength() * 
SAMPLE_SIZE(mSampleFormat),
                   mSampleFormat,
                   addLen);
 


-------------------------------------------------------------------------
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

Reply via email to