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

Audio decoder add-on instance definition values
All audio decoder functions associated data structures. More...

Topics

 class AudioDecoderInfoTag
 Info tag data structure
Representation of available information of processed audio file.
 
 enum AUDIODECODER_READ_RETURN
 Return value about kodi::addon::CInstanceAudioDecoder::ReadPCM()
 
#define KODI_ADDON_AUDIODECODER_TRACK_EXT   "_adecstrm"
 Identifier which is attached to stream files and with defined names in addon.xml (name="???") if addon supports "tracks" (set in addon.xml tracks="true").
 
#define KODI_ADDON_AUDIODECODER_GET_TRACK_EXT(name)   "." name KODI_ADDON_AUDIODECODER_TRACK_EXT
 Macro to get file extension to track supported files.
 

Detailed Description

Audio decoder add-on instance definition values
All audio decoder functions associated data structures.

Used to exchange the available options between Kodi and addon.
The groups described here correspond to the groups of functions on audio decoder instance class.

Macro Definition Documentation

◆ KODI_ADDON_AUDIODECODER_GET_TRACK_EXT

#define KODI_ADDON_AUDIODECODER_GET_TRACK_EXT ( name)    "." name KODI_ADDON_AUDIODECODER_TRACK_EXT

Macro to get file extension to track supported files.

This macro can be used if tracks="true" is set in addon.xml, in this case the addon.xml field name="???" is used to identify stream. Which must then also be used for here.

◆ KODI_ADDON_AUDIODECODER_TRACK_EXT

#define KODI_ADDON_AUDIODECODER_TRACK_EXT   "_adecstrm"

Identifier which is attached to stream files and with defined names in addon.xml (name="???") if addon supports "tracks" (set in addon.xml tracks="true").

Note
This macro is largely unnecessary to use directly on the addon, addon can use the KODI_ADDON_AUDIODECODER_GET_TRACK_EXT around its associated name.