Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches

The possible channels
Used to set available or used channels on stream. More...

Enumerations

enum  AudioEngineChannel {
  AUDIOENGINE_CH_NULL = -1 , AUDIOENGINE_CH_RAW , AUDIOENGINE_CH_FL , AUDIOENGINE_CH_FR ,
  AUDIOENGINE_CH_FC , AUDIOENGINE_CH_LFE , AUDIOENGINE_CH_BL , AUDIOENGINE_CH_BR ,
  AUDIOENGINE_CH_FLOC , AUDIOENGINE_CH_FROC , AUDIOENGINE_CH_BC , AUDIOENGINE_CH_SL ,
  AUDIOENGINE_CH_SR , AUDIOENGINE_CH_TFL , AUDIOENGINE_CH_TFR , AUDIOENGINE_CH_TFC ,
  AUDIOENGINE_CH_TC , AUDIOENGINE_CH_TBL , AUDIOENGINE_CH_TBR , AUDIOENGINE_CH_TBC ,
  AUDIOENGINE_CH_BLOC , AUDIOENGINE_CH_BROC , AUDIOENGINE_CH_MAX
}
 

Detailed Description

The possible channels
Used to set available or used channels on stream.


Usage example:

format.SetChannelLayout(std::vector<AudioEngineChannel>(AUDIOENGINE_CH_FL, AUDIOENGINE_CH_FR));
const char unsigned int int int int int64_t int enum AudioEngineDataFormat * format
Definition addons/kodi-dev-kit/include/kodi/c-api/addon-instance/AudioDecoder.h:113
Definition kodi-dev-kit/include/kodi/AudioEngine.h:104
@ AUDIOENGINE_CH_FR
Front right.
Definition audio_engine.h:78
@ AUDIOENGINE_CH_FL
Front left.
Definition audio_engine.h:76
void SetChannelLayout(const std::vector< enum AudioEngineChannel > &layout)
The stream's channel layout.
Definition kodi-dev-kit/include/kodi/AudioEngine.h:163

Enumeration Type Documentation

◆ AudioEngineChannel

Enumerator
AUDIOENGINE_CH_NULL 

Used inside to indicate the end of a list and not for addon use directly.

AUDIOENGINE_CH_RAW 

RAW Audio format.

AUDIOENGINE_CH_FL 

Front left.

AUDIOENGINE_CH_FR 

Front right.

AUDIOENGINE_CH_FC 

Front center.

AUDIOENGINE_CH_LFE 

LFE / Subwoofer.

AUDIOENGINE_CH_BL 

Back left.

AUDIOENGINE_CH_BR 

Back right.

AUDIOENGINE_CH_FLOC 

Front left over center.

AUDIOENGINE_CH_FROC 

Front right over center.

AUDIOENGINE_CH_BC 

Back center.

AUDIOENGINE_CH_SL 

Side left.

AUDIOENGINE_CH_SR 

Side right.

AUDIOENGINE_CH_TFL 

Top front left.

AUDIOENGINE_CH_TFR 

Top front right.

AUDIOENGINE_CH_TFC 

Top front center.

AUDIOENGINE_CH_TC 

Top center.

AUDIOENGINE_CH_TBL 

Top back left.

AUDIOENGINE_CH_TBR 

Top back right.

AUDIOENGINE_CH_TBC 

Top back center.

AUDIOENGINE_CH_BLOC 

Back left over center.

AUDIOENGINE_CH_BROC 

Back right over center.

AUDIOENGINE_CH_MAX 

Maximum possible value, to use e.g. as size inside list.