Audacity  2.2.0
ExportPCM Class Referencefinal
Inheritance diagram for ExportPCM:

Public Member Functions

 ExportPCM ()
wxWindow * OptionsCreate (wxWindow *parent, int format) override
ProgressResult Export (AudacityProject *project, unsigned channels, const wxString &fName, bool selectedOnly, double t0, double t1, MixerSpec *mixerSpec=NULL, const Tags *metadata=NULL, int subformat=0) override
wxString GetExtension (int index)
 Return the (first) file name extension for the sub-format. More...
bool CheckFileName (wxFileName &filename, int format) override
- Public Member Functions inherited from ExportPlugin
 ExportPlugin ()
virtual ~ExportPlugin ()
int AddFormat ()
 Add a NEW entry to the list of formats this plug-in can export. More...
void SetFormat (const wxString &format, int index)
void SetDescription (const wxString &description, int index)
void AddExtension (const wxString &extension, int index)
void SetExtensions (const wxArrayString &extensions, int index)
void SetMask (const wxString &mask, int index)
void SetMaxChannels (unsigned maxchannels, unsigned index)
void SetCanMetaData (bool canmetadata, int index)
virtual int GetFormatCount ()
virtual wxString GetFormat (int index)
virtual wxString GetDescription (int index)
virtual wxArrayString GetExtensions (int index=0)
 Return all the file name extensions used for the sub-format. More...
virtual wxString GetMask (int index)
virtual unsigned GetMaxChannels (int index)
virtual bool GetCanMetaData (int index)
virtual bool IsExtension (const wxString &ext, int index)
virtual bool DisplayOptions (wxWindow *parent, int format=0)
virtual int SetNumExportChannels ()
 Exporter plug-ins may override this to specify the number of channels in exported file. -1 for unspecified. More...

Private Member Functions

ArrayOf< char > AdjustString (const wxString &wxStr, int sf_format)
bool AddStrings (AudacityProject *project, SNDFILE *sf, const Tags *tags, int sf_format)
bool AddID3Chunk (wxString fName, const Tags *tags, int sf_format)

Additional Inherited Members

- Protected Member Functions inherited from ExportPlugin
std::unique_ptr< MixerCreateMixer (const WaveTrackConstArray &inputTracks, const TimeTrack *timeTrack, double startTime, double stopTime, unsigned numOutChannels, size_t outBufferSize, bool outInterleaved, double outRate, sampleFormat outFormat, bool highQuality=true, MixerSpec *mixerSpec=NULL)

Constructor & Destructor Documentation

Member Function Documentation

bool ExportPCM::AddID3Chunk ( wxString  fName,
const Tags tags,
int  sf_format 
bool ExportPCM::AddStrings ( AudacityProject project,
SNDFILE *  sf,
const Tags tags,
int  sf_format 
ArrayOf< char > ExportPCM::AdjustString ( const wxString &  wxStr,
int  sf_format 

Referenced by AddStrings().

bool ExportPCM::CheckFileName ( wxFileName &  filename,
int  format 
ProgressResult ExportPCM::Export ( AudacityProject project,
unsigned  numChannels,
const wxString &  fName,
bool  selectionOnly,
double  t0,
double  t1,
MixerSpec mixerSpec = NULL,
const Tags metadata = NULL,
int  subformat = 0 
wxString ExportPCM::GetExtension ( int  index)

Return the (first) file name extension for the sub-format.

indexThe sub-format for which the extension is wanted

Reimplemented from ExportPlugin.

References ExportPlugin::GetExtension(), kFormats, ReadExportFormatPref(), and sf_header_extension().

Referenced by CheckFileName().

wxWindow * ExportPCM::OptionsCreate ( wxWindow *  parent,
int  format 

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