AVBlocks for C++  1.13
Audio and Video Software Development Kit
primo::codecs::AudioChannelFlags Namespace Reference

Defines the speaker location of one or more audio channels. More...

Enumerations

enum  Enum {
  None = 0x0,
  Left = 0x1,
  Right = 0x2,
  Center = 0x4,
  LFE = 0x8,
  BackLeft = 0x10,
  BackRight = 0x20,
  LeftCenter = 0x40,
  RightCenter = 0x80,
  BackCenter = 0x100,
  SideLeft = 0x200,
  SideRight = 0x400,
  TopCenter = 0x800,
  TopFrontLeft = 0x1000,
  TopFrontCenter = 0x2000,
  TopFrontRight = 0x4000,
  TopBackLeft = 0x8000,
  TopBackCenter = 0x10000,
  TopBackRight = 0x20000,
  LayoutMono = Center,
  LayoutStereo = Left | Right,
  Layout2p1 = Left | Right | LFE,
  LayoutSurround = Left | Right | Center | BackCenter,
  LayoutQuad = Left | Right | BackLeft | BackRight,
  Layout4p1 = Left | Right | LFE | BackLeft | BackRight,
  Layout5p1 = Left | Right | Center | LFE | BackLeft | BackRight,
  Layout7p1Surround = Left | Right | Center | LFE | BackLeft | BackRight | SideLeft | SideRight,
  Layout5p1Surround = Left | Right | Center | LFE | SideLeft | SideRight,
  Layout7p1 = Left | Right | Center | LFE | BackLeft | BackRight | LeftCenter | RightCenter
}
 AudioChannelFlags::Enum. More...
 

Detailed Description

Defines the speaker location of one or more audio channels.

These channel constants are expressed as bit flags and can be combined together. A number of common speaker layouts are defined for convenience.

Enumeration Type Documentation

enum Enum

AudioChannelFlags::Enum.

Enumerator
None 

No flag is set.

Left 

Left.

Right 

Right.

Center 

Center.

LFE 

Low-frequency effect.

Subwoofer.

BackLeft 

Back-left.

Also known as Left Surround.

BackRight 

Back-right.

Also known as Right Surround.

LeftCenter 

Front, left of center.

RightCenter 

Front, right of center.

BackCenter 

Back-center.

Also known as Center Surround.

SideLeft 

Side-left.

Also known as Left Surround Direct.

SideRight 

Side-right.

Also known as Right Surround Direct.

TopCenter 

Top-center.

Also known as Top Center Surround.

TopFrontLeft 

Top-front-left.

Also known as Vertical Height Left.

TopFrontCenter 

Top-front-center.

Also known as Vertical Height Center.

TopFrontRight 

Top-front-right.

Also known as Vertical Height Right.

TopBackLeft 

Top-back-left.

TopBackCenter 

Top-back-center.

TopBackRight 

Top-back-right.

LayoutMono 

Mono.

LayoutStereo 

Stereo.

Layout2p1 

Standard 3-channel layout (2.1)

LayoutSurround 

Standard 4-channel layout.

Surround.

LayoutQuad 

Alternative 4-channel layout.

Layout4p1 

Standard 5-channel layout (4.1)

Layout5p1 

Standard 6-channel layout (5.1)

Layout7p1Surround 

Standard 8-channel layout (7.1).

Surround.

Layout5p1Surround 

Alternative 6-channel surround (5.1).

Surround.

Layout7p1 

Alternative 8-channel layout (7.1)