diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2003-05-09 16:01:21 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2003-05-09 16:01:21 +0000 |
commit | 20d031f9c70109dae2ea320a4c7264e1e489d8eb (patch) | |
tree | 4459bf0a6cbba8e557b60397acfff6f5be3bda10 /apps/onplay.c | |
parent | af2b7adefe31839bebbc407083d980a112e7242c (diff) | |
download | rockbox-20d031f9c70109dae2ea320a4c7264e1e489d8eb.tar.gz rockbox-20d031f9c70109dae2ea320a4c7264e1e489d8eb.zip |
Configurable dir browser file buffer size. No more 400-file limit. No more whining.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3661 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/onplay.c')
-rw-r--r-- | apps/onplay.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index 14e3cdd7a7..557c457bbf 100644 --- a/apps/onplay.c +++ b/apps/onplay.c @@ -37,6 +37,7 @@ #include "id3.h" #include "screens.h" #include "tree.h" +#include "buffer.h" static char* selected_file = NULL; static bool reload_dir = false; @@ -113,10 +114,6 @@ static void xingupdate(int percent) } -/* defined in linker script */ -extern unsigned char mp3buf[]; -extern unsigned char mp3end[]; - static int insert_data_in_file(char *fname, int fpos, char *buf, int num_bytes) { int readlen; |