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 :
◆ SetForward()
void SetForward |
( |
uint64_t | forward | ) |
|
|
inline |
Set number of bytes cached forward of current position.
◆ GetForward()
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()
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()
Get number of bytes per second for low speed rate.