1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-27 07:43:50 +01:00

Warn user about dangers of aliased files and ask which type of import to proceed with.

Also adds a preference in the warnings that defaults to true.
This commit is contained in:
mchinen
2011-04-01 21:39:29 +00:00
parent 549ce5920a
commit 0c0a853a1b
3 changed files with 82 additions and 9 deletions

View File

@@ -52,7 +52,7 @@ void ImportExportPrefs::PopulateOrExchange(ShuttleGui & S)
S.StartStatic(_("When importing audio files"));
{
S.StartRadioButtonGroup(wxT("/FileFormats/CopyOrEditUncompressedData"), wxT("edit"));
S.StartRadioButtonGroup(wxT("/FileFormats/CopyOrEditUncompressedData"), wxT("copy"));
{
S.TieRadioButton(_("&Make a copy of uncompressed audio files before editing (safer)"),
wxT("copy"));

View File

@@ -69,6 +69,9 @@ void WarningsPrefs::PopulateOrExchange(ShuttleGui & S)
S.TieCheckBox(_("Mixing down to &mono during export"),
wxT("/Warnings/MixMono"),
true);
S.TieCheckBox(_("Warn when &importing uncompressed files"),
wxT("/Warnings/CopyOrEditUncompressedDataAsk"),
true);
}
S.EndStatic();
}