summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-05-09 21:19:11 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-05-09 21:19:11 +0000
commit5a8f5b833093961096c7787ed46a18b4d69b554c (patch)
tree2517f7513c407454498fc5d9b000544312dd3fc3 /apps/plugin.h
parent12e8e432368a300517a789bd6045502964ad95cf (diff)
downloadrockbox-5a8f5b833093961096c7787ed46a18b4d69b554c.zip
rockbox-5a8f5b833093961096c7787ed46a18b4d69b554c.tar.gz
rockbox-5a8f5b833093961096c7787ed46a18b4d69b554c.tar.bz2
rockbox-5a8f5b833093961096c7787ed46a18b4d69b554c.tar.xz
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.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index cdf34e2..f15c626 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -145,12 +145,12 @@ void* plugin_get_buffer(size_t *buffer_size);
#define PLUGIN_MAGIC 0x526F634B /* RocK */
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 204
+#define PLUGIN_API_VERSION 205
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
new function which are "waiting" at the end of the function table) */
-#define PLUGIN_MIN_API_VERSION 204
+#define PLUGIN_MIN_API_VERSION 205
/* plugin return codes */
/* internal returns start at 0x100 to make exit(1..255) work */
@@ -873,7 +873,6 @@ struct plugin_api {
ssize_t (*bufcuttail)(int handle_id, size_t size);
ssize_t (*buf_handle_offset)(int handle_id);
- void (*buf_request_buffer_handle)(int handle_id);
void (*buf_set_base_handle)(int handle_id);
size_t (*buf_used)(void);
#endif