The OpenD Programming Language

cef_channel_layout_t

Enumerates the various representations of the ordering of audio channels. Must be kept synchronized with media::ChannelLayout from Chromium. See media\base\channel_layout.h

Values

ValueMeaning
CEF_CHANNEL_LAYOUT_NONE0
CEF_CHANNEL_LAYOUT_UNSUPPORTED1
CEF_CHANNEL_LAYOUT_MONO2

Front C

CEF_CHANNEL_LAYOUT_STEREO3

Front L, Front R

CEF_CHANNEL_LAYOUT_2_14

Front L, Front R, Back C

CEF_CHANNEL_LAYOUT_SURROUND5

Front L, Front R, Front C

CEF_CHANNEL_LAYOUT_4_06

Front L, Front R, Front C, Back C

CEF_CHANNEL_LAYOUT_2_27

Front L, Front R, Side L, Side R

CEF_CHANNEL_LAYOUT_QUAD8

Front L, Front R, Back L, Back R

CEF_CHANNEL_LAYOUT_5_09

Front L, Front R, Front C, Side L, Side R

CEF_CHANNEL_LAYOUT_5_110

Front L, Front R, Front C, LFE, Side L, Side R

CEF_CHANNEL_LAYOUT_5_0_BACK11

Front L, Front R, Front C, Back L, Back R

CEF_CHANNEL_LAYOUT_5_1_BACK12

Front L, Front R, Front C, LFE, Back L, Back R

CEF_CHANNEL_LAYOUT_7_013

Front L, Front R, Front C, Back L, Back R, Side L, Side R

CEF_CHANNEL_LAYOUT_7_114

Front L, Front R, Front C, LFE, Back L, Back R, Side L, Side R

CEF_CHANNEL_LAYOUT_7_1_WIDE15

Front L, Front R, Front C, LFE, Front LofC, Front RofC, Side L, Side R

CEF_CHANNEL_LAYOUT_STEREO_DOWNMIX16

Front L, Front R

CEF_CHANNEL_LAYOUT_2POINT117

Front L, Front R, LFE

CEF_CHANNEL_LAYOUT_3_118

Front L, Front R, Front C, LFE

CEF_CHANNEL_LAYOUT_4_119

Front L, Front R, Front C, LFE, Back C

CEF_CHANNEL_LAYOUT_6_020

Front L, Front R, Front C, Back C, Side L, Side R

CEF_CHANNEL_LAYOUT_6_0_FRONT21

Front L, Front R, Front LofC, Front RofC, Side L, Side R

CEF_CHANNEL_LAYOUT_HEXAGONAL22

Front L, Front R, Front C, Back L, Back R, Back C

CEF_CHANNEL_LAYOUT_6_123

Front L, Front R, Front C, LFE, Back C, Side L, Side R

CEF_CHANNEL_LAYOUT_6_1_BACK24

Front L, Front R, Front C, LFE, Back L, Back R, Back C

CEF_CHANNEL_LAYOUT_6_1_FRONT25

Front L, Front R, LFE, Front LofC, Front RofC, Side L, Side R

CEF_CHANNEL_LAYOUT_7_0_FRONT26

Front L, Front R, Front C, Front LofC, Front RofC, Side L, Side R

CEF_CHANNEL_LAYOUT_7_1_WIDE_BACK27

Front L, Front R, Front C, LFE, Back L, Back R, Front LofC, Front RofC

CEF_CHANNEL_LAYOUT_OCTAGONAL28

Front L, Front R, Front C, Back L, Back R, Back C, Side L, Side R

CEF_CHANNEL_LAYOUT_DISCRETE29

Channels are not explicitly mapped to speakers.

CEF_CHANNEL_LAYOUT_STEREO_AND_KEYBOARD_MIC30

Deprecated, but keeping the enum value for UMA consistency. Front L, Front R, Front C. Front C contains the keyboard mic audio. This layout is only intended for input for WebRTC. The Front C channel is stripped away in the WebRTC audio input pipeline and never seen outside of that.

CEF_CHANNEL_LAYOUT_4_1_QUAD_SIDE31

Front L, Front R, LFE, Side L, Side R

CEF_CHANNEL_LAYOUT_BITSTREAM32

Actual channel layout is specified in the bitstream and the actual channel count is unknown at Chromium media pipeline level (useful for audio pass-through mode).

CEF_CHANNEL_LAYOUT_5_1_4_DOWNMIX33

Front L, Front R, Front C, LFE, Side L, Side R, Front Height L, Front Height R, Rear Height L, Rear Height R Will be represented as six channels (5.1) due to eight channel limit kMaxConcurrentChannels

CEF_CHANNEL_LAYOUT_1_134

Front C, LFE

CEF_CHANNEL_LAYOUT_3_1_BACK35

Front L, Front R, LFE, Back C

CEF_CHANNEL_LAYOUT_MAXCEF_CHANNEL_LAYOUT_3_1_BACK

Max value, must always equal the largest entry ever logged.

Meta