Audacity  2.2.0
Exporter Class Referencefinal

#include <Export.h>

Inheritance diagram for Exporter:

Public Member Functions

 Exporter ()
 
virtual ~Exporter ()
 
void SetFileDialogTitle (const wxString &DialogTitle)
 
void SetDefaultFormat (const wxString &Format)
 
void RegisterPlugin (movable_ptr< ExportPlugin > &&plugin)
 
bool Process (AudacityProject *project, bool selectedOnly, double t0, double t1)
 
bool Process (AudacityProject *project, unsigned numChannels, const wxChar *type, const wxString &filename, bool selectedOnly, double t0, double t1)
 
void DisplayOptions (int index)
 
int FindFormatIndex (int exportindex)
 
const ExportPluginArrayGetPlugins ()
 
bool ProcessFromTimerRecording (AudacityProject *project, bool selectedOnly, double t0, double t1, wxFileName fnFile, int iFormat, int iSubFormat, int iFilterIndex)
 
bool SetAutoExportOptions (AudacityProject *project)
 
int GetAutoExportFormat ()
 
int GetAutoExportSubFormat ()
 
int GetAutoExportFilterIndex ()
 
wxFileName GetAutoExportFileName ()
 

Private Member Functions

bool ExamineTracks ()
 
bool GetFilename ()
 
bool CheckFilename ()
 
bool CheckMix ()
 
bool ExportTracks ()
 
void CreateUserPane (wxWindow *parent)
 
void OnFilterChanged (wxFileCtrlEvent &evt)
 

Static Private Member Functions

static void CreateUserPaneCallback (wxWindow *parent, wxUIntPtr userdata)
 

Private Attributes

wxString mFormatName
 
FileDialog * mDialog
 
wxString mFileDialogTitle
 
AudacityProjectmProject
 
std::unique_ptr< MixerSpecmMixerSpec
 
ExportPluginArray mPlugins
 
wxFileName mFilename
 
wxFileName mActualName
 
double mT0
 
double mT1
 
int mFilterIndex
 
int mFormat
 
int mSubFormat
 
int mNumSelected
 
unsigned mNumLeft
 
unsigned mNumRight
 
unsigned mNumMono
 
unsigned mChannels
 
bool mSelectedOnly
 
wxSimplebook * mBook
 

Constructor & Destructor Documentation

Exporter::~Exporter ( )
virtual

Member Function Documentation

bool Exporter::CheckFilename ( )
private
void Exporter::CreateUserPaneCallback ( wxWindow *  parent,
wxUIntPtr  userdata 
)
staticprivate

References CreateUserPane().

Referenced by GetFilename().

void Exporter::DisplayOptions ( int  index)

References mDialog, mPlugins, and mProject.

bool Exporter::ExportTracks ( )
private
int Exporter::FindFormatIndex ( int  exportindex)

References mPlugins.

wxFileName Exporter::GetAutoExportFileName ( )
int Exporter::GetAutoExportFilterIndex ( )
int Exporter::GetAutoExportFormat ( )
int Exporter::GetAutoExportSubFormat ( )
const ExportPluginArray & Exporter::GetPlugins ( )

References mPlugins.

void Exporter::OnFilterChanged ( wxFileCtrlEvent &  evt)
private

References mBook.

bool Exporter::Process ( AudacityProject project,
unsigned  numChannels,
const wxChar *  type,
const wxString &  filename,
bool  selectedOnly,
double  t0,
double  t1 
)
bool Exporter::ProcessFromTimerRecording ( AudacityProject project,
bool  selectedOnly,
double  t0,
double  t1,
wxFileName  fnFile,
int  iFormat,
int  iSubFormat,
int  iFilterIndex 
)
void Exporter::RegisterPlugin ( movable_ptr< ExportPlugin > &&  plugin)

References mPlugins.

void Exporter::SetDefaultFormat ( const wxString &  Format)
inline
void Exporter::SetFileDialogTitle ( const wxString &  DialogTitle)

Member Data Documentation

wxFileName Exporter::mActualName
private
wxSimplebook* Exporter::mBook
private
unsigned Exporter::mChannels
private

Referenced by CheckMix(), ExportTracks(), and Process().

FileDialog* Exporter::mDialog
private

Referenced by DisplayOptions(), and GetFilename().

wxString Exporter::mFileDialogTitle
private

Referenced by GetFilename(), and SetFileDialogTitle().

wxFileName Exporter::mFilename
private
int Exporter::mFilterIndex
private
wxString Exporter::mFormatName
private

Referenced by CheckFilename(), and GetFilename().

std::unique_ptr<MixerSpec> Exporter::mMixerSpec
private
unsigned Exporter::mNumLeft
private

Referenced by CheckMix(), and ExamineTracks().

unsigned Exporter::mNumMono
private

Referenced by CheckMix(), and ExamineTracks().

unsigned Exporter::mNumRight
private

Referenced by CheckMix(), and ExamineTracks().

int Exporter::mNumSelected
private

Referenced by ExamineTracks().

bool Exporter::mSelectedOnly
private
double Exporter::mT0
private
double Exporter::mT1
private

The documentation for this class was generated from the following files: