1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-05 16:43:52 +01:00

Remove some naked new amd delete in: import and export

This commit is contained in:
Paul Licameli
2016-04-09 16:09:19 -04:00
committed by Paul Licameli
parent b47bcb548e
commit f82ff73578
11 changed files with 68 additions and 127 deletions

View File

@@ -262,9 +262,9 @@ private:
int mBitRateFromChoice;
int mSampleRateFromChoice;
FFmpegPresets *mPresets;
std::unique_ptr<FFmpegPresets> mPresets;
wxArrayString *mPresetNames;
wxArrayString mPresetNames;
/// Finds the format currently selected and returns it's name and description
void FindSelectedFormat(wxString **name, wxString **longname);
@@ -324,7 +324,7 @@ public:
FFmpegPresets();
~FFmpegPresets();
wxArrayString *GetPresetList();
void GetPresetList(wxArrayString &list);
void LoadPreset(ExportFFmpegOptions *parent, wxString &name);
void SavePreset(ExportFFmpegOptions *parent, wxString &name);
void DeletePreset(wxString &name);