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

Method SetCustomMappingEnabled

src/export/ExportFilePanel.cpp:303–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301}
302
303void ExportFilePanel::SetCustomMappingEnabled(bool enabled)
304{
305 if(mMonoStereoMode)
306 return;
307
308 if(!enabled && mCustomMapping->GetValue())
309 {
310 if(mStereo->IsEnabled())
311 mStereo->SetValue(true);
312 else
313 mMono->SetValue(true);
314 }
315 mCustomMapping->Enable(enabled);
316 mCustomizeChannels->Enable(enabled);
317}
318
319wxString ExportFilePanel::GetPath() const
320{

Callers 2

ExportAudioDialogMethod · 0.80
OnExportRangeChangeMethod · 0.80

Calls 4

GetValueMethod · 0.45
IsEnabledMethod · 0.45
SetValueMethod · 0.45
EnableMethod · 0.45

Tested by

no test coverage detected