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

Detailed Description

Cache information status
Used on kodi::vfs::CFile::IoControlGetCacheStatus() to get running cache status of processed stream.

The following table contains values that can be set with class CacheStatus :

Name Type Set call Get call
Number of bytes cached uint64_t SetForward GetForward
Maximum number of bytes per second uint32_t SetMaxRate GetMaxRate
Average read rate from source file uint32_t SetCurrentRate GetCurrentRate
Cache low speed rate detected uint32_t SetLowRate GetLowRate

Topics

 Value Help
 

Function Documentation

◆ SetForward()

void SetForward ( uint64_t forward)
inline

Set number of bytes cached forward of current position.

◆ GetForward()

uint64_t GetForward ( )
inline

Get number of bytes cached forward of current position.

◆ SetMaxRate()

void SetMaxRate ( uint32_t maxrate)
inline

Set maximum number of bytes per second cache is allowed to fill.

◆ GetMaxRate()

uint32_t GetMaxRate ( )
inline

Set maximum number of bytes per second cache is allowed to fill.

◆ SetCurrentRate()

void SetCurrentRate ( uint32_t currate)
inline

Set number of bytes per second for average read rate from source file since last position change.

◆ GetCurrentRate()

uint32_t GetCurrentRate ( )
inline

Get number of bytes per second for average read rate from source file since last position change.

◆ SetLowRate()

void SetLowRate ( uint32_t lowrate)
inline

Set number of bytes per second for low speed rate.

◆ GetLowRate()

uint32_t GetLowRate ( )
inline

Get number of bytes per second for low speed rate.