mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-07 04:01:54 +01:00
Remove NormalizeOnLoad
It's a mis-feature.
This commit is contained in:
@@ -1711,18 +1711,6 @@ bool ProjectFileManager::Import(
|
||||
}
|
||||
}
|
||||
|
||||
int mode = gPrefs->Read(wxT("/AudioFiles/NormalizeOnLoad"), 0L);
|
||||
if (mode == 1) {
|
||||
//TODO: All we want is a SelectAll()
|
||||
SelectUtilities::SelectNone( project );
|
||||
SelectUtilities::SelectAllIfNone( project );
|
||||
const CommandContext context( project );
|
||||
EffectManager::DoEffect(
|
||||
EffectManager::Get().GetEffectByIdentifier(wxT("Normalize")),
|
||||
context,
|
||||
EffectManager::kConfigured);
|
||||
}
|
||||
|
||||
// This is a no-fail:
|
||||
dirManager.FillBlockfilesCache();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user