Audacity 3.2.0
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
ExportFFmpegAC3Options Class Referencefinal

AC3 export options dialog. More...

#include <ExportFFmpegDialogs.h>

Inheritance diagram for ExportFFmpegAC3Options:
Collaboration diagram for ExportFFmpegAC3Options:

Public Member Functions

 ExportFFmpegAC3Options (wxWindow *parent, int format)
virtual ~ExportFFmpegAC3Options ()
void PopulateOrExchange (ShuttleGui &S)
bool TransferDataToWindow () override
bool TransferDataFromWindow () override
- Public Member Functions inherited from wxPanelWrapper
 wxPanelWrapper ()
 wxPanelWrapper (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const TranslatableString &name=XO("Panel"))
bool Create (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const TranslatableString &name=XO("Panel"))
void SetLabel (const TranslatableString &label)
void SetName (const TranslatableString &name)
void SetToolTip (const TranslatableString &toolTip)
void SetName ()
- Public Member Functions inherited from wxTabTraversalWrapper< wxPanel >
 wxTabTraversalWrapper (Args &&... args)
 wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete
 wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete
wxTabTraversalWrapperoperator= (const wxTabTraversalWrapper &)=delete
wxTabTraversalWrapperoperator= (wxTabTraversalWrapper &&)=delete

Static Public Attributes

static const int iAC3SampleRates [] = { 32000, 44100, 48000, 0 }

Private Attributes

wxChoice * mBitRateChoice
int mBitRateFromChoice

Detailed Description

AC3 export options dialog.

Options dialog for FFmpeg exporting of AC3 format.

Definition at line 71 of file ExportFFmpegDialogs.h.

Constructor & Destructor Documentation

◆ ExportFFmpegAC3Options()

ExportFFmpegAC3Options::ExportFFmpegAC3Options ( wxWindow *  parent,
int  format 

Definition at line 198 of file ExportFFmpegDialogs.cpp.

199: wxPanelWrapper(parent, wxID_ANY)
@ eIsCreatingFromPrefs
Definition: ShuttleGui.h:48
#define S(N)
Definition: ToChars.cpp:64
bool TransferDataToWindow() override
void PopulateOrExchange(ShuttleGui &S)
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:628

References eIsCreatingFromPrefs, PopulateOrExchange(), S, and TransferDataToWindow().

Here is the call graph for this function:

◆ ~ExportFFmpegAC3Options()

ExportFFmpegAC3Options::~ExportFFmpegAC3Options ( )

Definition at line 207 of file ExportFFmpegDialogs.cpp.

bool TransferDataFromWindow() override

References TransferDataFromWindow().

Here is the call graph for this function:

Member Function Documentation

◆ PopulateOrExchange()

void ExportFFmpegAC3Options::PopulateOrExchange ( ShuttleGui S)

Definition at line 214 of file ExportFFmpegDialogs.cpp.

216 IntSetting Setting{ L"/FileFormats/AC3BitRate", 160000 };
218 S.StartVerticalLay();
219 {
220 S.StartHorizontalLay(wxCENTER);
221 {
222 S.StartMultiColumn(2, wxCENTER);
223 {
224 S.TieNumberAsChoice(
226 }
227 S.EndMultiColumn();
228 }
229 S.EndHorizontalLay();
230 }
231 S.EndVerticalLay();
#define XXO(s)
Definition: Internat.h:44
Specialization of Setting for int.
Definition: Prefs.h:349
Definition: Prefs.h:173

References anonymous_namespace{ExportFFmpegDialogs.cpp}::AC3BitRateNames, anonymous_namespace{ExportFFmpegDialogs.cpp}::AC3BitRateValues, S, and XXO.

Referenced by ExportFFmpegAC3Options(), and TransferDataFromWindow().

Here is the caller graph for this function:

◆ TransferDataFromWindow()

bool ExportFFmpegAC3Options::TransferDataFromWindow ( )

Definition at line 243 of file ExportFFmpegDialogs.cpp.

248 gPrefs->Flush();
250 return true;
FileConfig * gPrefs
Definition: Prefs.cpp:71
@ eIsSavingToPrefs
Definition: ShuttleGui.h:49
virtual bool Flush(bool bCurrentOnly=false) wxOVERRIDE
Definition: FileConfig.cpp:143

References eIsSavingToPrefs, FileConfig::Flush(), gPrefs, PopulateOrExchange(), and S.

Referenced by ~ExportFFmpegAC3Options().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TransferDataToWindow()

bool ExportFFmpegAC3Options::TransferDataToWindow ( )

Definition at line 236 of file ExportFFmpegDialogs.cpp.

238 return true;

Referenced by ExportFFmpegAC3Options().

Here is the caller graph for this function:

Member Data Documentation

◆ iAC3SampleRates

const int ExportFFmpegAC3Options::iAC3SampleRates = { 32000, 44100, 48000, 0 }

Sample Rates supported by AC3 encoder (must end with zero-element) It is not used in dialog anymore, but will be required later

Definition at line 84 of file ExportFFmpegDialogs.h.

Referenced by ExportFFmpeg::InitCodecs().

◆ mBitRateChoice

wxChoice* ExportFFmpegAC3Options::mBitRateChoice

Definition at line 88 of file ExportFFmpegDialogs.h.

◆ mBitRateFromChoice

int ExportFFmpegAC3Options::mBitRateFromChoice

Definition at line 89 of file ExportFFmpegDialogs.h.

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