Cache information status
Used on kodi::vfs::CFile::IoControlGetCacheStatus() to get running cache status of processed stream.
More...
Cache information status
Used on kodi::vfs::CFile::IoControlGetCacheStatus() to get running cache status of processed stream.
@ingroup cpp_kodi_vfs_Defs_CacheStatus
The following table contains values that can be set with class CacheStatus :
◆ GetCurrentRate()
unsigned int kodi::vfs::CacheStatus::GetCurrentRate |
( |
| ) |
|
|
inline |
Get average read rate from source file since last position change.
◆ GetForward()
uint64_t kodi::vfs::CacheStatus::GetForward |
( |
| ) |
|
|
inline |
Get number of bytes cached forward of current position.
◆ GetLowspeed()
bool kodi::vfs::CacheStatus::GetLowspeed |
( |
| ) |
|
|
inline |
Get cache low speed condition detected.
◆ GetMaxRate()
unsigned int kodi::vfs::CacheStatus::GetMaxRate |
( |
| ) |
|
|
inline |
Set maximum number of bytes per second cache is allowed to fill.
◆ SetCurrentRate()
void kodi::vfs::CacheStatus::SetCurrentRate |
( |
unsigned int |
currate | ) |
|
|
inline |
Set average read rate from source file since last position change.
◆ SetForward()
void kodi::vfs::CacheStatus::SetForward |
( |
uint64_t |
forward | ) |
|
|
inline |
Set number of bytes cached forward of current position.
◆ SetLowspeed()
void kodi::vfs::CacheStatus::SetLowspeed |
( |
bool |
lowspeed | ) |
|
|
inline |
Set cache low speed condition detected.
◆ SetMaxRate()
void kodi::vfs::CacheStatus::SetMaxRate |
( |
unsigned int |
maxrate | ) |
|
|
inline |
Set maximum number of bytes per second cache is allowed to fill.