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 ecd5025..d21e8ac 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 30ecfc7..4e5a380 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); |