diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugin.c | 2 | ||||
-rw-r--r-- | apps/plugin.h | 2 |
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 = { | |||
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_set_frequency, | 277 | 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 { | |||
318 | #if CONFIG_KEYPAD == IRIVER_H100_PAD | 318 | #if CONFIG_KEYPAD == IRIVER_H100_PAD |
319 | bool (*button_hold)(void); | 319 | bool (*button_hold)(void); |
320 | #endif | 320 | #endif |
321 | #if (CONFIG_HWCODEC == MASNONE) | 321 | #if (CONFIG_HWCODEC == MASNONE) && !defined(SIMULATOR) |
322 | void (*pcm_play_data)(const unsigned char *start, int size, | 322 | void (*pcm_play_data)(const unsigned char *start, int size, |
323 | void (*get_more)(unsigned char** start, long*size)); | 323 | void (*get_more)(unsigned char** start, long*size)); |
324 | void (*pcm_play_stop)(void); | 324 | void (*pcm_play_stop)(void); |