#include <ExportPlugin.h>
Definition at line 128 of file ExportPlugin.h.
◆ ExportPlugin()
ExportPlugin::ExportPlugin |
( |
| ) |
|
|
default |
◆ ~ExportPlugin()
ExportPlugin::~ExportPlugin |
( |
| ) |
|
|
virtualdefault |
◆ CheckFileName()
bool ExportPlugin::CheckFileName |
( |
wxFileName & |
filename, |
|
|
int |
format = 0 |
|
) |
| const |
|
virtual |
◆ CreateOptionsEditor()
◆ CreateProcessor()
virtual std::unique_ptr< ExportProcessor > ExportPlugin::CreateProcessor |
( |
int |
format | ) |
const |
|
pure virtual |
- Parameters
-
format | Control which of the multiple formats this exporter is capable of exporting should be used. Used where a single export plug-in handles a number of related formats, but they have separate entries in the Format drop-down list box. For example, the options to export to "Other PCM", "AIFF 16 Bit" and "WAV 16 Bit" are all the same libsndfile export plug-in, but with subformat set to 0, 1, and 2 respectively. |
Implemented in ExportCL, ExportFFmpeg, ExportFLAC, ExportMP3, ExportOGG, ExportOpus, ExportPCM, ExportWavPack, and ExportMP2.
Referenced by ExportTaskBuilder::Build().
◆ GetFormatCount()
virtual int ExportPlugin::GetFormatCount |
( |
| ) |
const |
|
pure virtual |
◆ GetFormatInfo()
virtual FormatInfo ExportPlugin::GetFormatInfo |
( |
int |
index | ) |
const |
|
pure virtual |
Returns FormatInfo structure for given index if it's valid, or a default one. FormatInfo::format isn't guaranteed to be unique.
- Parameters
-
Implemented in ExportFFmpeg, ExportPCM, ExportCL, ExportFLAC, ExportMP2, ExportMP3, ExportOGG, ExportOpus, and ExportWavPack.
Referenced by TimerRecordExportDialog::OnOK(), ExportFilePanel::OnOptionsHandlerEvent(), ExportAudioDialog::UpdateLabelExportSettings(), ExportAudioDialog::UpdateTrackExportSettings(), and ExportFilePanel::ValidateAndFixExt().
◆ GetMimeTypes()
std::vector< std::string > ExportPlugin::GetMimeTypes |
( |
int |
formatIndex | ) |
const |
|
virtual |
◆ ParseConfig()
Attempt to parse configuration JSON object and produce a suitable set of parameters. Configuration is format dependent.
- Parameters
-
formatIndex | Internal format index |
config | Configuration JSON object |
parameters | Where to put parameters |
- Returns
- Whether the parsing was successful
Reimplemented in ExportPCM, ExportMP3, ExportWavPack, and ExportFLAC.
Definition at line 77 of file ExportPlugin.cpp.
The documentation for this class was generated from the following files: