Audacity  3.0.3
Namespaces | Macros | Enumerations | Functions | Variables
ExportFFmpegDialogs.cpp File Reference
#include "ExportFFmpegDialogs.h"
#include "../FFmpeg.h"
#include <wx/app.h>
#include <wx/checkbox.h>
#include <wx/choice.h>
#include <wx/intl.h>
#include <wx/timer.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include <wx/listbox.h>
#include <wx/window.h>
#include <wx/spinctrl.h>
#include <wx/combobox.h>
#include <wx/stattext.h>
#include "../widgets/FileDialog/FileDialog.h"
#include "../Mix.h"
#include "../Tags.h"
#include "../widgets/AudacityMessageBox.h"
#include "../widgets/HelpSystem.h"
#include "Export.h"
Include dependency graph for ExportFFmpegDialogs.cpp:

Go to the source code of this file.

Namespaces

 anonymous_namespace{ExportFFmpegDialogs.cpp}
 

Macros

#define FFMPEG_EXPORT_CTRL_ID_ENTRIES
 
#define FFMPEG_EXPORT_CTRL_ID_FIRST_ENTRY(name, num)   name = num
 
#define FFMPEG_EXPORT_CTRL_ID_ENTRY(name)   name
 
#define FFMPEG_EXPORT_CTRL_ID_FIRST_ENTRY(name, num)   wxT(#name)
 
#define FFMPEG_EXPORT_CTRL_ID_ENTRY(name)   wxT(#name)
 
#define OpenID   9000
 

Enumerations

enum  FFmpegExportCtrlID { FFMPEG_EXPORT_CTRL_ID_ENTRIES }
 

Functions

TranslatableString anonymous_namespace{ExportFFmpegDialogs.cpp}::n_kbps (int n)
 
TranslatableString anonymous_namespace{ExportFFmpegDialogs.cpp}::f_kbps (double d)
 
static const FileNames::FileTypes & FileTypes ()
 

Variables

static const wxChar * FFmpegExportCtrlIDNames []
 
const TranslatableStrings anonymous_namespace{ExportFFmpegDialogs.cpp}::AC3BitRateNames
 
const std::vector< int > anonymous_namespace{ExportFFmpegDialogs.cpp}::AC3BitRateValues
 
const TranslatableStrings anonymous_namespace{ExportFFmpegDialogs.cpp}::AMRNBBitRateNames
 
const std::vector< int > anonymous_namespace{ExportFFmpegDialogs.cpp}::AMRNBBitRateValues
 
ChoiceSetting anonymous_namespace{ExportFFmpegDialogs.cpp}::OPUSBitrate
 Bit Rates supported by OPUS encoder. Setting bit rate to other values will not result in different file size. More...
 
ChoiceSetting anonymous_namespace{ExportFFmpegDialogs.cpp}::OPUSCompression
 
ChoiceSetting anonymous_namespace{ExportFFmpegDialogs.cpp}::OPUSVbrMode
 
ChoiceSetting anonymous_namespace{ExportFFmpegDialogs.cpp}::OPUSApplication
 
ChoiceSetting anonymous_namespace{ExportFFmpegDialogs.cpp}::OPUSFrameDuration
 
ChoiceSetting anonymous_namespace{ExportFFmpegDialogs.cpp}::OPUSCutoff
 
const TranslatableStrings anonymous_namespace{ExportFFmpegDialogs.cpp}::WMABitRateNames
 Bit Rates supported by WMA encoder. Setting bit rate to other values will not result in different file size. More...
 
const std::vector< int > anonymous_namespace{ExportFFmpegDialogs.cpp}::WMABitRateValues
 
ChoiceSetting AACProfiles
 AAC profiles. More...
 
const TranslatableStrings anonymous_namespace{ExportFFmpegDialogs.cpp}::PredictionOrderMethodNames
 Prediction order method - names. More...
 

Macro Definition Documentation

◆ FFMPEG_EXPORT_CTRL_ID_ENTRIES

#define FFMPEG_EXPORT_CTRL_ID_ENTRIES

This construction defines a enumeration of UI element IDs, and a static array of their string representations (this way they're always synchronized). Do not store the enumerated values in external files, as they may change; the strings may be stored.

Definition at line 77 of file ExportFFmpegDialogs.cpp.

◆ FFMPEG_EXPORT_CTRL_ID_ENTRY [1/2]

#define FFMPEG_EXPORT_CTRL_ID_ENTRY (   name)    name

Definition at line 129 of file ExportFFmpegDialogs.cpp.

◆ FFMPEG_EXPORT_CTRL_ID_ENTRY [2/2]

#define FFMPEG_EXPORT_CTRL_ID_ENTRY (   name)    wxT(#name)

Definition at line 129 of file ExportFFmpegDialogs.cpp.

◆ FFMPEG_EXPORT_CTRL_ID_FIRST_ENTRY [1/2]

#define FFMPEG_EXPORT_CTRL_ID_FIRST_ENTRY (   name,
  num 
)    name = num

Definition at line 127 of file ExportFFmpegDialogs.cpp.

◆ FFMPEG_EXPORT_CTRL_ID_FIRST_ENTRY [2/2]

#define FFMPEG_EXPORT_CTRL_ID_FIRST_ENTRY (   name,
  num 
)    wxT(#name)

Definition at line 127 of file ExportFFmpegDialogs.cpp.

◆ OpenID

#define OpenID   9000

Definition at line 772 of file ExportFFmpegDialogs.cpp.

Enumeration Type Documentation

◆ FFmpegExportCtrlID

Enumerator
FFMPEG_EXPORT_CTRL_ID_ENTRIES 

Definition at line 121 of file ExportFFmpegDialogs.cpp.

121  {
123 };

Function Documentation

◆ FileTypes()

static const FileNames::FileTypes& FileTypes ( )
static

Definition at line 2277 of file ExportFFmpegDialogs.cpp.

2278 {
2279  static const FileNames::FileTypes result{
2281  return result;
2282 };

References FileNames::AllFiles, and FileNames::XMLFiles.

Referenced by ExportFFmpegOptions::OnExportPresets(), and ExportFFmpegOptions::OnImportPresets().

Here is the caller graph for this function:

Variable Documentation

◆ AACProfiles

ChoiceSetting AACProfiles
Initial value:
{ wxT("/FileFormats/FFmpegAACProfile"),
{
{wxT("1") , XO("LC")},
{wxT("0") , XO("Main")},
{wxT("3") , XO("LTP")},
},
0,
}

AAC profiles.

Definition at line 1610 of file ExportFFmpegDialogs.cpp.

Referenced by ExportFFmpegOptions::PopulateOrExchange().

◆ FFmpegExportCtrlIDNames

const wxChar* FFmpegExportCtrlIDNames[]
static
Initial value:

Definition at line 130 of file ExportFFmpegDialogs.cpp.

Referenced by FFmpegPresets::HandleXMLTag(), and FFmpegPresets::WriteXML().

FFMPEG_EXPORT_CTRL_ID_ENTRIES
#define FFMPEG_EXPORT_CTRL_ID_ENTRIES
Definition: ExportFFmpegDialogs.cpp:77
XO
#define XO(s)
Definition: Internat.h:31
FileNames::XMLFiles
FILES_API const FileType XMLFiles
Definition: FileNames.h:74
FileNames::AllFiles
FILES_API const FileType AllFiles
Definition: FileNames.h:71
FileNames::FileTypes
std::vector< FileType > FileTypes
Definition: FileNames.h:76