From 5a8f5b833093961096c7787ed46a18b4d69b554c Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Mon, 9 May 2011 21:19:11 +0000 Subject: 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 --- apps/plugin.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'apps/plugin.h') 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 -- cgit v1.1