MCPcopy Create free account
hub / github.com/audacity/audacity / wxDateTime_to_AudacityTime

Function wxDateTime_to_AudacityTime

src/TimerRecordDialog.cpp:100–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98constexpr auto kTimerInterval = std::chrono::milliseconds{50};
99
100static double wxDateTime_to_AudacityTime(wxDateTime& dateTime)
101{
102 return (dateTime.GetHour() * 3600.0) + (dateTime.GetMinute() * 60.0) + dateTime.GetSecond();
103};
104
105namespace {
106 StringSetting DefaultExportAudioFormat{ L"/TimerRecordDialog/ExportFormat", L"WAV" };

Callers 4

UpdateStartMethod · 0.85
OnDatePicker_EndMethod · 0.85
PopulateOrExchangeMethod · 0.85
UpdateEndMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected