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 a3c8685..84d030e 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -44,7 +44,9 @@
#include "mp3data.h"
#include "powermgmt.h"
#include "system.h"
+#if (CONFIG_HWCODEC == MASNONE)
#include "pcm_playback.h"
+#endif
#ifdef HAVE_LCD_BITMAP
#include "peakmeter.h"
@@ -269,9 +271,11 @@ static const struct plugin_api rockbox_api = {
#if CONFIG_KEYPAD == IRIVER_H100_PAD
button_hold,
#endif
+#if (CONFIG_HWCODEC == MASNONE)
pcm_play_data,
pcm_play_stop,
pcm_is_playing,
+#endif
};
int plugin_load(const char* plugin, void* parameter)