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

Macros

#define STREAM_PLAYSPEED_PAUSE   0
 Speed value to pause stream in playback.
 
#define STREAM_PLAYSPEED_NORMAL   1000
 Speed value to perform stream playback at normal speed.
 
#define STREAM_TIME_BASE   1000000
 Time base represented as integer.
 
#define STREAM_NOPTS_VALUE   0xFFF0000000000000
 Undefined timestamp value.
 
#define STREAM_TIME_TO_MSEC(x)
 
#define STREAM_SEC_TO_TIME(x)
 
#define STREAM_MSEC_TO_TIME(x)
 

Macro Definition Documentation

◆ STREAM_MSEC_TO_TIME

#define STREAM_MSEC_TO_TIME ( x)
Value:
((double)(x)*STREAM_TIME_BASE / 1000)
#define STREAM_TIME_BASE
Time base represented as integer.
Definition timing_constants.h:27

◆ STREAM_SEC_TO_TIME

#define STREAM_SEC_TO_TIME ( x)
Value:
((double)(x)*STREAM_TIME_BASE)

◆ STREAM_TIME_TO_MSEC

#define STREAM_TIME_TO_MSEC ( x)
Value:
((int)((double)(x)*1000 / STREAM_TIME_BASE))
unsigned int(ATTR_APIENTRYP PFN_KODI_ADDON_VISUALIZATION_GET_PRESETS_V1)(const KODI_ADDON_VISUALIZATION_HDL hdl)
Definition kodi-dev-kit/include/kodi/c-api/addon-instance/visualization.h:73