diff options
| author | Miika Pekkarinen <miipekk@ihme.org> | 2006-11-10 08:03:33 +0000 |
|---|---|---|
| committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-11-10 08:03:33 +0000 |
| commit | 0dd7ea2d712944b21ede9f57bebd1009b03932e6 (patch) | |
| tree | dc6065067aa862cc6a71c206b67554270fe507bd /firmware/mp3data.c | |
| parent | ae221f140231cb2fd4833443d7810dfce03c606a (diff) | |
| download | rockbox-0dd7ea2d712944b21ede9f57bebd1009b03932e6.zip rockbox-0dd7ea2d712944b21ede9f57bebd1009b03932e6.tar.gz rockbox-0dd7ea2d712944b21ede9f57bebd1009b03932e6.tar.bz2 rockbox-0dd7ea2d712944b21ede9f57bebd1009b03932e6.tar.xz | |
Support building tagcache db natively on PC using the core of the
Rockbox tagcache database engine. Only host endian support at the
moment and no command line parameters. Mainly for developers for
debugging at the moment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11497 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/mp3data.c')
| -rw-r--r-- | firmware/mp3data.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/mp3data.c b/firmware/mp3data.c index 0710090..49b95f2 100644 --- a/firmware/mp3data.c +++ b/firmware/mp3data.c @@ -242,6 +242,7 @@ unsigned long find_next_frame(int fd, long *offset, long max_offset, unsigned lo return __find_next_frame(fd, offset, max_offset, last_header, fileread); } +#ifndef __PCTOOL__ static int fnf_read_index; static int fnf_buf_len; @@ -335,6 +336,7 @@ unsigned long mem_find_next_frame(int startpos, long *offset, long max_offset, return __find_next_frame(0, offset, max_offset, last_header, mem_getbyte); } +#endif int get_mp3file_info(int fd, struct mp3info *info) { @@ -543,6 +545,7 @@ static void long2bytes(unsigned char *buf, long val) buf[3] = val & 0xff; } +#ifndef __PCTOOL__ int count_mp3_frames(int fd, int startpos, int filesize, void (*progressfunc)(int)) { @@ -762,3 +765,5 @@ int create_xing_header(int fd, long startpos, long filesize, return info.frame_size; } + +#endif |