Update of /cvsroot/audacity/audacity-src/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv2905

Modified Files:
        TimerRecordDialog.cpp 
Log Message:
Decrease timer interval so timed recording stops closer to the specified time. 

Index: TimerRecordDialog.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/TimerRecordDialog.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- TimerRecordDialog.cpp       8 Jun 2009 08:01:25 -0000       1.15
+++ TimerRecordDialog.cpp       17 Oct 2009 22:49:17 -0000      1.16
@@ -44,7 +44,7 @@
    ID_TIMETEXT_DURATION
 };
 
-const int kTimerInterval = 500; // every 500 ms => 2 updates per second   
+const int kTimerInterval = 50; // ms
 
 static double wxDateTime_to_AudacityTime(wxDateTime& dateTime)
 {
@@ -243,7 +243,7 @@
       this->OnTimer(dummyTimerEvent);
 
       // Loop for progress display during recording.
-      while (bIsRecording && updateResult == eProgressSuccess) 
+      while (bIsRecording && (updateResult == eProgressSuccess)) 
       {
          wxMilliSleep(kTimerInterval);
          updateResult = progress.Update();


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to