Audacity 3.2.0
Classes | Enumerations | Functions | Variables
anonymous_namespace{ExportFFmpeg.cpp} Namespace Reference

Classes

class  ExportOptionsFFmpegCustomEditor
 

Enumerations

enum  : int { AC3OptionIDBitRate = 0 }
 
enum  : int { AACOptionIDQuality = 0 }
 
enum  : int { AMRNBOptionIDBitRate = 0 }
 
enum  : int { WMAOptionIDBitRate = 0 }
 

Functions

ExportOptionsEditor::SampleRateList ToSampleRateList (const int *rates)
 
TranslatableString n_kbps (int n)
 
TranslatableString f_kbps (double d)
 

Variables

const int iAC3SampleRates []
 
const int iWMASampleRates []
 
const std::initializer_list< PlainExportOptionsEditor::OptionDescAC3Options
 
const std::initializer_list< PlainExportOptionsEditor::OptionDescAACOptions
 
const std::initializer_list< PlainExportOptionsEditor::OptionDescAMRNBOptions
 
const std::initializer_list< PlainExportOptionsEditor::OptionDescWMAOptions
 
const std::vector< ExportOptionFFmpegOptions
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
AC3OptionIDBitRate 

Definition at line 94 of file ExportFFmpeg.cpp.

◆ anonymous enum

anonymous enum : int
Enumerator
AACOptionIDQuality 

Definition at line 151 of file ExportFFmpeg.cpp.

◆ anonymous enum

anonymous enum : int
Enumerator
AMRNBOptionIDBitRate 

Definition at line 168 of file ExportFFmpeg.cpp.

◆ anonymous enum

anonymous enum : int
Enumerator
WMAOptionIDBitRate 

Definition at line 329 of file ExportFFmpeg.cpp.

Function Documentation

◆ f_kbps()

TranslatableString anonymous_namespace{ExportFFmpeg.cpp}::f_kbps ( double  d)

Definition at line 92 of file ExportFFmpeg.cpp.

92{ return XO("%.2f kbps").Format( d ); }
XO("Cut/Copy/Paste")

References XO().

Here is the call graph for this function:

◆ n_kbps()

TranslatableString anonymous_namespace{ExportFFmpeg.cpp}::n_kbps ( int  n)

Definition at line 91 of file ExportFFmpeg.cpp.

91{ return XO("%d kbps").Format( n ); }

References XO().

Here is the call graph for this function:

◆ ToSampleRateList()

ExportOptionsEditor::SampleRateList anonymous_namespace{ExportFFmpeg.cpp}::ToSampleRateList ( const int *  rates)
Parameters
rates0-terminated array

Definition at line 81 of file ExportFFmpeg.cpp.

82{
84 int index = 0;
85 while(rates[index] != 0)
86 list.push_back(rates[index++]);
87 return list;
88}
std::vector< int > SampleRateList

Referenced by ExportFFmpeg::CreateOptionsEditor(), and anonymous_namespace{ExportFFmpeg.cpp}::ExportOptionsFFmpegCustomEditor::GetSampleRateList().

Here is the caller graph for this function:

Variable Documentation

◆ AACOptions

const std::initializer_list<PlainExportOptionsEditor::OptionDesc> anonymous_namespace{ExportFFmpeg.cpp}::AACOptions
Initial value:
{
{
{
AACOptionIDQuality, XO("Quality (kbps)"),
256,
{98, 320}
}, wxT("/FileFormats/AACQuality")
}
}
wxT("CloseDown"))
@ TypeRange
Range option. values holds [min, max].
Definition: ExportTypes.h:47

Definition at line 157 of file ExportFFmpeg.cpp.

Referenced by ExportFFmpeg::CreateOptionsEditor().

◆ AC3Options

const std::initializer_list<PlainExportOptionsEditor::OptionDesc> anonymous_namespace{ExportFFmpeg.cpp}::AC3Options

Definition at line 99 of file ExportFFmpeg.cpp.

Referenced by ExportFFmpeg::CreateOptionsEditor().

◆ AMRNBOptions

const std::initializer_list<PlainExportOptionsEditor::OptionDesc> anonymous_namespace{ExportFFmpeg.cpp}::AMRNBOptions
Initial value:
{
{
{
AMRNBOptionIDBitRate, XO("Bit Rate"),
12200,
{
4750,
5150,
5900,
6700,
7400,
7950,
10200,
12200,
},
{
f_kbps( 4.75 ),
f_kbps( 5.15 ),
f_kbps( 5.90 ),
f_kbps( 6.70 ),
f_kbps( 7.40 ),
f_kbps( 7.95 ),
f_kbps( 10.20 ),
f_kbps( 12.20 ),
}
}, wxT("/FileFormats/AMRNBBitRate")
}
}
TranslatableString f_kbps(double d)
@ TypeEnum
List/enum option. values holds items, and names text to be displayed.
Definition: ExportTypes.h:48

Definition at line 173 of file ExportFFmpeg.cpp.

Referenced by ExportFFmpeg::CreateOptionsEditor().

◆ FFmpegOptions

const std::vector<ExportOption> anonymous_namespace{ExportFFmpeg.cpp}::FFmpegOptions
Initial value:
{
{ FELanguageID, {}, std::string() },
{ FESampleRateID, {}, 0 },
{ FEBitrateID, {}, 0 },
{ FETagID, {}, std::string() },
{ FEQualityID, {}, 0 },
{ FECutoffID, {}, 0},
{ FEBitReservoirID, {}, true },
{ FEVariableBlockLenID, {}, true },
{ FECompLevelID, {}, -1 },
{ FEFrameSizeID, {}, 0 },
{ FELPCCoeffsID, {}, 0 },
{ FEMinPredID, {}, -1 },
{ FEMaxPredID, {}, -1 },
{ FEMinPartOrderID, {}, -1 },
{ FEMaxPartOrderID, {}, -1 },
{ FEPredOrderID, {}, 0 },
{ FEMuxRateID, {}, 0 },
{ FEPacketSizeID, {}, 0 },
{ FECodecID, {}, std::string() },
{ FEFormatID, {}, std::string() }
}

Definition at line 372 of file ExportFFmpeg.cpp.

Referenced by anonymous_namespace{ExportFFmpeg.cpp}::ExportOptionsFFmpegCustomEditor::GetOption(), and anonymous_namespace{ExportFFmpeg.cpp}::ExportOptionsFFmpegCustomEditor::GetOptionsCount().

◆ iAC3SampleRates

const int anonymous_namespace{ExportFFmpeg.cpp}::iAC3SampleRates[]
Initial value:
=
{ 32000, 44100, 48000, 0 }

Definition at line 74 of file ExportFFmpeg.cpp.

Referenced by ExportFFmpeg::CreateOptionsEditor(), and FFmpegExporter::InitCodecs().

◆ iWMASampleRates

const int anonymous_namespace{ExportFFmpeg.cpp}::iWMASampleRates[]
Initial value:
=
{ 8000, 11025, 16000, 22050, 44100, 0}

Definition at line 77 of file ExportFFmpeg.cpp.

Referenced by ExportFFmpeg::CreateOptionsEditor(), and FFmpegExporter::InitCodecs().

◆ WMAOptions

const std::initializer_list<PlainExportOptionsEditor::OptionDesc> anonymous_namespace{ExportFFmpeg.cpp}::WMAOptions

Definition at line 334 of file ExportFFmpeg.cpp.

Referenced by ExportFFmpeg::CreateOptionsEditor().