Fixed the errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7133 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3ba52e2a7d
commit
b0e78a4674
2 changed files with 2 additions and 13 deletions
|
@ -62,6 +62,7 @@
|
|||
extern bool pcm_rec_screen(void);
|
||||
#endif
|
||||
#if CONFIG_HWCODEC == MASNONE
|
||||
#include "pcmbuf.h"
|
||||
#include "pcm_playback.h"
|
||||
#endif
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue