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
This commit is contained in:
parent
671235eeb2
commit
9bc622603c
2 changed files with 6 additions and 0 deletions
|
@ -44,7 +44,9 @@
|
||||||
#include "mp3data.h"
|
#include "mp3data.h"
|
||||||
#include "powermgmt.h"
|
#include "powermgmt.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#if (CONFIG_HWCODEC == MASNONE)
|
||||||
#include "pcm_playback.h"
|
#include "pcm_playback.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
#ifdef HAVE_LCD_BITMAP
|
||||||
#include "peakmeter.h"
|
#include "peakmeter.h"
|
||||||
|
@ -269,9 +271,11 @@ static const struct plugin_api rockbox_api = {
|
||||||
#if CONFIG_KEYPAD == IRIVER_H100_PAD
|
#if CONFIG_KEYPAD == IRIVER_H100_PAD
|
||||||
button_hold,
|
button_hold,
|
||||||
#endif
|
#endif
|
||||||
|
#if (CONFIG_HWCODEC == MASNONE)
|
||||||
pcm_play_data,
|
pcm_play_data,
|
||||||
pcm_play_stop,
|
pcm_play_stop,
|
||||||
pcm_is_playing,
|
pcm_is_playing,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
int plugin_load(const char* plugin, void* parameter)
|
int plugin_load(const char* plugin, void* parameter)
|
||||||
|
|
|
@ -317,10 +317,12 @@ struct plugin_api {
|
||||||
#if CONFIG_KEYPAD == IRIVER_H100_PAD
|
#if CONFIG_KEYPAD == IRIVER_H100_PAD
|
||||||
bool (*button_hold)(void);
|
bool (*button_hold)(void);
|
||||||
#endif
|
#endif
|
||||||
|
#if (CONFIG_HWCODEC == MASNONE)
|
||||||
void (*pcm_play_data)(const unsigned char *start, int size,
|
void (*pcm_play_data)(const unsigned char *start, int size,
|
||||||
void (*get_more)(unsigned char** start, long*size));
|
void (*get_more)(unsigned char** start, long*size));
|
||||||
void (*pcm_play_stop)(void);
|
void (*pcm_play_stop)(void);
|
||||||
bool (*pcm_is_playing)(void);
|
bool (*pcm_is_playing)(void);
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
/* defined by the plugin loader (plugin.c) */
|
/* defined by the plugin loader (plugin.c) */
|
||||||
|
|
Loading…
Reference in a new issue