diff options
Diffstat (limited to 'stream/stream.h')
-rw-r--r-- | stream/stream.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/stream/stream.h b/stream/stream.h index e6964c2020..21e497e563 100644 --- a/stream/stream.h +++ b/stream/stream.h @@ -67,11 +67,8 @@ enum stream_ctrl { STREAM_CTRL_GET_SIZE = 1, // Cache - STREAM_CTRL_GET_CACHE_SIZE, + STREAM_CTRL_GET_CACHE_INFO, STREAM_CTRL_SET_CACHE_SIZE, - STREAM_CTRL_GET_CACHE_FILL, - STREAM_CTRL_GET_CACHE_IDLE, - STREAM_CTRL_GET_CACHE_SPEED, STREAM_CTRL_SET_READAHEAD, // stream_memory.c @@ -122,6 +119,14 @@ enum stream_ctrl { STREAM_CTRL_SET_CURRENT_TITLE, }; +// for STREAM_CTRL_GET_CACHE_INFO +struct stream_cache_info { + int64_t size; + int64_t fill; + bool idle; + int64_t speed; +}; + struct stream_lang_req { int type; // STREAM_AUDIO, STREAM_SUB int id; |