summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-03-28 00:29:07 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-03-28 00:29:07 +0000
commit6c08b93f6f5c7eb02b542cd48a98c5077776b77d (patch)
tree483568d8c86f3b890761cf50c7390b0d710917ef
parenta87188e8d4af1ead1334ce2f651e375e60bc5f71 (diff)
I've fixed this before, i know i did! ;p
(xshocks patch undid my earlier one) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6228 a1c6a512-1295-4272-9138-f99709370657
-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);