summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2005-01-30 14:11:50 +0000
committerJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2005-01-30 14:11:50 +0000
commit98a8132155a9c390395c3d1f570883da3e3f560d (patch)
treefbd3edb73084af28570ea4c40011916bffdafbcd /firmware/export
parent9d42e2b39632047b0ba272c03ec154b3931c43de (diff)
downloadrockbox-98a8132155a9c390395c3d1f570883da3e3f560d.tar.gz
rockbox-98a8132155a9c390395c3d1f570883da3e3f560d.zip
long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5712 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/mp3data.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/export/mp3data.h b/firmware/export/mp3data.h
index 833a4c9dfa..c031cc20ce 100644
--- a/firmware/export/mp3data.h
+++ b/firmware/export/mp3data.h
@@ -43,9 +43,9 @@ struct mp3info {
43 bool is_xing_vbr; /* True if the VBR header is of Xing type */ 43 bool is_xing_vbr; /* True if the VBR header is of Xing type */
44 bool is_vbri_vbr; /* True if the VBR header is of VBRI type */ 44 bool is_vbri_vbr; /* True if the VBR header is of VBRI type */
45 unsigned char toc[100]; 45 unsigned char toc[100];
46 int frame_count; /* Number of frames in the file (if VBR) */ 46 long frame_count; /* Number of frames in the file (if VBR) */
47 int byte_count; /* File size in bytes */ 47 long byte_count; /* File size in bytes */
48 int file_time; /* Length of the whole file in milliseconds */ 48 long file_time; /* Length of the whole file in milliseconds */
49 int vbr_header_pos; 49 int vbr_header_pos;
50}; 50};
51 51
@@ -55,8 +55,8 @@ struct mp3info {
55#define VBR_TOC_FLAG 0x04 55#define VBR_TOC_FLAG 0x04
56 56
57 57
58unsigned long find_next_frame(int fd, int *offset, int max_offset, unsigned long last_header); 58unsigned long find_next_frame(int fd, long *offset, long max_offset, unsigned long last_header);
59unsigned long mem_find_next_frame(int startpos, int *offset, int max_offset, 59unsigned long mem_find_next_frame(int startpos, long *offset, long max_offset,
60 unsigned long last_header); 60 unsigned long last_header);
61int get_mp3file_info(int fd, struct mp3info *info); 61int get_mp3file_info(int fd, struct mp3info *info);
62int count_mp3_frames(int fd, int startpos, int filesize, 62int count_mp3_frames(int fd, int startpos, int filesize,