summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugin.c2
-rw-r--r--apps/plugin.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index ecd5025e2c..d21e8acf60 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -271,7 +271,7 @@ static const struct plugin_api rockbox_api = {
#if CONFIG_KEYPAD == IRIVER_H100_PAD
button_hold,
#endif
-#if (CONFIG_HWCODEC == MASNONE)
+#if (CONFIG_HWCODEC == MASNONE) && !defined(SIMULATOR)
pcm_play_data,
pcm_play_stop,
pcm_set_frequency,
diff --git a/apps/plugin.h b/apps/plugin.h
index 30ecfc7963..4e5a380f47 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -318,7 +318,7 @@ struct plugin_api {
#if CONFIG_KEYPAD == IRIVER_H100_PAD
bool (*button_hold)(void);
#endif
-#if (CONFIG_HWCODEC == MASNONE)
+#if (CONFIG_HWCODEC == MASNONE) && !defined(SIMULATOR)
void (*pcm_play_data)(const unsigned char *start, int size,
void (*get_more)(unsigned char** start, long*size));
void (*pcm_play_stop)(void);