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()
uint32_t kodi::vfs::CacheStatus::GetCurrentRate |
( |
| ) |
|
|
inline |
Get number of bytes per second for 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.
◆ GetLowRate()
uint32_t kodi::vfs::CacheStatus::GetLowRate |
( |
| ) |
|
|
inline |
Get number of bytes per second for low speed rate.
◆ GetMaxRate()
uint32_t kodi::vfs::CacheStatus::GetMaxRate |
( |
| ) |
|
|
inline |
Set maximum number of bytes per second cache is allowed to fill.
◆ SetCurrentRate()
void kodi::vfs::CacheStatus::SetCurrentRate |
( |
uint32_t | currate | ) |
|
|
inline |
Set number of bytes per second for 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.
◆ SetLowRate()
void kodi::vfs::CacheStatus::SetLowRate |
( |
uint32_t | lowrate | ) |
|
|
inline |
Set number of bytes per second for low speed rate.
◆ SetMaxRate()
void kodi::vfs::CacheStatus::SetMaxRate |
( |
uint32_t | maxrate | ) |
|
|
inline |
Set maximum number of bytes per second cache is allowed to fill.