1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-06 03:32:09 +01:00

Sweep unnecessary wxString copies: export

This commit is contained in:
Paul Licameli
2016-02-22 21:17:04 -05:00
parent d21c0aa478
commit 83e8a80f61
11 changed files with 31 additions and 69 deletions

View File

@@ -315,13 +315,13 @@ public:
wxWindow *OptionsCreate(wxWindow *parent, int format);
int Export(AudacityProject *project,
int channels,
wxString fName,
const wxString &fName,
bool selectedOnly,
double t0,
double t1,
MixerSpec *mixerSpec = NULL,
Tags *metadata = NULL,
int subformat = 0);
int subformat = 0) override;
// optional
wxString GetExtension(int index);
virtual bool CheckFileName(wxFileName &filename, int format);
@@ -390,7 +390,7 @@ void ExportPCM::Destroy()
*/
int ExportPCM::Export(AudacityProject *project,
int numChannels,
wxString fName,
const wxString &fName,
bool selectionOnly,
double t0,
double t1,