summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-03-20 23:05:44 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-03-20 23:05:44 +0000
commit457e138fffa060e6199c53ec929cd97dfb42464c (patch)
tree9ecde4be891dd964cb61c7b84788b22b99defbe3 /apps/plugin.h
parent3b8dcf5ebbc1e8f53ff17eb769e553cf01a63655 (diff)
downloadrockbox-457e138fffa060e6199c53ec929cd97dfb42464c.tar.gz
rockbox-457e138fffa060e6199c53ec929cd97dfb42464c.zip
Added new pcm playback api to the plugin api
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6217 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 1cdbd61d65..496a69a01e 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -69,7 +69,7 @@
69#endif 69#endif
70 70
71/* increase this every time the api struct changes */ 71/* increase this every time the api struct changes */
72#define PLUGIN_API_VERSION 36 72#define PLUGIN_API_VERSION 37
73 73
74/* update this to latest version if a change to the api struct breaks 74/* update this to latest version if a change to the api struct breaks
75 backwards compatibility (and please take the opportunity to sort in any 75 backwards compatibility (and please take the opportunity to sort in any
@@ -317,6 +317,10 @@ struct plugin_api {
317#if CONFIG_KEYPAD == IRIVER_H100_PAD 317#if CONFIG_KEYPAD == IRIVER_H100_PAD
318 bool (*button_hold)(void); 318 bool (*button_hold)(void);
319#endif 319#endif
320 void (*pcm_play_data)(const unsigned char *start, int size,
321 void (*get_more)(unsigned char** start, long*size));
322 void (*pcm_play_stop)(void);
323 bool (*pcm_is_playing)(void);
320}; 324};
321 325
322/* defined by the plugin loader (plugin.c) */ 326/* defined by the plugin loader (plugin.c) */