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

Method OnFormatChange

src/export/ExportAudioDialog.cpp:647–657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

645}
646
647void ExportAudioDialog::OnFormatChange(wxCommandEvent& event)
648{
649 Layout();
650 Fit();
651
652 auto enableMeta = false;
653 if(auto plugin = mExportOptionsPanel->GetPlugin())
654 enableMeta = plugin->GetFormatInfo(mExportOptionsPanel->GetFormat()).canMetaData;
655 mEditMetadata->Enable(enableMeta);
656 mExportSettingsDirty = true;
657}
658
659void ExportAudioDialog::UpdateExportSettings()
660{

Callers

nothing calls this directly

Calls 4

GetPluginMethod · 0.45
GetFormatInfoMethod · 0.45
GetFormatMethod · 0.45
EnableMethod · 0.45

Tested by

no test coverage detected