Cache information status
Used on kodi::vfs::CFile::IoControlGetCacheStatus() to get running cache status of proccessed 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 |
( |
unsigned int |
maxrate | ) |
|
|
inline |
Set maximum number of bytes per second cache is allowed to fill.
◆ GetMaxRate()
| unsigned int GetMaxRate |
( |
| ) |
|
|
inline |
Set maximum number of bytes per second cache is allowed to fill.
◆ SetCurrentRate()
| void SetCurrentRate |
( |
unsigned int |
currate | ) |
|
|
inline |
Set average read rate from source file since last position change.
◆ GetCurrentRate()
| unsigned int GetCurrentRate |
( |
| ) |
|
|
inline |
Get average read rate from source file since last position change.
◆ SetLowspeed()
| void SetLowspeed |
( |
bool |
lowspeed | ) |
|
|
inline |
Set cache low speed condition detected.
◆ GetLowspeed()
Get cache low speed condition detected.