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

Options dialog for FFmpeg exporting of OPUS format. More...

#include <ExportFFmpegDialogs.h>

Inheritance diagram for ExportFFmpegOPUSOptions:
[legend]
Collaboration diagram for ExportFFmpegOPUSOptions:
[legend]

Public Member Functions

 ExportFFmpegOPUSOptions (wxWindow *parent, int format)
 
 ~ExportFFmpegOPUSOptions ()
 
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 iOPUSSampleRates []
 

Private Attributes

wxSlider * mBitRateSlider
 
int mBitRateFromSlider
 
wxChoice * mVbrChoice
 
int mVbrFromChoice
 
wxSlider * mComplexitySlider
 
int mComplexityFromSlider
 
wxChoice * mFramesizeChoice
 
int mFramesizeFromChoice
 
wxChoice * mApplicationChoice
 
int mApplicationFromChoice
 
wxChoice * mCuttoffChoice
 
int mCutoffFromChoice
 

Detailed Description

Options dialog for FFmpeg exporting of OPUS format.

Definition at line 121 of file ExportFFmpegDialogs.h.

Constructor & Destructor Documentation

◆ ExportFFmpegOPUSOptions()

ExportFFmpegOPUSOptions::ExportFFmpegOPUSOptions ( wxWindow *  parent,
int  format 
)

Definition at line 574 of file ExportFFmpegDialogs.cpp.

575: wxPanelWrapper(parent, wxID_ANY)
576{
579
581}
@ eIsCreatingFromPrefs
Definition: ShuttleGui.h:46
#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:625

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

Here is the call graph for this function:

◆ ~ExportFFmpegOPUSOptions()

ExportFFmpegOPUSOptions::~ExportFFmpegOPUSOptions ( )

Definition at line 583 of file ExportFFmpegDialogs.cpp.

584{
586}
bool TransferDataFromWindow() override

References TransferDataFromWindow().

Here is the call graph for this function:

Member Function Documentation

◆ PopulateOrExchange()

void ExportFFmpegOPUSOptions::PopulateOrExchange ( ShuttleGui S)

Definition at line 590 of file ExportFFmpegDialogs.cpp.

591{
592 S.SetSizerProportion(1);
593 S.SetBorder(4);
594 S.StartVerticalLay();
595 {
596 S.StartHorizontalLay(wxCENTER);
597 {
598 S.StartMultiColumn(2, wxCENTER);
599 {
600 S.StartMultiColumn(2, wxCENTER);
601 {
602 S.TieChoice(
603 XXO("Bit Rate:"),
605
606 S.TieChoice(
607 XXO("Compression"),
609
610 S.TieChoice(
611 XXO("Frame Duration:"),
613 }
614 S.EndMultiColumn();
615
616 S.StartMultiColumn(2, wxCENTER);
617 {
618 S.TieChoice(
619 XXO("Vbr Mode:"),
621
622 S.TieChoice(
623 XXO("Application:"),
625
626 S.TieChoice(
627 XXO("Cutoff:"),
628 OPUSCutoff);
629
630 }
631 S.EndMultiColumn();
632 }
633 S.EndMultiColumn();
634 }
635 S.EndHorizontalLay();
636 }
637 S.EndVerticalLay();
638}
XXO("&Cut/Copy/Paste Toolbar")
ChoiceSetting OPUSBitrate
Bit Rates supported by OPUS encoder. Setting bit rate to other values will not result in different fi...

References anonymous_namespace{ExportFFmpegDialogs.cpp}::OPUSApplication, anonymous_namespace{ExportFFmpegDialogs.cpp}::OPUSBitrate, anonymous_namespace{ExportFFmpegDialogs.cpp}::OPUSCompression, anonymous_namespace{ExportFFmpegDialogs.cpp}::OPUSCutoff, anonymous_namespace{ExportFFmpegDialogs.cpp}::OPUSFrameDuration, anonymous_namespace{ExportFFmpegDialogs.cpp}::OPUSVbrMode, S, and XXO().

Referenced by ExportFFmpegOPUSOptions(), and TransferDataFromWindow().

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

◆ TransferDataFromWindow()

bool ExportFFmpegOPUSOptions::TransferDataFromWindow ( )
override

Definition at line 649 of file ExportFFmpegDialogs.cpp.

650{
653
654 gPrefs->Flush();
655
656 return true;
657}
FileConfig * gPrefs
Definition: Prefs.cpp:70
@ eIsSavingToPrefs
Definition: ShuttleGui.h:47
virtual bool Flush(bool bCurrentOnly=false) wxOVERRIDE
Definition: FileConfig.cpp:143

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

Referenced by ~ExportFFmpegOPUSOptions().

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

◆ TransferDataToWindow()

bool ExportFFmpegOPUSOptions::TransferDataToWindow ( )
override

Definition at line 642 of file ExportFFmpegDialogs.cpp.

643{
644 return true;
645}

Referenced by ExportFFmpegOPUSOptions().

Here is the caller graph for this function:

Member Data Documentation

◆ iOPUSSampleRates

const int ExportFFmpegOPUSOptions::iOPUSSampleRates[]
static

Definition at line 132 of file ExportFFmpegDialogs.h.

◆ mApplicationChoice

wxChoice* ExportFFmpegOPUSOptions::mApplicationChoice
private

Definition at line 148 of file ExportFFmpegDialogs.h.

◆ mApplicationFromChoice

int ExportFFmpegOPUSOptions::mApplicationFromChoice
private

Definition at line 149 of file ExportFFmpegDialogs.h.

◆ mBitRateFromSlider

int ExportFFmpegOPUSOptions::mBitRateFromSlider
private

Definition at line 137 of file ExportFFmpegDialogs.h.

◆ mBitRateSlider

wxSlider* ExportFFmpegOPUSOptions::mBitRateSlider
private

Definition at line 136 of file ExportFFmpegDialogs.h.

◆ mComplexityFromSlider

int ExportFFmpegOPUSOptions::mComplexityFromSlider
private

Definition at line 143 of file ExportFFmpegDialogs.h.

◆ mComplexitySlider

wxSlider* ExportFFmpegOPUSOptions::mComplexitySlider
private

Definition at line 142 of file ExportFFmpegDialogs.h.

◆ mCutoffFromChoice

int ExportFFmpegOPUSOptions::mCutoffFromChoice
private

Definition at line 152 of file ExportFFmpegDialogs.h.

◆ mCuttoffChoice

wxChoice* ExportFFmpegOPUSOptions::mCuttoffChoice
private

Definition at line 151 of file ExportFFmpegDialogs.h.

◆ mFramesizeChoice

wxChoice* ExportFFmpegOPUSOptions::mFramesizeChoice
private

Definition at line 145 of file ExportFFmpegDialogs.h.

◆ mFramesizeFromChoice

int ExportFFmpegOPUSOptions::mFramesizeFromChoice
private

Definition at line 146 of file ExportFFmpegDialogs.h.

◆ mVbrChoice

wxChoice* ExportFFmpegOPUSOptions::mVbrChoice
private

Definition at line 139 of file ExportFFmpegDialogs.h.

◆ mVbrFromChoice

int ExportFFmpegOPUSOptions::mVbrFromChoice
private

Definition at line 140 of file ExportFFmpegDialogs.h.


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