Audacity 3.2.0
|
Command for exporting audio. More...
#include <ImportExportCommands.h>
Public Member Functions | |
ComponentInterfaceSymbol | GetSymbol () const override |
TranslatableString | GetDescription () const override |
template<bool Const> | |
bool | VisitSettings (SettingsVisitorBase< Const > &S) |
bool | VisitSettings (SettingsVisitor &S) override |
bool | VisitSettings (ConstSettingsVisitor &S) override |
void | PopulateOrExchange (ShuttleGui &S) override |
bool | Apply (const CommandContext &context) override |
ManualPageID | ManualPage () override |
Public Member Functions inherited from AudacityCommand | |
AudacityCommand () | |
virtual | ~AudacityCommand () |
PluginPath | GetPath () const override |
VendorSymbol | GetVendor () const override |
wxString | GetVersion () const override |
ComponentInterfaceSymbol | GetSymbol () const override=0 |
virtual TranslatableString | GetDescription () const override |
virtual ManualPageID | ManualPage () |
virtual bool | IsBatchProcessing () const |
virtual void | SetBatchProcessing (bool start) |
virtual bool | Apply (const CommandContext &WXUNUSED(context)) |
bool | ShowInterface (wxWindow *parent, bool forceModal=false) |
wxDialog * | CreateUI (wxWindow *parent, AudacityCommand *client) |
bool | SaveSettingsAsString (wxString &parms) |
bool | LoadSettingsFromString (const wxString &parms) |
bool | DoAudacityCommand (const CommandContext &context, bool shouldPrompt=true) |
int | MessageBox (const TranslatableString &message, long style=DefaultMessageBoxStyle, const TranslatableString &titleStr={}) |
virtual bool | Init () |
virtual bool | PromptUser (AudacityProject &) |
virtual bool | CheckWhetherSkipAudacityCommand () |
virtual void | End () |
virtual void | PopulateOrExchange (ShuttleGui &WXUNUSED(S)) |
virtual bool | TransferDataToWindow () |
virtual bool | TransferDataFromWindow () |
virtual bool | VisitSettings (SettingsVisitor &) |
virtual bool | VisitSettings (ConstSettingsVisitor &) |
Public Member Functions inherited from ComponentInterface | |
virtual | ~ComponentInterface () |
virtual PluginPath | GetPath () const =0 |
virtual ComponentInterfaceSymbol | GetSymbol () const =0 |
virtual VendorSymbol | GetVendor () const =0 |
virtual wxString | GetVersion () const =0 |
virtual TranslatableString | GetDescription () const =0 |
TranslatableString | GetName () const |
Public Attributes | |
wxString | mFileName |
int | mnChannels |
Static Public Attributes | |
static const ComponentInterfaceSymbol | Symbol { XO("Export2") } |
Additional Inherited Members | |
Public Types inherited from AudacityCommand | |
enum | : long { DefaultMessageBoxStyle = wxOK | wxCENTRE } |
Protected Attributes inherited from AudacityCommand | |
ProgressDialog * | mProgress |
wxDialog * | mUIDialog |
wxWindow * | mUIParent |
Command for exporting audio.
Definition at line 46 of file ImportExportCommands.h.
|
override |
Definition at line 111 of file ImportExportCommands.cpp.
References Error, CommandContext::Error(), ExportProgressUI::ExceptionWrappedCall(), anonymous_namespace{CloudProjectFileIOExtensions.cpp}::extension, ExportPluginRegistry::FindFormat(), ExportPluginRegistry::Get(), ProjectRate::Get(), ViewInfo::Get(), ProjectRate::GetRate(), gPrefs, mFileName, mnChannels, ExportUtils::ParametersFromEditor(), CommandContext::project, ViewInfo::selectedRegion, ExportTaskBuilder::SetFileName(), ExportTaskBuilder::SetNumChannels(), ExportTaskBuilder::SetParameters(), ExportTaskBuilder::SetPlugin(), ExportTaskBuilder::SetRange(), ExportTaskBuilder::SetSampleRate(), ExportProgressUI::Show(), CommandContext::Status(), Stopped, Success, NotifyingSelectedRegion::t0(), and wxT().
|
inlineoverridevirtual |
Reimplemented from AudacityCommand.
Definition at line 53 of file ImportExportCommands.h.
References XO().
|
inlineoverridevirtual |
Implements AudacityCommand.
Definition at line 52 of file ImportExportCommands.h.
References Symbol.
|
inlineoverridevirtual |
Reimplemented from AudacityCommand.
Definition at line 61 of file ImportExportCommands.h.
|
override |
Definition at line 99 of file ImportExportCommands.cpp.
References mFileName, mnChannels, S, and XXO().
|
overridevirtual |
Visit settings, if defined. false means no defined settings. Default implementation returns false
Reimplemented from AudacityCommand.
Definition at line 91 of file ImportExportCommands.cpp.
References S.
|
overridevirtual |
Visit settings, if defined. false means no defined settings. Default implementation returns false
Reimplemented from AudacityCommand.
Definition at line 88 of file ImportExportCommands.cpp.
References S.
bool ExportCommand::VisitSettings | ( | SettingsVisitorBase< Const > & | S | ) |
Definition at line 80 of file ImportExportCommands.cpp.
References FileNames::FindDefaultPath(), fn, mFileName, mnChannels, S, and wxT().
wxString ExportCommand::mFileName |
Definition at line 63 of file ImportExportCommands.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
int ExportCommand::mnChannels |
Definition at line 64 of file ImportExportCommands.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
|
static |
Definition at line 49 of file ImportExportCommands.h.
Referenced by GetSymbol().