From 457e138fffa060e6199c53ec929cd97dfb42464c Mon Sep 17 00:00:00 2001 From: Michiel Van Der Kolk Date: Sun, 20 Mar 2005 23:05:44 +0000 Subject: Added new pcm playback api to the plugin api git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6217 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'apps/plugin.h') 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 @@ #endif /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 36 +#define PLUGIN_API_VERSION 37 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -317,6 +317,10 @@ struct plugin_api { #if CONFIG_KEYPAD == IRIVER_H100_PAD bool (*button_hold)(void); #endif + void (*pcm_play_data)(const unsigned char *start, int size, + void (*get_more)(unsigned char** start, long*size)); + void (*pcm_play_stop)(void); + bool (*pcm_is_playing)(void); }; /* defined by the plugin loader (plugin.c) */ -- cgit v1.2.3