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

Modified Files:
        AudioIO.cpp 
Log Message:
I never said it was right-first-time!

Index: AudioIO.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/AudioIO.cpp,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -d -r1.166 -r1.167
--- AudioIO.cpp 26 Sep 2007 22:57:38 -0000      1.166
+++ AudioIO.cpp 26 Sep 2007 23:09:04 -0000      1.167
@@ -1217,7 +1217,7 @@
                
                if (mPlaybackTracks.GetCount() > 0)
                {
-                  track->SetOffset(recordingOffset);
+                  track->SetOffset(track->GetStartTime() + recordingOffset);
                   if(track->GetEndTime() < 0.)
                   {
                      wxMessageDialog m(NULL, _("Latency setting has caused the 
recorded audio to be hidden before zero.\nI have brought it back to start at 
zero.\nYou may have to use the Time Shift Tool (<---> or F5) to drag the track 
to the right place."), _("Latency problem"), wxOK);


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to