Kodi Development  20.0
for Binary and Script based Add-Ons

Detailed Description

The for Audio stream used data system

Used to give Addon currently used audio stream configuration on Kodi and arrays to give related data to Kodi on callbacks.


Class Documentation

◆ game_stream_audio_packet

struct game_stream_audio_packet

Audio stream packet

This packet contains audio stream data passed to Kodi.

Class Members
const uint8_t * data Pointer for audio stream data given to Kodi.
size_t size Size of data array.

◆ game_stream_audio_properties

struct game_stream_audio_properties

Game audio stream properties

Used by Kodi to pass the currently required audio stream settings to the addon

Class Members
GAME_PCM_FORMAT format
const GAME_AUDIO_CHANNEL * channel_map

Enumeration Type Documentation

◆ GAME_PCM_FORMAT

Stream Format

From Kodi requested specified audio sample format.

Enumerator
GAME_PCM_FORMAT_S16NE 

S16NE sample format.

◆ 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 bacl left over center.

GAME_CH_BROC 

Channel back right over center.