Audacity 3.2.0
Enumerations | Variables
anonymous_namespace{ExportAudioDialog.cpp} Namespace Reference

Enumerations

enum  {
  ExportFilePanelID = 10000 , ExportRangeProjectID , ExportRangeSelectionID , ExportRangeSplitID ,
  TrimBlankSpaceBeforeFirstClipID , ExportModeTracksID , ExportModeLabelsID , IncludeAudioBeforeFirstLabelID ,
  ExportSplitNamePolicyTrackNameID , ExportSplitNamePolicyNumberingBeforeNameID , ExportSplitNamePolicyNumberingAfterPrefixID , FileNamePrefixID ,
  OverwriteExistingFilesID , EditMetadataID
}
 

Variables

const bool hookRegistered
 
ChoiceSetting ExportAudioExportRange
 
ChoiceSetting ExportAudioSplitMode
 
ChoiceSetting ExportAudioSplitNamePolicy
 
BoolSetting ExportAudioIncludeAudioBeforeFirstLabel { L"/ExportAudioDialog/IncludeAudioBeforeFirstLabel", false }
 
BoolSetting ExportAudioOverwriteExisting { L"/ExportAudioDialog/OverwriteExisting", false }
 
BoolSetting ExportAudioSkipSilenceAtBeginning { L"/ExportAudioDialog/SkipSilenceAtBeginning", false }
 
StringSetting ExportAudioDefaultFormat { L"/ExportAudioDialog/Format", L"WAV" }
 
StringSetting ExportAudioDefaultPath { L"ExportAudioDialog/DefaultPath", L"" }
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
ExportFilePanelID 
ExportRangeProjectID 
ExportRangeSelectionID 
ExportRangeSplitID 
TrimBlankSpaceBeforeFirstClipID 
ExportModeTracksID 
ExportModeLabelsID 
IncludeAudioBeforeFirstLabelID 
ExportSplitNamePolicyTrackNameID 
ExportSplitNamePolicyNumberingBeforeNameID 
ExportSplitNamePolicyNumberingAfterPrefixID 
FileNamePrefixID 
OverwriteExistingFilesID 
EditMetadataID 

Definition at line 109 of file ExportAudioDialog.cpp.

109 {
110 ExportFilePanelID = 10000,//to avoid IDs collision with ExportFilePanel items
111
115
117
120
122
126
128
130
132};

Variable Documentation

◆ ExportAudioDefaultFormat

StringSetting anonymous_namespace{ExportAudioDialog.cpp}::ExportAudioDefaultFormat { L"/ExportAudioDialog/Format", L"WAV" }

◆ ExportAudioDefaultPath

StringSetting anonymous_namespace{ExportAudioDialog.cpp}::ExportAudioDefaultPath { L"ExportAudioDialog/DefaultPath", L"" }

◆ ExportAudioExportRange

ChoiceSetting anonymous_namespace{ExportAudioDialog.cpp}::ExportAudioExportRange
Initial value:
{ L"/ExportAudioDialog/ExportRange",
{
{ "project", XO("Entire &Project") },
{ "split", XO("M&ultiple Files") },
{ "selection", XO("Curren&t Selection") }
},
0,
}
XO("Cut/Copy/Paste")

Definition at line 72 of file ExportAudioDialog.cpp.

Referenced by ExportAudioDialog::ExportAudioDialog(), and ExportAudioDialog::PopulateOrExchange().

◆ ExportAudioIncludeAudioBeforeFirstLabel

BoolSetting anonymous_namespace{ExportAudioDialog.cpp}::ExportAudioIncludeAudioBeforeFirstLabel { L"/ExportAudioDialog/IncludeAudioBeforeFirstLabel", false }

Definition at line 99 of file ExportAudioDialog.cpp.

Referenced by ExportAudioDialog::PopulateOrExchange().

◆ ExportAudioOverwriteExisting

BoolSetting anonymous_namespace{ExportAudioDialog.cpp}::ExportAudioOverwriteExisting { L"/ExportAudioDialog/OverwriteExisting", false }

Definition at line 101 of file ExportAudioDialog.cpp.

Referenced by ExportAudioDialog::PopulateOrExchange().

◆ ExportAudioSkipSilenceAtBeginning

BoolSetting anonymous_namespace{ExportAudioDialog.cpp}::ExportAudioSkipSilenceAtBeginning { L"/ExportAudioDialog/SkipSilenceAtBeginning", false }

Definition at line 103 of file ExportAudioDialog.cpp.

Referenced by ExportAudioDialog::PopulateOrExchange().

◆ ExportAudioSplitMode

ChoiceSetting anonymous_namespace{ExportAudioDialog.cpp}::ExportAudioSplitMode
Initial value:
{ L"/ExportAudioDialog/SplitMode",
{
{ "tracks", XO("Tracks") },
{ "labels", XO("Labels") }
},
0
}

Definition at line 82 of file ExportAudioDialog.cpp.

Referenced by ExportAudioDialog::PopulateOrExchange().

◆ ExportAudioSplitNamePolicy

ChoiceSetting anonymous_namespace{ExportAudioDialog.cpp}::ExportAudioSplitNamePolicy
Initial value:
{ L"/ExportAudioDialog/SplitNamePolicy",
{
{ "name", XO("Using Label/Track Name") },
{ "num_and_name", XO("Numbering before Label/Track Name") },
{ "num_and_prefix", XO("Numbering after File name prefix") }
},
0
}

Definition at line 90 of file ExportAudioDialog.cpp.

Referenced by ExportAudioDialog::ExportAudioDialog(), and ExportAudioDialog::PopulateOrExchange().

◆ hookRegistered

const bool anonymous_namespace{ExportAudioDialog.cpp}::hookRegistered
Initial value:
= [] {
AudiocomTrace , bool selectedOnly) {
project.GetProjectName(), format,
selectedOnly
};
dialog.ShowModal();
});
return true;
}()
AudiocomTrace
Definition: ExportUtils.h:27
wxString FileExtension
File extension, not including any leading dot.
Definition: Identifier.h:224
AUDACITY_DLL_API wxFrame & GetProjectFrame(AudacityProject &project)
Get the top-level window associated with the project (as a wxFrame only, when you do not need to use ...
const auto project
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
static void RegisterExportHook(ExportHook hook, Priority=DEFAULT_EXPORT_HOOK_PRIORITY)
Definition: ExportUtils.cpp:67

Definition at line 55 of file ExportAudioDialog.cpp.