summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c4
1 files changed, 4 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)