summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-03-21 00:24:31 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-03-21 00:24:31 +0000
commit9bc622603c600f31bbc4fdf4ec43cbcc37f42a75 (patch)
treed8d8a19d84f08d1d09e605e7f53df7d1e51771b5 /apps
parent671235eeb2c036332d0c89cd17cacbf2c0df8d5f (diff)
downloadrockbox-9bc622603c600f31bbc4fdf4ec43cbcc37f42a75.tar.gz
rockbox-9bc622603c600f31bbc4fdf4ec43cbcc37f42a75.zip
oops.
teaches me *again* to *not* commit code even if it looks entirely correct without testing archos builds :/ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6220 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.c4
-rw-r--r--apps/plugin.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index a3c868514b..84d030e1de 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -44,7 +44,9 @@
44#include "mp3data.h" 44#include "mp3data.h"
45#include "powermgmt.h" 45#include "powermgmt.h"
46#include "system.h" 46#include "system.h"
47#if (CONFIG_HWCODEC == MASNONE)
47#include "pcm_playback.h" 48#include "pcm_playback.h"
49#endif
48 50
49#ifdef HAVE_LCD_BITMAP 51#ifdef HAVE_LCD_BITMAP
50#include "peakmeter.h" 52#include "peakmeter.h"
@@ -269,9 +271,11 @@ static const struct plugin_api rockbox_api = {
269#if CONFIG_KEYPAD == IRIVER_H100_PAD 271#if CONFIG_KEYPAD == IRIVER_H100_PAD
270 button_hold, 272 button_hold,
271#endif 273#endif
274#if (CONFIG_HWCODEC == MASNONE)
272 pcm_play_data, 275 pcm_play_data,
273 pcm_play_stop, 276 pcm_play_stop,
274 pcm_is_playing, 277 pcm_is_playing,
278#endif
275}; 279};
276 280
277int plugin_load(const char* plugin, void* parameter) 281int plugin_load(const char* plugin, void* parameter)
diff --git a/apps/plugin.h b/apps/plugin.h
index 496a69a01e..88b9953913 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -317,10 +317,12 @@ 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#if (CONFIG_HWCODEC == MASNONE)
320 void (*pcm_play_data)(const unsigned char *start, int size, 321 void (*pcm_play_data)(const unsigned char *start, int size,
321 void (*get_more)(unsigned char** start, long*size)); 322 void (*get_more)(unsigned char** start, long*size));
322 void (*pcm_play_stop)(void); 323 void (*pcm_play_stop)(void);
323 bool (*pcm_is_playing)(void); 324 bool (*pcm_is_playing)(void);
325#endif
324}; 326};
325 327
326/* defined by the plugin loader (plugin.c) */ 328/* defined by the plugin loader (plugin.c) */