Audacity 3.2.0
|
Public Member Functions | |
MP2ExportOptionsEditor (Listener *listener) | |
int | GetOptionsCount () const override |
bool | GetOption (int index, ExportOption &option) const override |
bool | GetValue (ExportOptionID id, ExportValue &value) const override |
bool | SetValue (ExportOptionID id, const ExportValue &value) override |
SampleRateList | GetSampleRateList () const override |
void | Store (audacity::BasicSettings &config) const override |
void | Load (const audacity::BasicSettings &config) override |
void | OnVersionChanged () |
Public Member Functions inherited from ExportOptionsEditor | |
virtual | ~ExportOptionsEditor () |
virtual int | GetOptionsCount () const =0 |
virtual bool | GetOption (int index, ExportOption &option) const =0 |
virtual bool | GetValue (ExportOptionID id, ExportValue &value) const =0 |
virtual bool | SetValue (ExportOptionID id, const ExportValue &value)=0 |
virtual SampleRateList | GetSampleRateList () const =0 |
virtual void | Store (audacity::BasicSettings &settings) const =0 |
virtual void | Load (const audacity::BasicSettings &config)=0 |
Private Attributes | |
std::vector< ExportOption > | mOptions {MP2Options } |
std::unordered_map< ExportOptionID, ExportValue > | mValues |
Listener * | mListener {} |
Additional Inherited Members | |
Public Types inherited from ExportOptionsEditor | |
using | SampleRateList = std::vector< int > |
Definition at line 143 of file ExportMP2.cpp.
|
inline |
Definition at line 149 of file ExportMP2.cpp.
|
inlineoverridevirtual |
Implements ExportOptionsEditor.
Definition at line 160 of file ExportMP2.cpp.
References mOptions.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements ExportOptionsEditor.
Definition at line 203 of file ExportMP2.cpp.
References anonymous_namespace{ExportMP2.cpp}::MP2OptionIDVersion, and mValues.
|
inlineoverride |
Definition at line 169 of file ExportMP2.cpp.
References mValues.
|
inlineoverridevirtual |
Implements ExportOptionsEditor.
Definition at line 220 of file ExportMP2.cpp.
References anonymous_namespace{ExportMP2.cpp}::MP2OptionIDBitRateMPEG1, anonymous_namespace{ExportMP2.cpp}::MP2OptionIDBitRateMPEG2, anonymous_namespace{ExportMP2.cpp}::MP2OptionIDVersion, mValues, OnVersionChanged(), audacity::BasicSettings::Read(), and wxT().
|
inline |
Definition at line 228 of file ExportMP2.cpp.
References ExportOption::Hidden, mOptions, anonymous_namespace{ExportMP2.cpp}::MP2OptionIDBitRateMPEG1, anonymous_namespace{ExportMP2.cpp}::MP2OptionIDBitRateMPEG2, anonymous_namespace{ExportMP2.cpp}::MP2OptionIDVersion, and mValues.
Referenced by Load(), and SetValue().
|
inlineoverride |
Definition at line 179 of file ExportMP2.cpp.
References mListener, mOptions, anonymous_namespace{ExportMP2.cpp}::MP2OptionIDBitRateMPEG1, anonymous_namespace{ExportMP2.cpp}::MP2OptionIDBitRateMPEG2, anonymous_namespace{ExportMP2.cpp}::MP2OptionIDVersion, mValues, ExportOptionsEditor::Listener::OnExportOptionChange(), ExportOptionsEditor::Listener::OnExportOptionChangeBegin(), ExportOptionsEditor::Listener::OnExportOptionChangeEnd(), ExportOptionsEditor::Listener::OnSampleRateListChange(), and OnVersionChanged().
|
inlineoverridevirtual |
Implements ExportOptionsEditor.
Definition at line 210 of file ExportMP2.cpp.
References anonymous_namespace{ExportMP2.cpp}::MP2OptionIDBitRateMPEG1, anonymous_namespace{ExportMP2.cpp}::MP2OptionIDBitRateMPEG2, anonymous_namespace{ExportMP2.cpp}::MP2OptionIDVersion, mValues, audacity::BasicSettings::Write(), and wxT().
|
private |
Definition at line 147 of file ExportMP2.cpp.
Referenced by SetValue().
|
private |
Definition at line 145 of file ExportMP2.cpp.
Referenced by GetOption(), GetOptionsCount(), MP2ExportOptionsEditor(), OnVersionChanged(), and SetValue().
|
private |
Definition at line 146 of file ExportMP2.cpp.
Referenced by GetSampleRateList(), GetValue(), Load(), MP2ExportOptionsEditor(), OnVersionChanged(), SetValue(), and Store().