Audacity  2.2.0
ExportPCMOptions Class Referencefinal
Inheritance diagram for ExportPCMOptions:
wxTabTraversalWrapper< Base >

Public Member Functions

 ExportPCMOptions (wxWindow *parent, int format)
 
virtual ~ExportPCMOptions ()
 
void PopulateOrExchange (ShuttleGui &S)
 
bool TransferDataToWindow () override
 
bool TransferDataFromWindow () override
 
void OnHeaderChoice (wxCommandEvent &evt)
 
- Public Member Functions inherited from wxTabTraversalWrapper< Base >
template<typename... Args>
 wxTabTraversalWrapper (Args &&...args)
 
 ~wxTabTraversalWrapper ()
 

Private Member Functions

bool ValidatePair (int format)
 
int GetFormat ()
 

Private Attributes

wxArrayString mHeaderNames
 
wxArrayString mEncodingNames
 
wxChoice * mHeaderChoice
 
wxChoice * mEncodingChoice
 
int mHeaderFromChoice
 
int mEncodingFromChoice
 
wxArrayInt mEncodingFormats
 

Constructor & Destructor Documentation

ExportPCMOptions::~ExportPCMOptions ( )
virtual

Member Function Documentation

int ExportPCMOptions::GetFormat ( )
private
bool ExportPCMOptions::TransferDataFromWindow ( )
override
bool ExportPCMOptions::TransferDataToWindow ( )
override
bool ExportPCMOptions::ValidatePair ( int  format)
private

Calls a libsndfile library function to determine whether the user's choice of sample encoding (e.g. pcm 16-bit or GSM 6.10 compression) is compatible with their choice of file format (e.g. WAV, AIFF) and enables/disables the OK button accordingly.

References format.

Referenced by OnHeaderChoice().

Member Data Documentation

wxChoice* ExportPCMOptions::mEncodingChoice
private
wxArrayInt ExportPCMOptions::mEncodingFormats
private

Referenced by GetFormat(), and OnHeaderChoice().

int ExportPCMOptions::mEncodingFromChoice
private
wxArrayString ExportPCMOptions::mEncodingNames
private
wxChoice* ExportPCMOptions::mHeaderChoice
private
int ExportPCMOptions::mHeaderFromChoice
private

Referenced by PopulateOrExchange().

wxArrayString ExportPCMOptions::mHeaderNames
private

Referenced by PopulateOrExchange().


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