Definition at line 469 of file ExportOpus.cpp.
◆ ExportOpus()
ExportOpus::ExportOpus |
( |
| ) |
|
|
default |
◆ CreateOptionsEditor()
Creates format-dependent options editor, that is used to create a valid set of parameters to be used in exporting.
- Parameters
-
listener | Option listener object that could be used by the editor to report on option changes. |
Implements ExportPlugin.
Definition at line 506 of file ExportOpus.cpp.
507{
508 return std::make_unique<PlainExportOptionsEditor>(
511 listener);
512}
std::vector< int > SampleRateList
const std::initializer_list< PlainExportOptionsEditor::OptionDesc > OPUSOptions
References anonymous_namespace{ExportOpus.cpp}::OPUSOptions.
◆ CreateProcessor()
std::unique_ptr< ExportProcessor > ExportOpus::CreateProcessor |
( |
int |
format | ) |
const |
|
overridevirtual |
- 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. |
Implements ExportPlugin.
Definition at line 514 of file ExportOpus.cpp.
515{
516 return std::make_unique<OpusExportProcessor>();
517}
◆ GetFormatCount()
int ExportOpus::GetFormatCount |
( |
| ) |
const |
|
overridevirtual |
◆ GetFormatInfo()
FormatInfo ExportOpus::GetFormatInfo |
( |
int |
index | ) |
const |
|
overridevirtual |
◆ GetMimeTypes()
std::vector< std::string > ExportOpus::GetMimeTypes |
( |
int |
formatIndex | ) |
const |
|
overridevirtual |
- Returns
- Mime type(s) supported by the format.
Reimplemented from ExportPlugin.
Definition at line 500 of file ExportOpus.cpp.
501{
502 return { "audio/opus" };
503}
The documentation for this class was generated from the following file: