summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-03-21 11:54:59 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-03-21 11:54:59 +0000
commit9e173d18ef82bcf01630588d230b27c6742f9b43 (patch)
tree2e22d2dd438b65e4e8e1e3148a5695e8e0407f7a
parent9bc622603c600f31bbc4fdf4ec43cbcc37f42a75 (diff)
downloadrockbox-9e173d18ef82bcf01630588d230b27c6742f9b43.zip
rockbox-9e173d18ef82bcf01630588d230b27c6742f9b43.tar.gz
rockbox-9e173d18ef82bcf01630588d230b27c6742f9b43.tar.bz2
rockbox-9e173d18ef82bcf01630588d230b27c6742f9b43.tar.xz
Temporary fix for the broken sim build.. till someone implements sound
on them... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6221 a1c6a512-1295-4272-9138-f99709370657
-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 84d030e..b4239bb 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -44,7 +44,7 @@
#include "mp3data.h"
#include "powermgmt.h"
#include "system.h"
-#if (CONFIG_HWCODEC == MASNONE)
+#if (CONFIG_HWCODEC == MASNONE) && !defined(SIMULATOR)
#include "pcm_playback.h"
#endif
@@ -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_is_playing,
diff --git a/apps/plugin.h b/apps/plugin.h
index 88b9953..3755018 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -317,7 +317,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);