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:
committed by
Paul Licameli
parent
b47bcb548e
commit
f82ff73578
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user