Audacity 3.2.0
|
Public Member Functions | |
ExportPCM () | |
int | GetFormatCount () const override |
FormatInfo | GetFormatInfo (int index) const override |
Returns FormatInfo structure for given index if it's valid, or a default one. FormatInfo::format isn't guaranteed to be unique. More... | |
std::vector< std::string > | GetMimeTypes (int formatIndex) const override |
bool | ParseConfig (int formatIndex, const rapidjson::Value &, ExportProcessor::Parameters ¶meters) const override |
Attempt to parse configuration JSON object and produce a suitable set of parameters. Configuration is format dependent. More... | |
std::unique_ptr< ExportOptionsEditor > | CreateOptionsEditor (int, ExportOptionsEditor::Listener *) const override |
Creates format-dependent options editor, that is used to create a valid set of parameters to be used in exporting. More... | |
std::unique_ptr< ExportProcessor > | CreateProcessor (int format) const override |
Public Member Functions inherited from ExportPlugin | |
ExportPlugin () | |
virtual | ~ExportPlugin () |
virtual int | GetFormatCount () const =0 |
virtual FormatInfo | GetFormatInfo (int index) const =0 |
Returns FormatInfo structure for given index if it's valid, or a default one. FormatInfo::format isn't guaranteed to be unique. More... | |
virtual std::unique_ptr< ExportOptionsEditor > | CreateOptionsEditor (int formatIndex, ExportOptionsEditor::Listener *listener) const =0 |
Creates format-dependent options editor, that is used to create a valid set of parameters to be used in exporting. More... | |
virtual std::vector< std::string > | GetMimeTypes (int formatIndex) const |
virtual bool | ParseConfig (int formatIndex, const rapidjson::Value &config, ExportProcessor::Parameters ¶meters) const |
Attempt to parse configuration JSON object and produce a suitable set of parameters. Configuration is format dependent. More... | |
virtual bool | CheckFileName (wxFileName &filename, int format=0) const |
virtual std::unique_ptr< ExportProcessor > | CreateProcessor (int format) const =0 |
Definition at line 435 of file ExportPCM.cpp.
|
default |
|
overridevirtual |
Creates format-dependent options editor, that is used to create a valid set of parameters to be used in exporting.
listener | Option listener object that could be used by the editor to report on option changes. |
Implements ExportPlugin.
Definition at line 522 of file ExportPCM.cpp.
References FMT_OTHER, anonymous_namespace{ExportPCM.cpp}::format, and anonymous_namespace{ExportPCM.cpp}::kFormats.
|
overridevirtual |
format | Control whether we are doing a "preset" export to a popular file type, or giving the user full control over libsndfile. |
Implements ExportPlugin.
Definition at line 530 of file ExportPCM.cpp.
References anonymous_namespace{ExportPCM.cpp}::format.
|
overridevirtual |
Implements ExportPlugin.
Definition at line 461 of file ExportPCM.cpp.
References anonymous_namespace{ExportPCM.cpp}::kFormats.
|
overridevirtual |
Returns FormatInfo structure for given index if it's valid, or a default one. FormatInfo::format isn't guaranteed to be unique.
index | Should not exceed the number of formats provided by GetFormatCount() |
Implements ExportPlugin.
Definition at line 466 of file ExportPCM.cpp.
References FMT_OTHER, FormatInfo::format, anonymous_namespace{ExportPCM.cpp}::format, gPrefs, anonymous_namespace{ExportPCM.cpp}::kFormats, anonymous_namespace{ExportPCM.cpp}::LoadEncoding(), anonymous_namespace{ExportPCM.cpp}::LoadOtherFormat(), sf_header_extension(), sf_header_shortname(), and XO().
|
overridevirtual |
Reimplemented from ExportPlugin.
Definition at line 503 of file ExportPCM.cpp.
References anonymous_namespace{ExportPCM.cpp}::FMT_WAV.
|
overridevirtual |
Attempt to parse configuration JSON object and produce a suitable set of parameters. Configuration is format dependent.
formatIndex | Internal format index |
config | Configuration JSON object |
parameters | Where to put parameters |
Reimplemented from ExportPlugin.
Definition at line 510 of file ExportPCM.cpp.
References anonymous_namespace{ExportPCM.cpp}::FMT_WAV.