Update of /cvsroot/audacity/audacity-src/src
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv27004
Modified Files:
SmartRecordDialog.cpp
Log Message:
Make OnTimer call UpdateEnd only when Start changes.
Reduce sleep time in WaitForStart to 10ms, so it never starts more than 10ms
late.
Index: SmartRecordDialog.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/SmartRecordDialog.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- SmartRecordDialog.cpp 30 May 2007 00:22:37 -0000 1.10
+++ SmartRecordDialog.cpp 30 May 2007 22:45:22 -0000 1.11
@@ -102,9 +102,8 @@
m_DateTime_Start = dateTime_UNow;
m_pDatePickerCtrl_Start->SetValue(m_DateTime_Start);
m_pTimeTextCtrl_Start->SetTimeValue(wxDateTime_to_AudacityTime(m_DateTime_Start));
+ this->UpdateEnd(); // Keep Duration constant and update End for changed
Start.
}
-
- this->UpdateEnd(); // Keep Duration constant and update End for changed
Start.
}
void SmartRecordDialog::OnDatePicker_Start(wxDateEvent& event)
@@ -384,7 +383,7 @@
wxLongLong llProgValue;
int nProgValue = 0;
while (!bDidCancel && !bIsRecording) {
- wxMilliSleep(kTimerInterval);
+ wxMilliSleep(10);
done_TimeSpan = wxDateTime::UNow() - startWait_DateTime;
llProgValue =
-------------------------------------------------------------------------
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