1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-16 15:41:11 +02:00

More use of wxFileNameWrapper in export

This commit is contained in:
Paul Licameli
2019-12-13 13:18:18 -05:00
parent 626539d7a6
commit f137bc197a
11 changed files with 71 additions and 49 deletions

View File

@@ -209,7 +209,7 @@ public:
ProgressResult Export(AudacityProject *project,
std::unique_ptr<ProgressDialog> &pDialog,
unsigned channels,
const wxString &fName,
const wxFileNameWrapper &fName,
bool selectedOnly,
double t0,
double t1,
@@ -241,7 +241,7 @@ ExportMP2::ExportMP2()
ProgressResult ExportMP2::Export(AudacityProject *project,
std::unique_ptr<ProgressDialog> &pDialog,
unsigned channels, const wxString &fName,
unsigned channels, const wxFileNameWrapper &fName,
bool selectionOnly, double t0, double t1, MixerSpec *mixerSpec, const Tags *metadata,
int WXUNUSED(subformat))
{
@@ -307,7 +307,7 @@ ProgressResult ExportMP2::Export(AudacityProject *project,
stereo ? 2 : 1, pcmBufferSize, true,
rate, int16Sample, true, mixerSpec);
InitProgress( pDialog, wxFileName(fName).GetName(),
InitProgress( pDialog, fName,
selectionOnly
? wxString::Format(_("Exporting selected audio at %ld kbps"),
bitrate)