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

Method OnOK

src/TimerRecordExportDialog.cpp:64–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void TimerRecordExportDialog::OnOK(wxCommandEvent& event)
65{
66 if(const auto parameters = mExportFilePanel->GetParameters())
67 *mParameters = std::move(*parameters);
68 else
69 return;
70
71 *mFileName = wxFileName(mExportFilePanel->GetPath(), mExportFilePanel->GetFullName());
72 *mFormat = mExportFilePanel->GetPlugin()->GetFormatInfo(mExportFilePanel->GetFormat()).format;
73 *mSampleRate = mExportFilePanel->GetSampleRate();
74 *mChannels = mExportFilePanel->GetChannels();
75
76 event.Skip();
77}
78
79void TimerRecordExportDialog::OnEditMetadata(wxCommandEvent&)
80{

Callers

nothing calls this directly

Calls 11

moveFunction · 0.85
GetFullNameMethod · 0.80
GetChannelsMethod · 0.80
SkipMethod · 0.80
wxFileNameClass · 0.70
GetParametersMethod · 0.45
GetPathMethod · 0.45
GetFormatInfoMethod · 0.45
GetPluginMethod · 0.45
GetFormatMethod · 0.45
GetSampleRateMethod · 0.45

Tested by

no test coverage detected