mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-19 09:30:06 +02:00
Change wxMilliSleep from 10ms to 50ms
10ms is refreshing too often, and inconsistent with other places where it is 50ms.
This commit is contained in:
parent
7bc32734ae
commit
fb490c24b8
@ -1064,7 +1064,7 @@ ProgressResult TimerRecordDialog::WaitForStart()
|
||||
while (updateResult == ProgressResult::Success && !bIsRecording)
|
||||
{
|
||||
updateResult = progress.UpdateProgress();
|
||||
wxMilliSleep(10);
|
||||
wxMilliSleep(kTimerInterval);
|
||||
bIsRecording = (m_DateTime_Start <= wxDateTime::UNow());
|
||||
}
|
||||
return updateResult;
|
||||
@ -1111,7 +1111,7 @@ ProgressResult TimerRecordDialog::PreActionDelay(int iActionIndex, TimerRecordCo
|
||||
while (iUpdateResult == ProgressResult::Success && !bIsTime)
|
||||
{
|
||||
iUpdateResult = dlgAction.UpdateProgress();
|
||||
wxMilliSleep(10);
|
||||
wxMilliSleep(kTimerInterval);
|
||||
bIsTime = (dtActionTime <= wxDateTime::UNow());
|
||||
}
|
||||
return iUpdateResult;
|
||||
|
Loading…
x
Reference in New Issue
Block a user