Audacity  2.2.0
ExportPCM.cpp File Reference
#include "../Audacity.h"
#include "ExportPCM.h"
#include <wx/defs.h>
#include <wx/choice.h>
#include <wx/dynlib.h>
#include <wx/filename.h>
#include <wx/intl.h>
#include <wx/timer.h>
#include <wx/msgdlg.h>
#include <wx/progdlg.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include <wx/window.h>
#include "sndfile.h"
#include "../FileFormats.h"
#include "../Internat.h"
#include "../MemoryX.h"
#include "../Mix.h"
#include "../Prefs.h"
#include "../Project.h"
#include "../ShuttleGui.h"
#include "../Tags.h"
#include "../Track.h"
#include "../ondemand/ODManager.h"
#include "Export.h"

Classes

class  ExportPCMOptions
 
class  ExportPCM
 
struct  id3_tag_deleter
 

Macros

#define ID_HEADER_CHOICE   7102
 
#define ID_ENCODING_CHOICE   7103
 

Typedefs

using id3_tag_holder = std::unique_ptr< id3_tag, id3_tag_deleter >
 

Functions

static int ReadExportFormatPref ()
 
static void WriteExportFormatPref (int format)
 
movable_ptr< ExportPluginNew_ExportPCM ()
 

Variables

struct {
   int   format
 
   const wxChar *   name
 
   const wxChar *   desc
 
kFormats []
 

Macro Definition Documentation

#define ID_ENCODING_CHOICE   7103
#define ID_HEADER_CHOICE   7102

Typedef Documentation

using id3_tag_holder = std::unique_ptr<id3_tag, id3_tag_deleter>

Function Documentation

movable_ptr<ExportPlugin> New_ExportPCM ( )

The only part of this class which is publically accessible is the factory method New_ExportPCM() which creates a NEW ExportPCM object and returns a pointer to it. The rest of the class declaration is in ExportPCM.cpp

Referenced by Exporter::Exporter().

static int ReadExportFormatPref ( )
static
static void WriteExportFormatPref ( int  format)
static

Variable Documentation

struct { ... } kFormats[]
Initial value:
=
{
{ SF_FORMAT_AIFF | SF_FORMAT_PCM_16, wxT("AIFF"), XO("AIFF (Apple) signed 16-bit PCM") },
{ SF_FORMAT_WAV | SF_FORMAT_PCM_16, wxT("WAV"), XO("WAV (Microsoft) signed 16-bit PCM") },
{ SF_FORMAT_WAV | SF_FORMAT_FLOAT, wxT("WAVFLT"), XO("WAV (Microsoft) 32-bit float PCM") },
}
#define XO(s)
Definition: Audacity.h:225

Referenced by ExportPCM::CheckFileName(), ExportPCM::Export(), ExportPCM::ExportPCM(), ExportPCMOptions::ExportPCMOptions(), ExportPCM::GetExtension(), and ExportPCM::OptionsCreate().