Kodi Development 22.0
for Binary and Script based Add-Ons
 
Loading...
Searching...
No Matches

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.


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 to the audio stream data given to Kodi.
size_t size Size of the 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 add-on

Class Members
GAME_PCM_FORMAT format
const GAME_AUDIO_CHANNEL * channel_map

Enumeration Type Documentation

◆ GAME_PCM_FORMAT

Stream Format

Audio sample format requested by Kodi.

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

GAME_CH_BROC 

Channel back right over center.