From cc6f37b8d8aeaeeacdac0babdae1abeee846d0d1 Mon Sep 17 00:00:00 2001 From: Hristo Kovachev Date: Sat, 18 Feb 2006 20:51:34 +0000 Subject: "Next/Previous jpeg from within the JPEG viewer" addition by Alexander Spyridakis, modified a bit by me Also tries to use the plugin buffer instead of the audio buffer on the platforms with more than 130kb plugin buffer size (thus not stopping the music playback). If the free buffer from the plugin buffer is not enough, asks for stopping playback. Needs a little more work, but seems stable as it is. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8728 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 286ca40..7c35902 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -45,6 +45,7 @@ #include "mpeg.h" #include "audio.h" #include "mp3_playback.h" +#include "tree.h" #ifdef RB_PROFILE #include "profile.h" #endif @@ -97,7 +98,7 @@ #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 7 +#define PLUGIN_API_VERSION 8 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -466,7 +467,9 @@ struct plugin_api { /* new stuff at the end, sort into place next time the API gets incompatible */ - + + struct tree_context* (*tree_get_context)(void); + }; /* plugin header */ -- cgit v1.1