summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugin.c4
-rw-r--r--apps/plugin.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 84d030e1de..b4239bb8d9 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -44,7 +44,7 @@
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#if (CONFIG_HWCODEC == MASNONE) && !defined(SIMULATOR)
48#include "pcm_playback.h" 48#include "pcm_playback.h"
49#endif 49#endif
50 50
@@ -271,7 +271,7 @@ static const struct plugin_api rockbox_api = {
271#if CONFIG_KEYPAD == IRIVER_H100_PAD 271#if CONFIG_KEYPAD == IRIVER_H100_PAD
272 button_hold, 272 button_hold,
273#endif 273#endif
274#if (CONFIG_HWCODEC == MASNONE) 274#if (CONFIG_HWCODEC == MASNONE) && !defined(SIMULATOR)
275 pcm_play_data, 275 pcm_play_data,
276 pcm_play_stop, 276 pcm_play_stop,
277 pcm_is_playing, 277 pcm_is_playing,
diff --git a/apps/plugin.h b/apps/plugin.h
index 88b9953913..3755018d6d 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -317,7 +317,7 @@ 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#if (CONFIG_HWCODEC == MASNONE) && !defined(SIMULATOR)
321 void (*pcm_play_data)(const unsigned char *start, int size, 321 void (*pcm_play_data)(const unsigned char *start, int size,
322 void (*get_more)(unsigned char** start, long*size)); 322 void (*get_more)(unsigned char** start, long*size));
323 void (*pcm_play_stop)(void); 323 void (*pcm_play_stop)(void);