mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-15 09:01:12 +01:00
Bug 1856 - Applying Macros to Files is no longer a batch process
This restores the 2.2.2 behaviour, with a subdirectory called 'cleaned'. The problem was that 2.2.2 used special cases for MP3 Ogg and WAV exports, which were stripped out in favour of using the built-in Export command. However, the differences in behaviour (prompting) between batch and non batch mode were not taken into account.
This commit is contained in:
@@ -60,7 +60,8 @@ class MacroCommands final {
|
||||
const wxString & command, const wxString & params,
|
||||
CommandContext const * pContext=NULL );
|
||||
bool ApplyCommandInBatchMode( const wxString &friendlyCommand,
|
||||
const wxString & command, const wxString ¶ms);
|
||||
const wxString & command, const wxString ¶ms,
|
||||
CommandContext const * pContext = NULL);
|
||||
bool ApplySpecialCommand(
|
||||
int iCommand, const wxString &friendlyCommand,
|
||||
const wxString & command, const wxString & params);
|
||||
@@ -72,10 +73,10 @@ class MacroCommands final {
|
||||
void AbortBatch();
|
||||
|
||||
// Utility functions for the special commands.
|
||||
wxString BuildCleanFileName(const wxString &fileName, const wxString &extension);
|
||||
static wxString BuildCleanFileName(const wxString &fileName, const wxString &extension);
|
||||
bool WriteMp3File( const wxString & Name, int bitrate );
|
||||
double GetEndTime();
|
||||
bool IsMono();
|
||||
static bool IsMono();
|
||||
|
||||
// These commands do not depend on the command list.
|
||||
static void MigrateLegacyChains();
|
||||
|
||||
Reference in New Issue
Block a user