diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-05-09 21:19:11 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-05-09 21:19:11 +0000 |
commit | 5a8f5b833093961096c7787ed46a18b4d69b554c (patch) | |
tree | 2517f7513c407454498fc5d9b000544312dd3fc3 /apps/plugin.h | |
parent | 12e8e432368a300517a789bd6045502964ad95cf (diff) | |
download | rockbox-5a8f5b833093961096c7787ed46a18b4d69b554c.tar.gz rockbox-5a8f5b833093961096c7787ed46a18b4d69b554c.zip |
Provide a reasonable fix for FS#12093 - Playback hanging after codec/playback rework. Also, get rid of an impossible buffering case (BUF_USED is always less than buffer_len) and remove a buffering API that is not used anywhere and shouldn't be needed (plugin API has to be incompatible).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29849 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index cdf34e28b1..f15c626667 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -145,12 +145,12 @@ void* plugin_get_buffer(size_t *buffer_size); | |||
145 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 145 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
146 | 146 | ||
147 | /* increase this every time the api struct changes */ | 147 | /* increase this every time the api struct changes */ |
148 | #define PLUGIN_API_VERSION 204 | 148 | #define PLUGIN_API_VERSION 205 |
149 | 149 | ||
150 | /* update this to latest version if a change to the api struct breaks | 150 | /* update this to latest version if a change to the api struct breaks |
151 | backwards compatibility (and please take the opportunity to sort in any | 151 | backwards compatibility (and please take the opportunity to sort in any |
152 | new function which are "waiting" at the end of the function table) */ | 152 | new function which are "waiting" at the end of the function table) */ |
153 | #define PLUGIN_MIN_API_VERSION 204 | 153 | #define PLUGIN_MIN_API_VERSION 205 |
154 | 154 | ||
155 | /* plugin return codes */ | 155 | /* plugin return codes */ |
156 | /* internal returns start at 0x100 to make exit(1..255) work */ | 156 | /* internal returns start at 0x100 to make exit(1..255) work */ |
@@ -873,7 +873,6 @@ struct plugin_api { | |||
873 | ssize_t (*bufcuttail)(int handle_id, size_t size); | 873 | ssize_t (*bufcuttail)(int handle_id, size_t size); |
874 | 874 | ||
875 | ssize_t (*buf_handle_offset)(int handle_id); | 875 | ssize_t (*buf_handle_offset)(int handle_id); |
876 | void (*buf_request_buffer_handle)(int handle_id); | ||
877 | void (*buf_set_base_handle)(int handle_id); | 876 | void (*buf_set_base_handle)(int handle_id); |
878 | size_t (*buf_used)(void); | 877 | size_t (*buf_used)(void); |
879 | #endif | 878 | #endif |