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

Audio stream data system More...

Classes

struct  game_stream_audio_properties
 Game audio stream properties More...
 
struct  game_stream_audio_packet
 Audio stream packet More...
 

Typedefs

typedef enum GAME_PCM_FORMAT GAME_PCM_FORMAT
 Stream Format
 
typedef enum GAME_AUDIO_CHANNEL GAME_AUDIO_CHANNEL
 Audio channel
 
typedef struct game_stream_audio_properties game_stream_audio_properties
 Game audio stream properties
 
typedef struct game_stream_audio_packet game_stream_audio_packet
 Audio stream packet
 

Enumerations

enum  GAME_PCM_FORMAT { GAME_PCM_FORMAT_UNKNOWN , GAME_PCM_FORMAT_S16NE }
 Stream Format More...
 
enum  GAME_AUDIO_CHANNEL {
  GAME_CH_NULL , GAME_CH_FL , GAME_CH_FR , GAME_CH_FC ,
  GAME_CH_LFE , GAME_CH_BL , GAME_CH_BR , GAME_CH_FLOC ,
  GAME_CH_FROC , GAME_CH_BC , GAME_CH_SL , GAME_CH_SR ,
  GAME_CH_TFL , GAME_CH_TFR , GAME_CH_TFC , GAME_CH_TC ,
  GAME_CH_TBL , GAME_CH_TBR , GAME_CH_TBC , GAME_CH_BLOC ,
  GAME_CH_BROC
}
 Audio channel More...
 

Detailed Description

Audio stream data system

Used to provide the add-on with the current audio stream configuration from Kodi and arrays to pass related data back to Kodi during callbacks.

Typedef Documentation

◆ GAME_AUDIO_CHANNEL

Audio channel

Channel identification flags.

◆ GAME_PCM_FORMAT

Stream Format

Audio sample format requested by Kodi.

◆ game_stream_audio_packet

Audio stream packet

This packet contains audio stream data passed to Kodi.

◆ game_stream_audio_properties

Game audio stream properties

Used by Kodi to pass the currently required audio stream settings to the add-on

Enumeration Type Documentation

◆ GAME_AUDIO_CHANNEL

Audio channel

Channel identification flags.

Enumerator
GAME_CH_NULL 

Channel list terminator.

GAME_CH_FL 

Channel front left.

GAME_CH_FR 

Channel front right.

GAME_CH_FC 

Channel front center.

GAME_CH_LFE 

Channel low frequency effects / subwoofer.

GAME_CH_BL 

Channel back left.

GAME_CH_BR 

Channel back right.

GAME_CH_FLOC 

Channel front left over center.

GAME_CH_FROC 

Channel front right over center.

GAME_CH_BC 

Channel back center.

GAME_CH_SL 

Channel surround/side left.

GAME_CH_SR 

Channel surround/side right.

GAME_CH_TFL 

Channel top front left.

GAME_CH_TFR 

Channel top front right.

GAME_CH_TFC 

Channel top front center.

GAME_CH_TC 

Channel top center.

GAME_CH_TBL 

Channel top back left.

GAME_CH_TBR 

Channel top back right.

GAME_CH_TBC 

Channel top back center.

GAME_CH_BLOC 

Channel back left over center.

GAME_CH_BROC 

Channel back right over center.

◆ GAME_PCM_FORMAT

Stream Format

Audio sample format requested by Kodi.

Enumerator
GAME_PCM_FORMAT_UNKNOWN 
GAME_PCM_FORMAT_S16NE 

S16NE sample format.