From 5823b05feb29a59510c32a9c28ca18b50b9b6399 Mon Sep 17 00:00:00 2001 From: manuel Date: Sun, 1 May 2016 18:06:14 +0200 Subject: sync with upstream --- xbmc/filesystem/IFileTypes.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'xbmc/filesystem/IFileTypes.h') diff --git a/xbmc/filesystem/IFileTypes.h b/xbmc/filesystem/IFileTypes.h index d2d77eb..4c6dd98 100644 --- a/xbmc/filesystem/IFileTypes.h +++ b/xbmc/filesystem/IFileTypes.h @@ -60,15 +60,16 @@ struct SCacheStatus uint64_t forward; /**< number of bytes cached forward of current position */ unsigned maxrate; /**< maximum number of bytes per second cache is allowed to fill */ unsigned currate; /**< average read rate from source file since last position change */ - bool full; /**< is the cache full */ + float level; /**< cache level (0.0 - 1.0) */ }; typedef enum { - IOCTRL_NATIVE = 1, /**< SNativeIoControl structure, containing what should be passed to native ioctrl */ - IOCTRL_SEEK_POSSIBLE = 2, /**< return 0 if known not to work, 1 if it should work */ - IOCTRL_CACHE_STATUS = 3, /**< SCacheStatus structure */ - IOCTRL_CACHE_SETRATE = 4, /**< unsigned int with speed limit for caching in bytes per second */ - IOCTRL_SET_CACHE = 8, /**