summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-07-13 13:13:10 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-07-13 13:13:10 +0000
commitb0e78a46745dafb6d582b1e2b94043be9bb76442 (patch)
tree6226cffd13429b61738e84b75689ff3a3ce30966 /firmware
parent3ba52e2a7d46b9aee5fec324ddd977c94eef7965 (diff)
downloadrockbox-b0e78a46745dafb6d582b1e2b94043be9bb76442.tar.gz
rockbox-b0e78a46745dafb6d582b1e2b94043be9bb76442.zip
Fixed the errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7133 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/mp3data.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/firmware/mp3data.c b/firmware/mp3data.c
index 087bcf5030..41265f96ea 100644
--- a/firmware/mp3data.c
+++ b/firmware/mp3data.c
@@ -37,11 +37,6 @@
#include "file.h"
#include "buffer.h"
-#if defined(IRIVER_H100) && !defined(SIMULATOR)
-#include "pcm_playback.h"
-#include "kernel.h"
-#endif
-
#define DEBUG_VERBOSE
#define BYTES2INT(b1,b2,b3,b4) (((long)(b1 & 0xFF) << (3*8)) | \
@@ -262,14 +257,7 @@ static unsigned long __find_next_frame(int fd, long *offset, long max_offset,
}
static int fileread(int fd, unsigned char *c)
-{
-#if defined(IRIVER_H100) && !defined(SIMULATOR)
- /* We don't want to eat all cpu power. Maybe better way to do this
- should be implemented. */
- if (pcm_is_lowdata())
- yield();
-#endif
-
+{
return read(fd, c, 1);
}