![]() |
Audacity 3.2.0
|
Public Member Functions | |
| bool | Initialize (AudacityProject &project, const Parameters ¶meters, const wxFileNameWrapper &filename, double t0, double t1, bool selectedOnly, double sampleFormat, unsigned channels, MixerOptions::Downmix *mixerSpec, const Tags *tags) override |
| Called before start processing. More... | |
| ExportResult | Process (ExportProcessorDelegate &delegate) override |
Public Member Functions inherited from ExportProcessor | |
| ExportProcessor (const ExportProcessor &)=delete | |
| ExportProcessor & | operator= (const ExportProcessor &)=delete |
| ExportProcessor ()=default | |
| virtual | ~ExportProcessor () |
| virtual bool | Initialize (AudacityProject &project, const Parameters ¶meters, const wxFileNameWrapper &filename, double t0, double t1, bool selectedOnly, double rate, unsigned channels, MixerOptions::Downmix *mixerSpec=nullptr, const Tags *tags=nullptr)=0 |
| Called before start processing. More... | |
| virtual ExportResult | Process (ExportProcessorDelegate &delegate)=0 |
Private Member Functions | |
| FLAC__StreamMetadataHandle | MakeMetadata (AudacityProject *project, const Tags *tags) const |
Private Attributes | |
| struct { | |
| TranslatableString status | |
| double t0 | |
| double t1 | |
| unsigned numChannels | |
| wxFileNameWrapper fName | |
| sampleFormat format | |
| FLAC::Encoder::File encoder | |
| wxFFile f | |
| std::unique_ptr< Mixer > mixer | |
| } | context |
Additional Inherited Members | |
Public Types inherited from ExportProcessor | |
| using | Parameters = std::vector< std::tuple< ExportOptionID, ExportValue > > |
Definition at line 175 of file ExportFLAC.cpp.
|
overridevirtual |
Called before start processing.
| project | Processor may access project data, take care to exclude any data race |
| parameters | A format-dependent set of parameters used in exporting |
| selectedOnly | Set to true if all tracks should be mixed, to false if only the selected tracks should be mixed and exported. |
| tags | A Tags object that will over-ride the one in *project and be used to tag the file that is exported. @retern Implementations may simply return false without any error reporting. This is to temporarily preserve old behavior, which is to be removed in the nearest future. |
Implements ExportProcessor.
Definition at line 293 of file ExportFLAC.cpp.
References context, ExportPluginHelpers::CreateMixer(), do_escape_coding, do_exhaustive_model_search, do_mid_side_stereo, encoder, flacLevels, anonymous_namespace{ExportFLAC.cpp}::FlacOptionIDBitDepth, anonymous_namespace{ExportFLAC.cpp}::FlacOptionIDLevel, fName, int16Sample, int24Sample, loose_mid_side_stereo, lrint, MakeMetadata(), max_lpc_order, max_residual_partition_order, min_residual_partition_order, numChannels, OSOUTPUT, project, qlp_coeff_precision, rice_parameter_search_dist, anonymous_namespace{ClipSegmentTest.cpp}::sampleRate, SAMPLES_PER_RUN, status, t0, t1, wxT(), and XO().
|
private |
Definition at line 483 of file ExportFLAC.cpp.
References entry, Tags::Get(), Tags::GetRange(), project, TAG_COMMENTS, TAG_YEAR, and wxT().
Referenced by Initialize().
|
overridevirtual |
Implements ExportProcessor.
Definition at line 414 of file ExportFLAC.cpp.
References Cancelled, context, Error, int24Sample, SAMPLES_PER_RUN, ExportProcessorDelegate::SetStatusString(), Success, and ExportPluginHelpers::UpdateProgress().
| struct { ... } FLACExportProcessor::context |
Referenced by Initialize(), and Process().
| FLAC::Encoder::File FLACExportProcessor::encoder |
Definition at line 185 of file ExportFLAC.cpp.
Referenced by Initialize().
| wxFFile FLACExportProcessor::f |
Definition at line 186 of file ExportFLAC.cpp.
| wxFileNameWrapper FLACExportProcessor::fName |
Definition at line 183 of file ExportFLAC.cpp.
Referenced by Initialize().
| sampleFormat FLACExportProcessor::format |
Definition at line 184 of file ExportFLAC.cpp.
| std::unique_ptr<Mixer> FLACExportProcessor::mixer |
Definition at line 187 of file ExportFLAC.cpp.
| unsigned FLACExportProcessor::numChannels |
Definition at line 182 of file ExportFLAC.cpp.
Referenced by Initialize().
| TranslatableString FLACExportProcessor::status |
Definition at line 179 of file ExportFLAC.cpp.
Referenced by Initialize().
| double FLACExportProcessor::t0 |
Definition at line 180 of file ExportFLAC.cpp.
Referenced by Initialize().
| double FLACExportProcessor::t1 |
Definition at line 181 of file ExportFLAC.cpp.
Referenced by Initialize().