Audacity 3.2.0
Namespaces | Macros | Enumerations | Functions | Variables
ExportFFmpegDialogs.cpp File Reference
#include "ExportFFmpegDialogs.h"
#include "../FFmpeg.h"
#include "FFmpegFunctions.h"
#include <wx/app.h>
#include <wx/checkbox.h>
#include <wx/choice.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 "FileDialog/FileDialog.h"
#include "Mix.h"
#include "Tags.h"
#include "AudacityMessageBox.h"
#include "HelpSystem.h"
#include "Export.h"
Include dependency graph for ExportFFmpegDialogs.cpp:

Go to the source code of this file.

Namespaces

namespace  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 76 of file ExportFFmpegDialogs.cpp.

◆ FFMPEG_EXPORT_CTRL_ID_ENTRY [1/2]

#define FFMPEG_EXPORT_CTRL_ID_ENTRY (   name)    name

Definition at line 128 of file ExportFFmpegDialogs.cpp.

◆ FFMPEG_EXPORT_CTRL_ID_ENTRY [2/2]

#define FFMPEG_EXPORT_CTRL_ID_ENTRY (   name)    wxT(#name)

Definition at line 128 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 126 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 126 of file ExportFFmpegDialogs.cpp.

◆ OpenID

#define OpenID   9000

Definition at line 760 of file ExportFFmpegDialogs.cpp.

Enumeration Type Documentation

◆ FFmpegExportCtrlID

Enumerator
FFMPEG_EXPORT_CTRL_ID_ENTRIES 

Definition at line 120 of file ExportFFmpegDialogs.cpp.

120 {
122};
#define FFMPEG_EXPORT_CTRL_ID_ENTRIES

Function Documentation

◆ FileTypes()

static const FileNames::FileTypes & FileTypes ( )
static

Definition at line 2292 of file ExportFFmpegDialogs.cpp.

2293{
2294 static const FileNames::FileTypes result{
2296 return result;
2297};
FILES_API const FileType XMLFiles
Definition: FileNames.h:73
std::vector< FileType > FileTypes
Definition: FileNames.h:75
FILES_API const FileType AllFiles
Definition: FileNames.h:70

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,
}
wxT("CloseDown"))
XO("Cut/Copy/Paste")

AAC profiles.

Definition at line 1593 of file ExportFFmpegDialogs.cpp.

Referenced by ExportFFmpegOptions::PopulateOrExchange().

◆ FFmpegExportCtrlIDNames

const wxChar* FFmpegExportCtrlIDNames[]
static
Initial value:

Definition at line 129 of file ExportFFmpegDialogs.cpp.

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