mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 16:49:41 +02:00
Remove AudacityProject::ExportFromTimerRecording
This commit is contained in:
parent
9c75ebe7f7
commit
b3257c56da
@ -5337,14 +5337,6 @@ void AudacityProject::SetSyncLock(bool flag)
|
||||
}
|
||||
}
|
||||
|
||||
bool AudacityProject::ExportFromTimerRecording(wxFileName fnFile, int iFormat, int iSubFormat, int iFilterIndex)
|
||||
{
|
||||
Exporter e;
|
||||
|
||||
MissingAliasFilesDialog::SetShouldShow(true);
|
||||
return e.ProcessFromTimerRecording(this, false, 0.0, mTracks->GetEndTime(), fnFile, iFormat, iSubFormat, iFilterIndex);
|
||||
}
|
||||
|
||||
int AudacityProject::GetOpenProjectCount() {
|
||||
return gAudacityProjects.size();
|
||||
}
|
||||
|
@ -347,7 +347,6 @@ public:
|
||||
|
||||
// Timer Record Auto Save/Export Routines
|
||||
bool SaveFromTimerRecording(wxFileName fnFile);
|
||||
bool ExportFromTimerRecording(wxFileName fnFile, int iFormat, int iSubFormat, int iFilterIndex);
|
||||
static int GetOpenProjectCount();
|
||||
bool IsProjectSaved();
|
||||
void ResetProjectToEmpty();
|
||||
|
@ -45,6 +45,7 @@
|
||||
#include "DirManager.h"
|
||||
#include "ShuttleGui.h"
|
||||
#include "Menus.h"
|
||||
#include "MissingAliasFileDialog.h"
|
||||
#include "Project.h"
|
||||
#include "Prefs.h"
|
||||
#include "widgets/NumericTextCtrl.h"
|
||||
@ -627,8 +628,12 @@ int TimerRecordDialog::ExecutePostRecordActions(bool bWasStopped) {
|
||||
|
||||
// Do Automatic Export?
|
||||
if (m_bAutoExportEnabled) {
|
||||
bExportOK = pProject->ExportFromTimerRecording(m_fnAutoExportFile, m_iAutoExportFormat,
|
||||
m_iAutoExportSubFormat, m_iAutoExportFilterIndex);
|
||||
Exporter e;
|
||||
MissingAliasFilesDialog::SetShouldShow(true);
|
||||
bExportOK = e.ProcessFromTimerRecording(
|
||||
pProject, false, 0.0, pProject->GetTracks()->GetEndTime(),
|
||||
m_fnAutoExportFile, m_iAutoExportFormat,
|
||||
m_iAutoExportSubFormat, m_iAutoExportFilterIndex);
|
||||
}
|
||||
|
||||
// Check if we need to override the post recording action
|
||||
|
Loading…
x
Reference in New Issue
Block a user