diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2002-05-05 10:32:20 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2002-05-05 10:32:20 +0000 |
| commit | 0343834852edfdcbdfc8fc44c16e16a3fe525382 (patch) | |
| tree | d0113a60495c2cb96276bee908b809e9a57b4037 /firmware | |
| parent | fa1bce237a707c9447e0a660a4ea7eb22521c510 (diff) | |
| download | rockbox-0343834852edfdcbdfc8fc44c16e16a3fe525382.zip rockbox-0343834852edfdcbdfc8fc44c16e16a3fe525382.tar.gz rockbox-0343834852edfdcbdfc8fc44c16e16a3fe525382.tar.bz2 rockbox-0343834852edfdcbdfc8fc44c16e16a3fe525382.tar.xz | |
include file.h (important for the x11 sim to work) and types.h (as that
already has a bool type and TRUE/FALSE defines). Also now includes its
own new id3.h for the struct definition.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@431 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
| -rw-r--r-- | firmware/id3.c | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/firmware/id3.c b/firmware/id3.c index 5761380..74f1d28 100644 --- a/firmware/id3.c +++ b/firmware/id3.c @@ -28,25 +28,10 @@ #include <string.h> #include <errno.h> #include <fcntl.h> +#include <file.h> +#include <types.h> -struct mp3entry { - char *path; - char *title; - char *artist; - char *album; - int bitrate; - int frequency; - int id3v2len; - int id3v1len; - int filesize; /* in bytes */ - int length; /* song length */ -}; - -typedef struct mp3entry mp3entry; - -typedef unsigned char bool; -#define TRUE 1 -#define FALSE 0 +#include "id3.h" /* Some utility macros used in getsonglength() */ #define CHECKSYNC(x) (((x >> 21) & 0x07FF) == 0x7FF) |