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

Enumerations

enum  : int { MP2OptionIDVersion = 0 , MP2OptionIDBitRateMPEG1 = 1 , MP2OptionIDBitRateMPEG2 = 2 }
 

Functions

TranslatableString n_kbps (int n)
 

Variables

const TranslatableStrings BitRateMPEG1Names
 
const TranslatableStrings BitRateMPEG2Names
 
const std::initializer_list< ExportOptionMP2Options
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
MP2OptionIDVersion 
MP2OptionIDBitRateMPEG1 
MP2OptionIDBitRateMPEG2 

Definition at line 110 of file ExportMP2.cpp.

Function Documentation

◆ n_kbps()

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

Definition at line 73 of file ExportMP2.cpp.

73{ return XO("%d kbps").Format( n ); }
XO("Cut/Copy/Paste")

References XO().

Here is the call graph for this function:

Variable Documentation

◆ BitRateMPEG1Names

const TranslatableStrings anonymous_namespace{ExportMP2.cpp}::BitRateMPEG1Names
Initial value:
{
n_kbps(32),
n_kbps(48),
n_kbps(56),
n_kbps(64),
n_kbps(80),
n_kbps(96),
n_kbps(112),
n_kbps(128),
n_kbps(160),
n_kbps(192),
n_kbps(224),
n_kbps(256),
n_kbps(320),
n_kbps(384),
}
TranslatableString n_kbps(int n)
Definition: ExportMP3.cpp:121

Definition at line 76 of file ExportMP2.cpp.

◆ BitRateMPEG2Names

const TranslatableStrings anonymous_namespace{ExportMP2.cpp}::BitRateMPEG2Names
Initial value:
{
n_kbps(8),
n_kbps(16),
n_kbps(24),
n_kbps(32),
n_kbps(40),
n_kbps(48),
n_kbps(56),
n_kbps(64),
n_kbps(80),
n_kbps(96),
n_kbps(112),
n_kbps(128),
n_kbps(144),
n_kbps(160)
}

Definition at line 93 of file ExportMP2.cpp.

◆ MP2Options

const std::initializer_list<ExportOption> anonymous_namespace{ExportMP2.cpp}::MP2Options
Initial value:
{
{
MP2OptionIDVersion, XO("Version"),
1,
{ 0, 1 },
{ XO("MPEG2"), XO("MPEG1") },
},
{
192,
{ 32, 48, 56, 64, 80, 96,112,128,160, 192, 224, 256, 320, 384 },
},
{
96,
{ 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160 },
}
}
const TranslatableStrings BitRateMPEG2Names
Definition: ExportMP2.cpp:93
const TranslatableStrings BitRateMPEG1Names
Definition: ExportMP2.cpp:76
@ TypeEnum
List/enum option. values holds items, and names text to be displayed.
Definition: ExportTypes.h:48
@ Hidden
Option is not used and may be hidden from the user.
Definition: ExportTypes.h:51

Definition at line 116 of file ExportMP2.cpp.